Bug 198054 The width of the page is not the same in PDF and POSTSCRIPT [1201]
Description: The width of the page is not the same in PDF and POSTSCRIPT. Build number: 2.2.1.v20070727-0630 Steps to reproduce: 1. Preview the attached design file in PDF and POSTSCRIPT. Expected result: Page width of PDF and POSTSCRIPT are the same. Actual result: Page of POSTSCRIPT is wider than PDF(See the screenshot). Error log: N/A
engine/org.eclipse.birt.report.engine.emitter.postscript/src/org/eclipse/birt/report/engine/emitter/postscript/PostscriptWriter.java
out.println( "% define space for color conversions" );
		out.print( "/grays " );
		out.print( originalWidth );
		out.println( " string def  % space for gray scale line" );
		out.println( "% lower left corner" );
		out.print( x );
		out.print( " " );
		out.print( y );
		out.println( " translate" );
		if ( height == 0 || width == 0 )
		{
			height = originalHeight;
			width = originalWidth;
		}
		out.println( "% size of image" );
		out.print( width );
		out.print( " " );
		out.print( height );
		out.println( " scale" );
		out.print( originalWidth );
		out.print( " " );
		out.print( originalHeight );
		out.println( " 8" );
		out.print( "[" );
		out.print( originalWidth );
		out.print( " 0 0 -" );
		out.print( originalHeight );
		out.print( " 0 " );
		out.print( 0 );
		out.println( "]" );