Summary: | Ghostscript output not PDF/A compliant | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Marcos H. Woehrmann <marcos.woehrmann> |
Component: | PDF Writer | Assignee: | Ken Sharp <ken.sharp> |
Status: | NOTIFIED WONTFIX | ||
Severity: | normal | ||
Priority: | P2 | ||
Version: | master | ||
Hardware: | PC | ||
OS: | All | ||
Customer: | 670 | Word Size: | --- |
Description
Marcos H. Woehrmann
2011-03-24 07:12:00 UTC
The problem is that the original PDF file contains an embedded subset TrueType font. PDF/A requires that fonts be embedded and *not* subset. Since we don't have the original font, we cannot embed the entire font and must embed the subset. This leads to the PDF/A non-conformance error. In fact there are no glyphs used which are not in the font, but the Acrobat pre-flight doesn't detect that, it simply notices that the font is marked as a subset and flags the error. Removing the 'XXXXXX+' prefix from the font clears the error :-) So why did the 8.71 output not get an error ? That is due to a limitation of the pre-flight checker. The current code embeds the font as a TrueType, just like the original file, the 8.71 code embeds it as a CIDFont with TrueType outlines. It seems the pre-flight doesn't check CIDFonts. So the file has the same problems it always has had, its simply that recent changes have exposed the problem to the pre-flight tool. At some point I will rewrite the TrueType embedding so that we get rid of the CMAP error, but there's no getting away from the fact that if you start from a subset font, the result is always going to be a subset font, and unacceptable in a PDF/A file. |