summaryrefslogtreecommitdiff
path: root/source/xps
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2017-08-08 13:41:31 +0200
committerTor Andersson <tor.andersson@artifex.com>2017-08-17 13:38:48 +0200
commit7225ddf9df514c6c88ecbe01c708137a324456c7 (patch)
tree9bbe65936eb4a95636bca0cf151975be41712dbc /source/xps
parentaf356930857b57d4f0d9a193603d64ab709a8e56 (diff)
downloadmupdf-7225ddf9df514c6c88ecbe01c708137a324456c7.tar.xz
Add FZ_REPLACEMENT_CHARACTER define for U+FFFD character.
Diffstat (limited to 'source/xps')
-rw-r--r--source/xps/xps-glyphs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/xps/xps-glyphs.c b/source/xps/xps-glyphs.c
index 55a8a362..29dc5b39 100644
--- a/source/xps/xps-glyphs.c
+++ b/source/xps/xps-glyphs.c
@@ -378,7 +378,7 @@ xps_parse_glyphs_imp(fz_context *ctx, xps_document *doc, const fz_matrix *ctm,
while ((us && un > 0) || (is && *is))
{
- int char_code = 0xFFFD;
+ int char_code = FZ_REPLACEMENT_CHARACTER;
int code_count = 1;
int glyph_count = 1;