Description of problem: fop requires fontbox for OpenType CFF fonts; fontbox is a dependency of the rpm, but is not used by the /usr/bin/fop script. Version-Release number of selected component (if applicable): 2.0-3.fc24 (yes, this is from the FC25 repo) How reproducible: Steps to Reproduce: 1. Use fop to process an FO file that uses an .otf font (e.g. Junction from tlomt-junction-fonts). Actual results: An error is displayed stating "The Fontbox jar was not found in the classpath. This is required for OTF CFF ssupport" Expected results: The FO is successfully converted to PDF without errors. Additional info: fontbox is missing from the set_classpath call at ll 28-30 of fop.script.
This also affects Fedora 26. It's a one word change to add "fontbox" to the set_classpath directive in the /usr/bin/fop script. Since the Overpass font is now packaged in the overpass-fonts RPM in OTF format, this actually impacts rendering any FO file to PDF that uses Red Hat's corporate font standard.... Any chance we can escalate the priority of this fix? Also note that this can be tricky to diagnose if you have an existing ~/.fop cache present from previous runs under other versions of fop that may have fontbox enabled....
Created attachment 1324606 [details] Proposed update for /usr/bin/fop Attaching fop script with an edited set_classpath call.
Fixed in fop-2.0-7
fop-2.0-7.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-902fac0b2d
fop-2.0-7.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2017-679a8016f0
fop-2.0-7.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-679a8016f0
fop-2.0-7.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-902fac0b2d
fop-2.0-7.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.
I believe that this bug is fixed in fop-2.0-7, which is available in updates for Fedora 26, so I am closing this bug now. The build containing the fix can be found at Koji: http://koji.fedoraproject.org/koji/buildinfo?buildID=969290 This bug was fixed in the next release of Fedora, and it is currently not planned to be fixed in the release it was filed against. You can update to the newer release of Fedora to get the fix.
fop-2.0-7.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.