Bug 182519 [SVG] SVG Chart Title Alignment does not work correctly when preview [0001]
Description: SVG Chart Title Alignment does not work correctly when preview. Build number: 2.2.0.v20070416-1013 Steps to reproduce: 1. New a Bar Chart, Output Format is SVG. 2. In "Format Chart" tab, select "Title" node, set Chart Title as "Bar Chart Title Bar Chart Title Bar Chart Title" and set Title Alignment as TopLeft. Expected result: Chart Title when preview is: "Bar Chart Title Bar Chart Title Bar Chart Title" Actual result: Chart Title when preview is: "Bar Chart Title Bar Chart Title Bar Chart Title". Error log: N/A
chart/org.eclipse.birt.chart.device.svg/src/org/eclipse/birt/chart/device/svg/SVGGraphics2D.java
protected String id;
	protected StringBuffer scriptBuffer = new StringBuffer();
	protected StringBuffer styleBuffer = new StringBuffer();
	protected Element deferStrokColor = null;	
	protected String primitiveId = null;
	private RenderingHints renderingHints = new RenderingHints(null);
	protected boolean scriptable = true;
	protected static final String defaultStyles = "fill:none;stroke:none"; 
	private static ILogger logger = Logger.getLogger( "org.eclipse.birt.chart.device.svg/trace" ); 
	public SVGGraphics2D( Document dom ){
		this(dom, true);
	}
	public SVGGraphics2D( Document dom, boolean scriptable)
	{
		this.dom = dom;
		this.scriptable = scriptable;
		fontRenderContext = new FontRenderContext( new AffineTransform( ),
				true,
				false );
		currentElement = dom.getDocumentElement( );
		parentStack.push( currentElement );
		currentParent = currentElement;
		
		currentElement = dom.createElement( "g" ); 
		definitions = dom.createElement( "defs" ); 
		
		currentElement.setAttribute("id", "outerG"); 
		currentElement.appendChild( definitions );
		currentElement.setAttribute( "style", defaultStyles ); 
		pushParent( currentElement );