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
(int)(chunk.getFontInfo().getWordHeight() * PDFConstants.LAYOUT_TO_PDF_RATIO ));
					IArea builtArea = buildArea("", content,  
							chunk.getFontInfo(), d);
					PDFTextLM.this.addTextLine(builtArea);
					return;
				}
				str = currentWord.getValue();
				areaStartPos = chunk.getOffset() + currentWord.getStart();	
			}
			else
			
			{
				str = chunk.getText().substring(vestigeIndex, vestigeIndex+vestigeLength);
				areaStartPos = chunk.getOffset() + vestigeIndex;
			}
				
			int prevAreaWidth = 0;
			int areaWidth = (int)(chunk.getFontInfo().getWordWidth(
					chunk.getText().substring(currentPos, currentPos+str.length()))
					* PDFConstants.LAYOUT_TO_PDF_RATIO)
					+ letterSpacing * str.length() + wordSpacing;
				
			
			if (isInline)
			{
				if (isAtLast(chunk.getOffset() + currentPos + str.length()))
				{
					rightSpaceHolder = rightMargin + rightBorder + rightPadding;
					freeSpace -= rightSpaceHolder;
				}