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
else if ( fontSize.equals( DesignChoiceConstants.FONT_SIZE_SMALLER ) )
			{
				return getSmallerFontSizeIntValue( handle.getContainer( ) );
			}
			else
			{
				for ( int i = 0; i < fontSizes.length - 1; i++ )
				{
					if ( fontSize.equals( fontSizes[i][0] ) )
					{
						return Integer.parseInt( fontSizes[i + 1][1] );
					}
				}
				return Integer.parseInt( fontSizes[fontSizes.length - 1][1] );
			}
		}
		else
		{
			
			return 10 + 1;
		}
	}
	private static int getSmallerFontSizeIntValue( DesignElementHandle handle )
	{
		if ( handle == null )
		{
			
			return 10 - 1;
		}
		if ( !( handle instanceof ReportItemHandle ) )