diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-08-25 12:44:13 +0200 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-08-30 16:55:25 +0200 |
commit | 85ee87997e3ee4eb579084f92d109b9b78dcf9c7 (patch) | |
tree | 25bf20b8d2d5acf7a4ff61c52fdd41528f48da6d /source/xps/xps-glyphs.c | |
parent | bf32163059811c822c46e2e17142f517cf9a0bac (diff) | |
download | mupdf-85ee87997e3ee4eb579084f92d109b9b78dcf9c7.tar.xz |
Use U+FFFD instead of '?' for bad encodings in text extraction.
Diffstat (limited to 'source/xps/xps-glyphs.c')
-rw-r--r-- | source/xps/xps-glyphs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/xps/xps-glyphs.c b/source/xps/xps-glyphs.c index a5d3f196..407953e8 100644 --- a/source/xps/xps-glyphs.c +++ b/source/xps/xps-glyphs.c @@ -389,7 +389,7 @@ xps_parse_glyphs_imp(fz_context *ctx, xps_document *doc, const fz_matrix *ctm, while ((us && un > 0) || (is && *is)) { - int char_code = '?'; + int char_code = 0xFFFD; int code_count = 1; int glyph_count = 1; |