Bug 187516 NullPointerException when preview as PDF
Build ID: 2.2 M6 Steps To Reproduce: Create a dynamic text and input some complex HTML More information: org.eclipse.birt.report.engine.layout.pdf.font.FontInfo#getWordWidth( String word ) the value "word" may be null
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/font/FontInfo.java
{
		return this.simulation;
	}
	public float getLineWidth( )
	{
		return this.lineWidth;
	}
	public int getOverlinePosition( )
	{
		
		
		
		return (int) ( ( fontPadding / 2f - lineWidth / 2f ) * PDFConstants.LAYOUT_TO_PDF_RATIO );
	}
	public int getUnderlinePosition( )
	{
		float awtAscent = bf.getFontDescriptor( BaseFont.AWT_ASCENT, fontSize );
		float awtDescent = -bf.getFontDescriptor( BaseFont.AWT_DESCENT,
				fontSize );
		return (int) ( ( awtAscent + awtDescent + lineWidth / 2f ) * PDFConstants.LAYOUT_TO_PDF_RATIO );
	}
	public int getLineThroughPosition( )
	{
		float awtAscent = bf.getFontDescriptor( BaseFont.AWT_ASCENT, fontSize );
		float ascent = bf.getFontDescriptor( BaseFont.ASCENT, fontSize );
		float descent = -bf.getFontDescriptor( BaseFont.DESCENT, fontSize );
		return (int) ( ( awtAscent + fontPadding / 2f - ascent + ( ascent + descent ) / 2.0f ) * PDFConstants.LAYOUT_TO_PDF_RATIO );
	}
	public int getBaseline( )
	{