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
int arg4, Color arg5, ImageObserver arg6 )
	{
		SVGImage image = (SVGImage) arg0;
		Element currentElement = createElement( "image" ); 
		currentElement.setAttribute( "xlink:href", image.getUrl( ) ); 
		currentElement.setAttribute( "x", Double.toString( arg1 ) ); 
		currentElement.setAttribute( "y", Double.toString( arg2 ) ); 
		currentElement.setAttribute( "width", Double.toString( arg3 ) ); 
		currentElement.setAttribute( "height", Double.toString( arg4 ) ); 
		currentElement.setAttribute( "fill", serializeToString( arg5 ) ); 
		if ( clip != null )
			currentElement.setAttribute( "clip-path", "url(#clip" + clip.hashCode( ) + ")" ); 
		appendChild( currentElement );
		return true;
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see java.awt.Graphics#drawImage(java.awt.Image, int, int, int, int, int,
	 *      int, int, int, java.awt.image.ImageObserver)
	 */
	public boolean drawImage( Image arg0, int arg1, int arg2, int arg3,
			int arg4, int arg5, int arg6, int arg7, int arg8, ImageObserver arg9 )
	{
		SVGImage image = (SVGImage) arg0;
		Element currentElement = createElement( "image" ); 
		currentElement.setAttribute( "xlink:href", image.getUrl( ) ); 
		currentElement.setAttribute( "x", Double.toString( arg1 ) ); 
		currentElement.setAttribute( "y", Double.toString( arg2 ) ); 
		currentElement.setAttribute( "width", Double.toString( arg3 ) );