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
return new String( array );
				c = new Character( text.charAt( index ) );
			}
			array[index] = Character.toUpperCase( array[index] );
			while ( !splitChar.contains( c ) )
			{
				index++;
				if ( index == array.length )
					break;
				c = new Character( text.charAt( index ) );
			}
		}
		return new String( array );
	}
	
	
	private class Compositor
	{	
		private ChunkGenerator cg = null;
		private Chunk chunk = null;
		private ITextContent content;
		private boolean isInline;
		private boolean isNew = true;
		
		private int leftSpaceHolder = 0; 
		private int rightSpaceHolder = 0;
		
		/** 
		 * The vestige is the word which can not be added into last line,
		 * or the remain clip after hyphenation.