summaryrefslogtreecommitdiff
path: root/xps/xps_glyphs.c
diff options
context:
space:
mode:
Diffstat (limited to 'xps/xps_glyphs.c')
-rw-r--r--xps/xps_glyphs.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/xps/xps_glyphs.c b/xps/xps_glyphs.c
index f7098ed1..94baa918 100644
--- a/xps/xps_glyphs.c
+++ b/xps/xps_glyphs.c
@@ -1,5 +1,4 @@
-#include "fitz.h"
-#include "muxps.h"
+#include "muxps-internal.h"
#include <ft2build.h>
#include FT_FREETYPE_H
@@ -307,7 +306,7 @@ xps_parse_glyphs_imp(xps_document *doc, fz_matrix ctm,
{
if (us && un > 0)
{
- int t = chartorune(&char_code, us);
+ int t = fz_chartorune(&char_code, us);
us += t; un -= t;
}
}