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
}
	}
	private String applyIntrinsicFont( String fontName, int fontStyle, float fontSize, String text )
	{
		setFont( fontName, fontSize );
		return ( "(" + text + ")" );
	}
	private String toHexString( String text )
	{
		StringBuffer buffer = new StringBuffer( );
		buffer.append( '<' );
		for ( int i = 0; i < text.length( ); i++ )
		{
			buffer.append( toHexString( text.charAt( i ) ) );
		}
		buffer.append( '>' );
		return buffer.toString( );
	}
	private String toHexString( char c )
	{
		final String[] padding = {"0", "00", "000"};
		String result = Integer.toHexString( c );
		if ( result.length( ) < 4 )
		{
			result = padding[3 - result.length( )] + result;
		}
		return result;
	}
	private ITrueTypeWriter getTrueTypeFontWriter( String fontPath )
			throws DocumentException, IOException