Bug 192416 [Acceptance]Font family of chart doesn;t take effect when previewed[0001]
[Acceptance]Font family of chart doesn;t take effect when previewed[0001] Build number: 2.2.0.v20070613-1211 Steps to reproduce: 1.New a chart 2.Go to properties sheet then change font family to cursive 3.Preview Expected result: Font in chart changes to cursive Actual result: Cursive font effect wasn't displayed Error log: N/A
chart/org.eclipse.birt.chart.reportitem/src/org/eclipse/birt/chart/reportitem/ChartReportStyleProcessor.java
}
		return 0;
	}
	
    private boolean isBoldFont(CSSValue value)
    {
    	if(value instanceof StringValue && value!=null)
        {
    		String weight = ((StringValue)value).getStringValue();
    		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;
    }
  
    private boolean isItalicFont( String italic )
    {
    	if (CSSConstants.CSS_OBLIQUE_VALUE.equals( italic )
                || CSSConstants.CSS_ITALIC_VALUE.equals(italic))
        {
        	return true;
        }
    	return false;
    }
}