Summary: | pdfwrite fails to embed type 42 font | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Steinar H. Gunderson <sgunderson> |
Component: | PDF Writer | Assignee: | Stefan Kemper <stefan.kemper> |
Status: | NOTIFIED INVALID | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | master | ||
Hardware: | PC | ||
OS: | Linux | ||
Customer: | Word Size: | --- | |
Attachments: | Sample PostScript file exhibiting the problem |
Description
Steinar H. Gunderson
2005-08-01 06:23:46 UTC
Created attachment 1588 [details]
Sample PostScript file exhibiting the problem
Reduced testcase with no images and only one used font. (Note that GhostScript
substitutes away Times New Roman and Arial, but that's OK -- the real problem
is that is doesn't embed Impact, which has the name TTE155C6B8T00 in this
file.)
Ghostscript works almost as designed. The file specifies <</EmbedAllFonts false >> distiller parameter. So the fonts are not embedded. Distiller doesn't embed the fonts either. The file also specifies <</CompatibilityLevel 1.1 >>. Acrobat distiller ignores this parameter and generates PDF 1.4. Ghostscript is confused by the requested version. By some reason, it converts one of the fonts to Type 3 when CompatibilityLevel <= 1.2 . Heh, that was quite unexpected :-) I had no idea at all that the .ps file would override my command-line settings, but thinking of it, it makes sense. Anyhow, grepping out the offending lines makes a PDF file with the fonts just as I'd want them. Thanks! |