diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2012-07-20 14:37:27 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2012-07-20 16:38:27 +0200 |
commit | 2bfb37fd1d0b0eecd001cb61ffcd15887c4603f7 (patch) | |
tree | 3a6ffb3c122913b23c7cda6d709faab226eaab1c /xps | |
parent | f8aa12ebc18d84bd6b18bf266f128cf6738ca812 (diff) | |
download | mupdf-2bfb37fd1d0b0eecd001cb61ffcd15887c4603f7.tar.xz |
Pass original font name to fz_new_font from PDF interpreter.
Improves text device output when using substitute fonts.
Fixes bug #693019.
Diffstat (limited to 'xps')
-rw-r--r-- | xps/xps_glyphs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xps/xps_glyphs.c b/xps/xps_glyphs.c index 64dac465..6a7a1dcc 100644 --- a/xps/xps_glyphs.c +++ b/xps/xps_glyphs.c @@ -520,7 +520,7 @@ xps_parse_glyphs(xps_document *doc, fz_matrix ctm, fz_try(doc->ctx) { - font = fz_new_font_from_memory(doc->ctx, part->data, part->size, subfontid, 1); + font = fz_new_font_from_memory(doc->ctx, NULL, part->data, part->size, subfontid, 1); } fz_catch(doc->ctx) { |