Bug 313459 Problem with % when generating images in tables.
See the attached BirtProject, it has two reports. Each identical except for this difference: The image width/height is set to a %age value (50%) in one (TestImage.rptdesign) and not-set in the other (TestImageWorking.rptdesign). TestImage.rptdesign does not display the image in pdf, but works fine in html. TestImageWorking.rptdesign shows the image in both pdf and html. The %age setting seems to cause the problem in pdf format.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/util/PropertyUtil.java
import org.eclipse.birt.report.engine.ir.EngineIRConstants;
import org.eclipse.birt.report.model.api.ReportDesignHandle;
import org.w3c.dom.Element;
import org.w3c.dom.css.CSSPrimitiveValue;
import org.w3c.dom.css.CSSValue;
import com.lowagie.text.Font;
public class PropertyUtil
{
	private static Logger logger = Logger.getLogger( PropertyUtil.class
			.getName( ) );
	
	private static Pattern colorPattern = Pattern.compile( "rgb\\(.+,.+,.+\\)" );
	
	/**
	 * Checks if the font is bold
	 * 
	 * @param value
	 *            the CSSValue
	 * @return true if the font is bold false if not
	 */
	public static boolean isBoldFont( CSSValue value )
	{
		if ( value != null )
		{
			if ( IStyle.BOLD_VALUE.equals( value )
					|| IStyle.BOLDER_VALUE.equals( value )
					|| IStyle.NUMBER_600.equals( value )
					|| IStyle.NUMBER_700.equals( value )
					|| IStyle.NUMBER_800.equals( value )
					|| IStyle.NUMBER_900.equals( value ) )