Bug 192075 [SVG] There is an extra line in the legend area [0001]
Description: There is an extra line in the legend area Regression of #146973 Build number: 2.2.0.v200706011-1025 Steps to reproduce: 1. New a style: Font Color(Red), Decoration(Line through). 2. New a chart, apply the style to the chart. 3. Preview from the layout. Expected result: The legend does not have the red line just as PDF does. Actual result: See the screenshot. Error log: N/A
chart/org.eclipse.birt.chart.device.svg/src/org/eclipse/birt/chart/device/svg/SVGTextRenderer.java
Color clrText = (Color) _sxs.getColor( la.getCaption( ).getColor( ) );
		Color clrBackground = null;
		if ( la.getBackground( ) != null )
		{
			clrBackground = (Color) _sxs.getColor( (ColorDefinition) la.getBackground( ) );
		}
		final double dAngleInRadians = ( ( -dAngleInDegrees * Math.PI ) / 180.0 );
		final double dSineTheta = ( Math.sin( dAngleInRadians ) );
		final double dCosTheta = ( Math.cos( dAngleInRadians ) );
		final ITextMetrics itm = new SVGTextMetrics( _sxs, la );
		final double dFW = itm.getFullWidth( );
		final double dH = itm.getHeight( );
		final double dD = itm.getDescent( );
		final double dFH = itm.getFullHeight( );
		double dXOffset = 0, dW = 0;
		final int iLC = itm.getLineCount( );
		final Insets ins = la.getInsets( )
				.scaledInstance( _sxs.getDpiResolution( ) / 72d );
		final double shadowness = 3 * _sxs.getDpiResolution( ) / 72d;
		SVGTextLayout tl;
		final HorizontalAlignment ha = la.getCaption( )
				.getFont( )
				.getAlignment( )
				.getHorizontalAlignment( );
		final boolean bRightAligned = ha.getValue( ) == HorizontalAlignment.RIGHT;
		final boolean bCenterAligned = ha.getValue( ) == HorizontalAlignment.CENTER;
		double dRotateX = ( dX - dFW );
		double dRotateY = ( dY + dH / 2 );
		dX -= dFW;
		dY += dH / 2;