Summary: | /NeverEmbed /AlwaysEmbed options for TRUETYPE fonts | ||
---|---|---|---|
Product: | Ghostscript | Reporter: | Tolga <montython> |
Component: | PDF Writer | Assignee: | Ken Sharp <ken.sharp> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | htl10, ray.johnston |
Priority: | P4 | ||
Version: | 8.62 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Customer: | Word Size: | --- |
Description
Tolga
2008-07-01 06:12:10 UTC
Times is one of the standard 13, and Palatino is one of the standard 35; they are probably treated specially, compared to other fonts? Tested the HEAD revision by adding the following line to fontmap.GS: /TimesNewRomanPSMT (C:/Windows/Fonts/times.ttf) ; Then executing this PostScript: %! <</NeverEmbed [/TimesNewRomanPSMT] >> setdistillerparams /TimesNewRomanPSMT 72 selectfont 72 72 moveto (a) show showpage This works correctly. Then added to fontmap.GS: /Times-New-Roman /TimesNewRomanPSMT ; and ran this PostScript: %! <</NeverEmbed [/Times-New-Roman] >> setdistillerparams /Times-New-Roman 72 selectfont 72 72 moveto (a) show showpage This also (correctly) does not embed the font. The font name called for by the PostScript file must be correctly defined; if you want to use 'Times New Roman' as the font name then you must define it properly, eg if you want to use spaces: << /NeverEmbed [ (Times New Roman) cvn ] >> Thanks to Leonardo for the investigation. |