summaryrefslogtreecommitdiff
path: root/source/xps/xps-glyphs.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-02-22 12:39:43 +0100
committerTor Andersson <tor.andersson@artifex.com>2016-02-22 12:39:43 +0100
commit35a0cb70629c57eb94cb99fec83f994d3d496a7b (patch)
tree0ca6829138eb11ce917586e2575fa45ad66fa4c4 /source/xps/xps-glyphs.c
parent6c70e3bde6aa39250596a553ec2952700b214d05 (diff)
downloadmupdf-35a0cb70629c57eb94cb99fec83f994d3d496a7b.tar.xz
Rename fz_add_text to fz_show_glyph.
Match naming of fz_moveto/lineto etc for paths.
Diffstat (limited to 'source/xps/xps-glyphs.c')
-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 a87c2862..5d343428 100644
--- a/source/xps/xps-glyphs.c
+++ b/source/xps/xps-glyphs.c
@@ -450,7 +450,7 @@ xps_parse_glyphs_imp(fz_context *ctx, xps_document *doc, const fz_matrix *ctm,
tm.f = y - v_offset;
}
- fz_add_text(ctx, text, font, is_sideways, &tm, glyph_index, char_code);
+ fz_show_glyph(ctx, text, font, is_sideways, &tm, glyph_index, char_code);
x += advance * 0.01f * size;
}