diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2017-03-03 12:18:39 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2017-03-03 12:48:21 +0100 |
commit | 4c16a5371c109be8d52eae8690ab96ceebf1349b (patch) | |
tree | 5597f48089c9e706ee4047b4e82442a360643166 /source/pdf/pdf-type3.c | |
parent | d84fc450c0434d9b0c7230e39a55b29d979af0fe (diff) | |
download | mupdf-4c16a5371c109be8d52eae8690ab96ceebf1349b.tar.xz |
pdf: Additional entries in Mac OS Roman encoding not in MacRomanEncoding.
When encoding truetype fonts via the mac roman cmap table, we should be
using the additional entries introduced in PDF 1.5, which are different
from the standard MacRomanEncoding table in the appendix.
Diffstat (limited to 'source/pdf/pdf-type3.c')
-rw-r--r-- | source/pdf/pdf-type3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-type3.c b/source/pdf/pdf-type3.c index 677a26e5..3eeff1f8 100644 --- a/source/pdf/pdf-type3.c +++ b/source/pdf/pdf-type3.c @@ -19,7 +19,7 @@ pdf_font_desc * pdf_load_type3_font(fz_context *ctx, pdf_document *doc, pdf_obj *rdb, pdf_obj *dict) { char buf[256]; - char *estrings[256]; + const char *estrings[256]; pdf_font_desc *fontdesc = NULL; pdf_obj *encoding; pdf_obj *widths; |