Hi Jeremias, Thanks for the hint. I tried with a WMF image and found out that this class is used by both the renderer and the painter. I’ve just implemented accessibility support in it.
Vincent Jeremias Maerki wrote: > And you can use a WMF (Windows Metafile) file. See > org.apache.fop.image.loader.batik.ImageConverterWMF2G2D.java > > On 15.10.2009 18:30:46 Jeremias Maerki wrote: >> Hi Vincent >> >> That would be Barcode4J, for example. If the latest code from >> Barcode4J's CVS HEAD is used, ImageConverters get registered. One of >> those can convert Barcode XML to Graphics2D which should be picked over >> the Barcode XML -> SVG implementation in the PDF case. But that will >> only be triggered with the new IF. With the renderer, I assume (without >> checking) the XMLHandler interface will be used. >> >> On 15.10.2009 17:51:01 Vincent Hennebert wrote: >>> Hi, >>> >>> I tried every image format I could think of, none triggers the use of >>> PDFImageHandlerGraphics2D. AFAIU this is the only image handler that >>> doesn’t call PDFRenderer.placeImage or renderDocument in return, in >>> which accessibility is handled. So if that handler is used the generated >>> PDF will be invalid. >>> >>> What type of images is that handler used for? >>> >>> Thanks, >>> Vincent >> >> >> >> Jeremias Maerki > > > > > Jeremias Maerki >