Bug 147861 [2.1RC4] Invalid line height: normal
Version: Report Engine, 2.1RC4 I'm using the "Report Engine" for creating my reports. When I look a the log file I see the following line many (1000+) times: 20.06.2006 13:36:23 org.eclipse.birt.report.engine.layout.util.PropertyUtil getLineHeight WARNUNG: invalid line height: normal For recreating the bug: 1. Start new report 2. Add a "Grid widget" 3. Run report In my opinion a default setting should not produce a log message at level warning.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/util/PropertyUtil.java
catch(NumberFormatException ex)
    	{
    		ex.printStackTrace();
    		return 0;
    	}
    }
    
    /**
     * FIXME
     * until now we only support absolute dimension value
     * @param d
     * @return
     */
    public static int getDimensionValue(DimensionType d)
    {
    	if(d!=null)
    	{
    		try
    		{
    			String units = d.getUnits();
    			if(units.equals(EngineIRConstants.UNITS_PT)
    					|| units.equals(EngineIRConstants.UNITS_CM)
    					|| units.equals(EngineIRConstants.UNITS_MM)
    					|| units.equals(EngineIRConstants.UNITS_PC)
    					|| units.equals(EngineIRConstants.UNITS_IN))
    			{		
    				double point = d.convertTo(EngineIRConstants.UNITS_PT) * 1000;
    				return (int)point;
    			}
    			else if(units.equals(EngineIRConstants.UNITS_PX))