Bug 156658 Error occour when previewing a text with a style set word-spacing 20cm in PDF
Description: Error occour when previewing a text with a style set word-spacing 20cm Steps to reproduce: 1.new a text and input some text like "actuate great" 2.new a style and set word-spacing 20cm then apply it to the text 3.Preview in PDF Expected: No error occour Actual: Error occour Error log: org.eclipse.birt.report.service.api.ReportServiceException: Error happened while running the report
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/PDFTextLM.java
private int rightBorder; 
		private int rightPadding;
		private int topBorder;
		private int topPadding;
		private int bottomBorder;
		private int bottomPadding;
		
		public Compositor()
		{
			this.content = textContent;
			cg = new ChunkGenerator(content);
			this.isInline = PropertyUtil.isInlineElement(content);
			this.maxLineSpace = lineLM.getMaxAvaWidth( );			
			IStyle style = content.getComputedStyle();
			letterSpacing = getDimensionValue(style
					.getProperty(StyleConstants.STYLE_LETTER_SPACING));
			wordSpacing = getDimensionValue(style
					.getProperty(StyleConstants.STYLE_WORD_SPACING));
			
			IStyle boxStyle = new AreaStyle((ComputedStyle)style);
			validateBoxProperty(boxStyle, maxLineSpace, context.getMaxHeight( ));
			leftMargin = getDimensionValue(boxStyle.getProperty(StyleConstants.STYLE_MARGIN_LEFT));
			leftBorder = getDimensionValue(boxStyle.getProperty(StyleConstants.STYLE_BORDER_LEFT_WIDTH));
			leftPadding = getDimensionValue(boxStyle.getProperty(StyleConstants.STYLE_PADDING_LEFT));
			rightMargin = getDimensionValue(boxStyle.getProperty(StyleConstants.STYLE_MARGIN_RIGHT));
			rightBorder = getDimensionValue(boxStyle.getProperty(StyleConstants.STYLE_BORDER_RIGHT_WIDTH));
			rightPadding = getDimensionValue(boxStyle.getProperty(StyleConstants.STYLE_PADDING_RIGHT));
			topBorder = getDimensionValue(boxStyle.getProperty(StyleConstants.STYLE_BORDER_TOP_WIDTH));
			topPadding = getDimensionValue(boxStyle.getProperty(StyleConstants.STYLE_PADDING_TOP));
			bottomBorder = getDimensionValue(boxStyle.getProperty(StyleConstants.STYLE_BORDER_BOTTOM_WIDTH));