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
/**
	 * 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)
        {
    		String weight = value.getCssText( );
    		if("bold".equals(weight.toLowerCase()) || "bolder".equals(weight.toLowerCase()) 
    	            || "600".equals(weight) || "700".equals(weight)  
    	            || "800".equals(weight) || "900".equals(weight))  
    	        {
    	            return true;
    	        }
        }
    	return false;
    }
    
    
    
    public static boolean isInlineElement(IContent content)
    {
        IStyle style = content.getStyle();
        if(style!=null)
        {
            return "inline".equals(style.getDisplay());