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
}
					
				
			while ( freeSpace >= areaWidth )
			{
				currentPos += str.length();
				currentWord = wr.getNextWord();
				if (null == currentWord)
				{
					str = null;
					break;
				}
				str = currentWord.getValue();
				prevAreaWidth = areaWidth;
				areaWidth += (int)(chunk.getFontInfo().getWordWidth(
						chunk.getText().substring(currentPos, currentPos+str.length()))
						* PDFConstants.LAYOUT_TO_PDF_RATIO)
						+ letterSpacing * str.length() + wordSpacing;
					
				
				if (isAtLast(chunk.getOffset() + currentPos + str.length())) 
				{
					rightSpaceHolder = rightMargin + rightBorder + rightPadding;
					freeSpace -= rightSpaceHolder;
				}
			}
			
			
			int length = chunk.getText().length();
			if (currentPos == length )