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
+ topBorder + topPadding + bottomBorder + bottomPadding);
						}else
						{
							con.setHeight( (int)(chunk.getFontInfo().getWordHeight()*PDFConstants.LAYOUT_TO_PDF_RATIO)
									+ topBorder + topPadding + bottomBorder + bottomPadding);
						}
						PDFTextLM.this.addSpaceHolder(con);
					}
					return false;
				}
		}
		
		private void handleNext()
		{
			int freeSpace = PDFTextLM.this.getFreeSpace();
			
			if ( isNew || currentPos == chunk.getText().length() )
			{
				if (cg.hasMore())
				{
					chunk = cg.getNext();
					if (chunk == Chunk.HARD_LINE_BREAK)
					{
						currentPos = chunk.getText().length();
						PDFTextLM.this.newLine();
						vestigeIndex = -1;
						return;
					}
					currentPos = 0;
					this.wr = new DefaultWordRecognizer(chunk.getText());