Re: PDF with 'annot' object, output to SVG issue

2025-02-13 Thread Tilman Hausherr
Hi, The annotation contains an appearance that is either provided or generated by PDFBox; in your file, it is provided. This is an ordinary PDF structure with a content stream etc. It uses a "multiply" blendmode. In PageDrawer.fillPath() it happens in graphics.setComposite(graphicsState.getN

PDF with 'annot' object, output to SVG issue

2025-02-13 Thread Rich Stafford
PDFBox users: I have a simple PDF that contains some text, and an 'annotation' highlight covering the text. Using PDFBox 3.0.2, when I render it to a raster format, the 'annotation' is transparent and the text behind it shows up. However, when I render it to SVG (using batik svggen.SVGGraphics