summaryrefslogtreecommitdiff
path: root/Resource
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2022-05-31 08:34:40 +0100
committerChris Liddell <chris.liddell@artifex.com>2022-05-31 08:41:41 +0100
commita74ec378076af5059773e7e7b1c73b58b3e21714 (patch)
treec4116479857bfbc2bbbcad50c03eb81485dfb792 /Resource
parentcd8ab87d5b34830c61708e191dbf2f8d835cd8ec (diff)
downloadghostpdl-a74ec378076af5059773e7e7b1c73b58b3e21714.tar.gz
Bug 705321: More refinement of symbolic TT font with encoding
The spec states that a font marked as symbolic shouldn't have an encoding, and, for TTF, should include a 3,0 cmap table in the font. The spec does not cover what to do when those conditions aren't met. Latest guess: if a symbolic font doesn't have a 3,0 (symbolic) cmap, and *does* have a 3,1 (Unicode) cmap, then remove the symbolic flag, and use WinAnsiEncoding. If the font doesn't have a 3,1 cmap, it *should* have a 1,0 (Macintosh) cmap, so use MacRomanEncoding. Finally, non-symbolic fonts do not draw the TTF notdef, whilest symbolic fonts do draw it. Include a (slightly horrid) way to cope with that.
Diffstat (limited to 'Resource')
0 files changed, 0 insertions, 0 deletions