Bug 180414 The attached design file is not previewed correctly when using POSTSCRIPT [1201]
Description: The attached design file is not previewed correctly when using POSTSCRIPT. Build number: 2.2.0.v20070402-0630 Steps to reproduce: 1. Preview the attached design file in POSTSCRIPT. Expected result: All the letters are shown within the boundary. Actual result: See the attached screenshot. Error log: N/A
engine/org.eclipse.birt.report.engine.emitter.postscript/src/org/eclipse/birt/report/engine/emitter/postscript/device/PostscriptPage.java
/* (non-Javadoc)
	 * @see org.eclipse.birt.report.engine.emitter.postscript.page.IPageDevice#drawBackgroundColor(java.awt.Color, float, float, float, float)
	 */
	public void drawBackgroundColor( Color color, float x, float y,
			float width, float height )
	{
		if ( color != null )
		{
			writer.fillRect( x, y, width, height, color );
		}
	}
	/* (non-Javadoc)
	 * @see org.eclipse.birt.report.engine.emitter.postscript.page.IPageDevice#drawPageBackgroundColor(java.awt.Color)
	 */
	public void drawPageBackgroundColor( Color color )
	{
		writer.fillPage( color );
	}
	/* (non-Javadoc)
	 * @see org.eclipse.birt.report.engine.emitter.postscript.page.IPageDevice#drawBackgroundImage(float, float, float, float, java.lang.String, java.lang.String, float, float)
	 */
	public void drawBackgroundImage( float x, float y, float width,
			float height, String repeat, String imageUrl, float absPosX,
			float absPosY ) throws IOException
	{
		writer.drawBackgroundImage( imageUrl, x, y, width, height, absPosX,
				absPosY, repeat );
	}
}