diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-02-22 12:39:43 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-02-22 12:39:43 +0100 |
commit | 35a0cb70629c57eb94cb99fec83f994d3d496a7b (patch) | |
tree | 0ca6829138eb11ce917586e2575fa45ad66fa4c4 /source/pdf/pdf-appearance.c | |
parent | 6c70e3bde6aa39250596a553ec2952700b214d05 (diff) | |
download | mupdf-35a0cb70629c57eb94cb99fec83f994d3d496a7b.tar.xz |
Rename fz_add_text to fz_show_glyph.
Match naming of fz_moveto/lineto etc for paths.
Diffstat (limited to 'source/pdf/pdf-appearance.c')
-rw-r--r-- | source/pdf/pdf-appearance.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-appearance.c b/source/pdf/pdf-appearance.c index 466978b5..5754c2e5 100644 --- a/source/pdf/pdf-appearance.c +++ b/source/pdf/pdf-appearance.c @@ -1908,7 +1908,7 @@ static void add_text(fz_context *ctx, font_info *font_rec, fz_text *text, char * str += n; str_len -= n; gid = fz_encode_character(ctx, font, ucs); - fz_add_text(ctx, text, font, 0, &tm, gid, ucs); + fz_show_glyph(ctx, text, font, 0, &tm, gid, ucs); tm.e += fz_advance_glyph(ctx, font, gid) * font_rec->da_rec.font_size; } } |