Description of problem: Running the command gs -q -dNOPAUSE -dBATCH -dPDFSETTINGS=/prepress -sDEVICE=pdfwrite -sOutputFile=Output.pdf Input1.pdf Input2.pdf Input3.pdf shows me an error as followed: Can't find CMap Identity-UTF16-H building a CIDDecoding resource. Warning: falling back to Identity ordering Can't find CMap Identity-UTF16-H building a CIDDecoding resource. **** Error: can't process embedded font stream, attempting to load the font using its name. Output may be incorrect. Can't find CMap Identity-UTF16-H building a CIDDecoding resource. Warning: falling back to Identity ordering Can't find CMap Identity-UTF16-H building a CIDDecoding resource. **** Error reading a content stream. The page may be incomplete. Output may be incorrect. **** Error: File did not complete the page properly and may be damaged. Output may be incorrect. Version-Release number of selected component (if applicable): ghostscript-core-9.20-5.fc24.x86_64 ghostscript-9.20-5.fc24.x86_64 ghostscript-x11-9.20-5.fc24.x86_64 ghostscript-fonts-5.50-35.fc24.noarch How reproducible: Run the command (see above) with 3 PDF-Files. The Bug is always reproducible. Steps to Reproduce: 1. Choose 3 PDF-Files of your choice. IMPORTANT! One of the PDF-Files must contain the font-type "CID TrueType". In my case "Arial CID TrueType". 2. Run the command (see above) in a terminal. Actual results: The output is incorrect and damaged. Expected results: The output should be correct. Additional info: One possible workaround is to link or copy the files from /usr/share/ghostscript/9.16/Resource/CMap to /usr/share/ghostscript/9.20/Resource/CMap Ghostscript is up to date (version 9.20-5) on my system. However there are parts from version 9.16 where all the CMap files exist as a link to ../../../../poppler/cMap/. I think version 9.16 was not cleared completly. The directory /usr/share/ghostscript/9.20/Resource/CMap is empty.
Okay, so this is the problem of poppler-data: http://pkgs.fedoraproject.org/cgit/rpms/poppler-data.git/tree/poppler-data.spec#n26 It is the package that provides the missing files, but this package has not been rebuilt since 9.16 was out. I'm starting the rebuilt now, but this will have to be fixed somehow different in the future. Thank you for pointing that out for us. :) Best regards, Dee'Kej
Fwiw, if ghostscript could grow support for an unversioned data directory (in addition to standard versioned ones), then we could avoid rebuilding poppler-data for *every* ghostscript version bump.
If ^^ is not feasible in the short-term, would you be ok with my filing a RFE tracking bug to add that feature to ghostscript packaging ?
Rex, yes you're completely right. And it's actually on my todo-list right now. :) The problem is a little bit more complex, because ghostscript consists of many parts that we actually package separately. For me, first step is to deal with urw-fonts, which is the biggest pain in the a** right now, then to fix the ghostscript specfile (it's complete mess), and in that time fix poppler as well... :) I hope this will be done by the time F26 will fork, but I don't plan to bring those changes back to F25 and older. IMHO, it could break something and I don't want to make Fedora unstable for our users. Cheers, Dee'Kej
poppler-data-0.4.7-6.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-d6a352eeca
poppler-data-0.4.7-5.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-6ecaf251f6
poppler-data-0.4.7-6.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-975dfd5c27
poppler-data-0.4.7-5.fc23 has been pushed to the Fedora 23 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-2016-6ecaf251f6
poppler-data-0.4.7-6.fc25 has been pushed to the Fedora 25 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-2016-d6a352eeca
poppler-data-0.4.7-6.fc24 has been pushed to the Fedora 24 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-2016-975dfd5c27
poppler-data-0.4.7-6.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.
poppler-data-0.4.7-6.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.