Apache™ FOP: PDF Images Plug-In¶
The fop-pdf-images plug-in extends FOP in order to add support for using PDF images in fo:external-graphic elements when generating PDF files. This means one can write something like:
Reduce file size¶
If you input many pdfs together the output pdf has duplicate fonts. Set this flag to merge fonts in fop.xconf:
<renderer mime="application/pdf"> <merge-fonts>true</merge-fonts> </renderer>
Known issues with Postscript output¶
- If fonts are not embedded in source PDF:
- If OTF font type is needed text may be missing if Adobe Reader fonts are not found
- Text may be rendered wrong or poorly if wrong font is selected as replacement
- Transparency, layers and opacity may not render correctly
- Gradients in text may be different from the source PDF
If using the binary package, the four jar files should be placed in the lib directory of your FOP installation.
Binary distributions include "-bin" in their names, and can be downloaded from a FOP-PDF-Images Distribution mirror.
- Download a released version from a FOP-PDF-Images Distribution mirror. Source distributions include "-src" in their names.
Latest Stable Release¶
The fop-pdf-images plug-in was donated by Jeremias Märki to the XMLGraphics project in 2012. Older releases can be obtained from his plug-in page.
History of Changes¶
- Move to PDFBox 2
- Deduplicate PDF streams
- PDF to PS deduplication of images
- Remove xobj type=form
- Merge fonts (off by default)
- Support PDF shading to PS
- Merging of Tagged (Accessible) PDF