Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.1
Description
Generating PDF/A-1a gives non-validating pdf due to missing ToUnicode tables for embedded AdobeStandardEncoding Fonts (e.g. Nimbus Roman 9L from ghostscript, but also commercial T1 fonts). Validation here refers to the online validator at pdf-tools.com .
Fonts embedded with FontSpecific Encoding produce ToUnicode tables.
Using modified .afm files where AdobeStandardEncoding is manually replaced by FontSpecific will produce the ToUnicode tables for these fonts too and then the resulting PDF will validate. The Files look identical to those non-validating due to AdobeStandardEncoding also for more complex documents.
fop-2.1/fop -c working.xconf -a -pdfprofile 'PDF/A-1a' -pdf test_works.pdf -fo test_0.fo
fop-2.1/fop -c notworking.xconf -a -pdfprofile 'PDF/A-1a' -pdf test_notvalid.pdf -fo test_0.fo