Bug 164601 It takes ages to display a report with label of very large font size.
Description: It takes ages to display a report with label of very large font size. Steps to reproduce: 1. Insert two labels 2. Set one font weight to 100 and the other to 900 3. Preview in pdf/html Expected result: Show different weight. Actual result: In html, you can see font-weight effect In pdf, the report never displayed. PS.If I change the font size to a small number, say 20, the report in pdf is generated immediated.
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;
				}