Bug 412357 Exported underline text gives an unexpected result
1.Drag the Label item onto the Layout Page. 2.Type in any Thai word and separate them with a space. (Font= San serif 36) 3.Under Property Editor- Label, choose Properties and then, General. 4.Click U to underline the whole word or sentence. 5.Choose View Report from the Top Panel. 6.Select View Report as PPT. The result is shown in attachment where the underline becomes discontinuous and the underline for spaces has become a lower underscore mark. 7. Repeat step 5 and Select View Report as PPTX. This result is shown in attachment with a little different from prior step as there are no extra spaces, but the underline of the space is still an underscore mark. 8. Repeat step 5 and select View Report as PDF. The underline cross all below combined character.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/font/FontHandler.java
/**
	 * Gets the English font name or font family name from the given naming
	 * array
	 * 
	 * @param names
	 *            the naming array
	 * @return the English name
	 */
	private String getEnglishName( String[][] names )
	{
		String tmp = null;
		for ( int i = 0; i < names.length; i++ )
		{
			if ( "0".equals( names[i][2] ) ) //$N
			{
				return names[i][3];
			}
			// F
			if ( "1033".equals( names[i][2] ) ) //$N
			{
				tmp = names[i][3];
			}
			if ( "".equals( names[i][2] ) ) //$N
			{
				tmp = names[i][3];
			}
		}
		return tmp;
	}
}