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
lY = bo.getTop( )
							+ ( bo.getHeight( ) - lgTitleHeight )
							/ 2d;
					break;
				case Position.RIGHT :
					lX = bo.getLeft( ) + bo.getWidth( );
					lY = bo.getTop( )
							+ ( bo.getHeight( ) - lgTitleHeight )
							/ 2d;
					break;
			}
			final TextRenderEvent tre = (TextRenderEvent) ( (EventObjectCache) ir ).getEventObject( WrappedStructureSource.createLegendTitle( lg,
					lgTitle ),
					TextRenderEvent.class );
			tre.setBlockBounds( BoundsImpl.create( lX,
					lY,
					lgTitleWidth,
					lgTitleHeight ) );
			TextAlignment ta = TextAlignmentImpl.create( );
			ta.setHorizontalAlignment( HorizontalAlignment.CENTER_LITERAL );
			ta.setVerticalAlignment( VerticalAlignment.CENTER_LITERAL );
			tre.setBlockAlignment( ta );
			tre.setLabel( lgTitle );
			tre.setAction( TextRenderEvent.RENDER_TEXT_IN_BLOCK );
			ipr.drawText( tre );
		}
		itm.dispose( ); 
	}
	/**
	 * Internally used to render a legend item separator