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
{
	private BaseFont bf;
	private float fontSize;
	private int fontStyle;
	private float fontPadding;
	private float lineWidth;
	private boolean simulation;
	public FontInfo( BaseFont bf, float fontSize, int fontStyle,
			boolean simulation )
	{
		this.bf = bf;
		this.fontSize = fontSize;
		this.fontStyle = fontStyle;
		this.fontPadding = fontSize / 5f;
		this.lineWidth = fontSize / 20f;
		this.simulation = simulation;
	}
	public FontInfo( FontInfo fontInfo )
	{
		this.bf = fontInfo.bf;
		this.fontSize = fontInfo.fontSize;
		this.fontStyle = fontInfo.fontStyle;
		this.fontPadding = fontInfo.fontSize / 5f;
		this.lineWidth = fontInfo.fontSize / 20f;
		this.simulation = fontInfo.simulation;