PDF/X4

2025-02-13 Thread Hiller, Gerhard
Hello everybody, we try to create a PDF/X4 document from scratch, currently only with some text. I thinkd pdfbox togegher with xmpbox But we are struggeling setting the right Metadata and XMP-Metadata to let it pass the preflight check in Adobe Acrobat Pro. As PDF/x4 is an ISO Spec, no free av

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

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