summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-appearance.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-02-24 13:35:11 +0100
committerTor Andersson <tor.andersson@artifex.com>2016-02-24 13:41:56 +0100
commit07b0e5e758d77e6b9b3049e13cb386128be1592c (patch)
treec68e3d6d66ffc919ba751a83958d73b924e5849a /source/pdf/pdf-appearance.c
parenta76adb3dce6360d08aa5eeb7a23da50c3af81c10 (diff)
downloadmupdf-07b0e5e758d77e6b9b3049e13cb386128be1592c.tar.xz
Add fz_show_string function and move wmode argument to end.
Diffstat (limited to 'source/pdf/pdf-appearance.c')
-rw-r--r--source/pdf/pdf-appearance.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/pdf/pdf-appearance.c b/source/pdf/pdf-appearance.c
index 5754c2e5..1ac3a68f 100644
--- a/source/pdf/pdf-appearance.c
+++ b/source/pdf/pdf-appearance.c
@@ -1908,8 +1908,8 @@ 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_show_glyph(ctx, text, font, 0, &tm, gid, ucs);
- tm.e += fz_advance_glyph(ctx, font, gid) * font_rec->da_rec.font_size;
+ fz_show_glyph(ctx, text, font, &tm, gid, ucs, 0);
+ tm.e += fz_advance_glyph(ctx, font, gid, 0) * font_rec->da_rec.font_size;
}
}