Bug 191947 [Regression]PDF output: extra/broken border
Regression bug:168136 Get the attached report design file, and preview the pdf. The border is truncated. Build version:2.2.0.v20070611-0956
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/layout/emitter/PageDeviceRender.java
pageGraphic.clip( textX, textY, width, height );
		TextStyle textStyle = new TextStyle( fontInfo, characterSpacing,
				wordSpacing, color, linethrough, overline, underline, align );
		drawTextAt( text, x, y, width, height, textStyle );
		pageGraphic.clipRestore( );
	}
	protected void drawTextAt( ITextArea text, int x, int y, int width,
			int height, TextStyle textStyle )
	{
		pageGraphic.drawText( text.getText( ), x, y, width, height, textStyle );
	}
	/**
	 * Draws image at the contentByte
	 * 
	 * @param image
	 *            the ImageArea specified from the layout
	 */
	protected void drawImage( IImageArea image )
	{
		
		ContainerPosition curPos = getContainerPosition( );
		int imageX = curPos.x + getX( image );
		int imageY = curPos.y + getY( image );
		IImageContent imageContent = ( (IImageContent) image.getContent( ) );
		InputStream in = null;
		boolean isSvg = false;
		int height = getHeight( image );
		int width = getWidth( image );
		String helpText = imageContent.getHelpText( );
		try