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
/**
	 * The constructor. Default not using cache.
	 * 
	 * @param handle
	 * @param useCache
	 *            specify if use cache.
	 * @param style
	 */
	public ChartReportStyleProcessor( DesignElementHandle handle,
			boolean useCache,
			org.eclipse.birt.report.engine.content.IStyle dstyle )
	{
		this.handle = handle;
		this.useCache = useCache;
		this.dstyle = dstyle;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.birt.chart.style.IStyleProcessor#getStyle(org.eclipse.birt.chart.model.attribute.StyledComponent)
	 */
	public IStyle getStyle( Chart model, StyledComponent name )
	{
		SimpleStyle ss = null;
		if ( cache == null || !useCache )
		{
			StyleHandle style = handle.getPrivateStyle( );
			ss = new SimpleStyle( );
			String fname = style.getFontFamilyHandle( ).getStringValue( );
			int fsize = getFontSizeIntValue( handle );