Summary: | Fonts changed from TrueType to CID TrueType and not displaying correctly in output PDF | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | George Norris <george.norris> |
Component: | PDF Writer | Assignee: | Ken Sharp <ken.sharp> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P4 | ||
Version: | 8.70 | ||
Hardware: | Sun | ||
OS: | SunOS | ||
Customer: | Word Size: | --- |
Description
George Norris
2010-06-11 18:07:43 UTC
(In reply to comment #0) > Bug Description: > =============== > > When we use gs (8.70) to convert a PostScript file to a PDFA file, in some > cases, it is changing the fonts from TrueType fonts to CID TrueType fonts. > The PDFA file is viewable, but the fonts are not displaying correctly. The conversion to CIDFont is required, because the embedded TrueType fonts are symbolic and most TrueType font contains multiple CMAP subtables. The PDF/A specification insists that non-symbolic TrueType fonts shall have either a WinAnsiEncoding or MacRomanEncoding, which isn't possible with these fonts, and that symbolic fonts shall have exactly one CMAP. So we convert all TrueType fonts into CIDFonts for the purposes of PDF/A compliance. NB Adobe Acrobat Distiller exhibits the same behaviour with this PostScript file, in terms of converting the fonts into CIDFonts. The fonts do not appear to be correctly embedded, which is unusual, and may be due to the conversion to PostScript. Notice that ps2write issues warnings relating to CMAP subtables and that an Encoding is incomplete, when processing the original PDF file. Considerable further investigation will be required to discover exactly what the issues are here. However, you might try converting to PDF/A directly from the original PDF, rather than first converting to PostScript, the results might be better. This has been fixed by (I believe) revision 11742. Certainly the supplied file works with the current revision of Ghostscript using the supplied command line. Tested on Windows and Linux as I don't have a SunOS installation to test on. |