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/PDFAbstractLM.java
import org.eclipse.birt.report.engine.layout.PDFConstants;
import org.eclipse.birt.report.engine.layout.area.IArea;
import org.eclipse.birt.report.engine.layout.area.impl.AbstractArea;
import org.eclipse.birt.report.engine.layout.area.impl.AreaFactory;
import org.eclipse.birt.report.engine.layout.area.impl.CellArea;
import org.eclipse.birt.report.engine.layout.area.impl.RowArea;
import org.eclipse.birt.report.engine.layout.pdf.font.FontInfo;
import org.w3c.dom.css.CSSPrimitiveValue;
import org.w3c.dom.css.CSSValue;
public abstract class PDFAbstractLM implements ILayoutManager
{
	
	protected final static int STATUS_START = 0;
	protected final static int STATUS_INPROGRESS = 1;
	protected final static int STATUS_END = 3;
	protected int status = STATUS_START;
	protected static Logger logger = Logger.getLogger( PDFAbstractLM.class
			.getName( ) );
	protected PDFStackingLM parent;
	protected IContent content;
	protected PDFLayoutEngineContext context;
	protected IReportItemExecutor executor;
	/**
	 * identify if current area is the first area generated by content
	 */
	protected boolean isFirst = true;
	/**
	 * identify if current area is the last area generated by content
	 */
	protected boolean isLast = false;