org.dita.pdf2.fop in Oxygen installation

Post here questions and problems related to editing and publishing DITA content.
antonyterrence
Posts: 41
Joined: Thu Jun 02, 2022 1:39 pm

org.dita.pdf2.fop in Oxygen installation

Post 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?
antonyterrence
Posts: 41
Joined: Thu Jun 02, 2022 1:39 pm

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

Post 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>
Post Reply