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
{
			
			String uri = imageContent.getURI( );
			switch ( imageContent.getImageSource( ) )
			{
				case IImageContent.IMAGE_FILE :
				case IImageContent.IMAGE_URL :
					if ( null == uri )
						return;
					if ( uri != null && uri.endsWith( ".svg" ) )
					{
						isSvg = true;
					}
					if ( isSvg )
					{
						pageGraphic.drawImage( transSvgToArray( uri ), imageX,
								imageY, height, width, helpText );
					}
					else
					{
						pageGraphic.drawImage( uri, imageX, imageY, height,
								width, helpText );
					}
					break;
				case IImageContent.IMAGE_NAME :
				case IImageContent.IMAGE_EXPRESSION :
					byte[] data = imageContent.getData( );
					if ( null == data )
						return;
					in = new ByteArrayInputStream( data );