diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-07-23 11:17:34 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-07-23 12:26:14 +0200 |
commit | 3129552b2cc7c3604ff50bb95a12086b4b3fa6e8 (patch) | |
tree | f7783fe7933bf8ec2228a3d5c4b833b84f95aa24 /pdf | |
parent | 587f46f9027bb6fa3eeda2b82990069ae07bff90 (diff) | |
download | mupdf-3129552b2cc7c3604ff50bb95a12086b4b3fa6e8.tar.xz |
Use FT_ENCODING_MS_SYMBOL encoding for symbolic TrueType fonts.
Fixes http://code.google.com/p/sumatrapdf/issues/detail?id=1815
Diffstat (limited to 'pdf')
-rw-r--r-- | pdf/pdf_font.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pdf/pdf_font.c b/pdf/pdf_font.c index 8b6ef180..8599ae00 100644 --- a/pdf/pdf_font.c +++ b/pdf/pdf_font.c @@ -497,6 +497,8 @@ pdf_load_simple_font(pdf_document *xref, pdf_obj *dict) cmap = test; if (test->platform_id == 3 && test->encoding_id == 1) cmap = test; + if (symbolic && test->platform_id == 3 && test->encoding_id == 0) + cmap = test; } } |