Bug 157263 "cm" and "mm" of line height doesn't take effects in PDF
"cm" and "mm" of line height doesn't take effects in PDF Steps to reproduce: 1.new a label and input some text 2.add borders to it 3.set line height in properties window ,but use cm or mm unit 4.Preview it Expected results: Line height take effects Actual results: "cm" and "mm" doesn't take effects
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/pdf/util/PropertyUtil.java
return Integer.parseInt(lineHeight);
    	}
    	catch(NumberFormatException ex)
    	{
    		logger.log(Level.WARNING, "invalid line height: {0}", lineHeight ); 
    		return 0;
    	}
    }
    
    
    public static Color getColor( CSSValue value )
	{
		if ( value != null && value instanceof RGBColorValue )
		{
			RGBColorValue color = (RGBColorValue) value;
			try
			{
				return new Color( color.getRed( ).getFloatValue(
						CSSPrimitiveValue.CSS_NUMBER ) / 255.0f, color
						.getGreen( ).getFloatValue(
								CSSPrimitiveValue.CSS_NUMBER ) / 255.0f, color
						.getBlue( )
						.getFloatValue( CSSPrimitiveValue.CSS_NUMBER ) / 255.0f );
			}
			catch ( RuntimeException ex )
			{
				logger.log( Level.WARNING, "invalid color: {0}", value ); 
			}
		}
		return null;