Bug 196419 Long string word in element will lost head and tail when preview as PDF[0004]
Description: Long string word in element will lost head and tail[0004] Step: 1.Input "labellabellabellabellabellabellabellabellabellabellabellabellabellabellabellabellabellabellabellabellabellabellabellabellabellabellabellabellabel" in label or text. 2.Preview as PDF Actual result: It only privew the center of content on label and text. Please see the attached image
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/PDFTextLM.java
chunk.getFontInfo(), d);
				PDFTextLM.this.addTextLine(builtArea);
				vestigeIndex = -1;
				vestigeLength = 0;
				return;
			}
			if( maxLineSpace < chunk.getFontInfo().getWordWidth(str)* PDFConstants.LAYOUT_TO_PDF_RATIO 
					+ letterSpacing * str.length()+ wordSpacing )
			{
				if ( 0 == str.length() )
				{
					vestigeIndex = -1;
					vestigeLength = 0;
					return;
				}
				
				IHyphenationManager hm;
				if(ENABLE_HYPHENATION)
				{
					hm = new DefaultHyphenationManager();
				}
				else
				{
					hm = new DummyHyphenationManager();
				}
				Hyphenation hyph = hm.getHyphenation(str);
				
				int endHyphenIndex = hyphen( 0, freeSpace-prevAreaWidth, hyph, chunk.getFontInfo() );
				
				if (endHyphenIndex == 0)