Page 1 of 1

org.dita.pdf2.fop in Oxygen installation

Posted: Tue Feb 21, 2023 12:09 pm
by antonyterrence
The org.dita.pdf2.fop plugin that's packaged with Oxygen XML has some customization/patches or custom libraries - especially for handling images. The org.dita.pdf2.fop plugin in the DITA OT downloaded from the DITA OT website does not have those customizations.
Are we allowed to copy the org.dita.pdf2.plugin from Oxygen XML to a DITA OT instance downloaded from the DITA OT web site?
Are those changes open source?

Re: org.dita.pdf2.fop in Oxygen installation

Posted: Wed Feb 22, 2023 7:36 am
by antonyterrence
I think modifying the fop.xconf file with the following changes fixes the scaling issues when the @width attribute is used:

Code: Select all

<!-- Source resolution in dpi (dots/pixels per inch) for determining the size of pixels in SVG and bitmap images, default: 72dpi -->
  <source-resolution>120</source-resolution>
  <!-- Target resolution in dpi (dots/pixels per inch) for specifying the target resolution for generated bitmaps, default: 72dpi -->
  <target-resolution>600</target-resolution>