Bug 183713 Postscript displayed the different effect from the PDF[1201]
Postscript displayed the different effect from the PDF[1201] Build number: 2.2.0.v20070424-0630 Steps to reproduce: 1.preview attached report in PDF and postscript Expected result: postscript and pdf display the same effect Actual result: Postscript displayed differently from PDF Error log: N/A
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/presentation/LocalizedContentVisitor.java
ExtendedItemDesign design = (ExtendedItemDesign) content
				.getGenerateBy( );
		ExtendedItemHandle handle = (ExtendedItemHandle) design.getHandle( );
		String tagName = handle.getExtensionName( );
		
		if ( "Chart".equals( tagName ) )
		{
			IHTMLImageHandler imageHandler = context.getImageHandler( );
			if ( imageHandler != null )
			{
				String imageId = content.getInstanceID( ).toString( );
				CachedImage cachedImage = imageHandler.getCachedImage( imageId,
						IImage.CUSTOM_IMAGE, context.getReportContext( ) );
				if ( cachedImage != null )
				{
					IImageContent imageObj = getReportContent( )
							.createImageContent( content );
					imageObj.setParent( content.getParent( ) );
					
					imageObj.setImageSource( IImageContent.IMAGE_FILE );
					imageObj.setURI( cachedImage.getURL( ) );
					imageObj.setMIMEType( cachedImage.getMIMEType( ) );
					imageObj.setImageMap( cachedImage.getImageMap( ) );
					imageObj.setAltText( content.getAltText( ) );
					imageObj.setAltTextKey( content.getAltTextKey( ) );
					processImage( imageObj );
					return imageObj;
				}
			}
		}