Bug 183895 Legend Text Area Font properties do not take effect [0001]
Description: Legend Text Area Font properties do not take effect. Build number: 2.2.0.v20070424-0630 Steps to reproduce: 1. New a Chart. 2. In "Format Chart" tab, tick "Show Values", click "Block" button, Edit Font, set Font: Arial, Size:16, Color: Yellow, Style:Bold&Italic, Rotation: 45 degree. Expected result: Font properties take effect. Actual result: Font properties does not take effect. Error log: N/A
chart/org.eclipse.birt.chart.engine/src/org/eclipse/birt/chart/render/BaseRenderer.java
}
			else
			{
				dX = bo.getLeft( ) + ( bo.getWidth( ) - sz.getWidth( ) ) / 2;
				dY = bo.getTop( ) + ( bo.getHeight( ) - sz.getHeight( ) ) / 2;
			}
		}
		else
		{
			
			
			dX = bo.getLeft( );
			dY = bo.getTop( );
			sz = SizeImpl.create( bo.getWidth( ), bo.getHeight( ) );
		}
		
		final LegendLayoutHints lilh = rtc.getLegendLayoutHints( );
		if ( lilh == null )
		{
			throw new ChartException( ChartEnginePlugin.ID,
					ChartException.RENDERING,
					"exception.null.legend.layout.hints", 
					Messages.getResourceBundle( rtc.getULocale( ) ) );
		}
		
		Label lgTitle = lg.getTitle( );
		double lgTitleWidth = 0, lgTitleHeight = 0;
		double yOffset = 0, xOffset = 0, wOffset = 0, hOffset = 0;
		final boolean bRenderLegendTitle = lgTitle != null
				&& lgTitle.isSetVisible( )