summaryrefslogtreecommitdiff
path: root/source/fitz/stext-device.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/fitz/stext-device.c
parenta76adb3dce6360d08aa5eeb7a23da50c3af81c10 (diff)
downloadmupdf-07b0e5e758d77e6b9b3049e13cb386128be1592c.tar.xz
Add fz_show_string function and move wmode argument to end.
Diffstat (limited to 'source/fitz/stext-device.c')
-rw-r--r--source/fitz/stext-device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/fitz/stext-device.c b/source/fitz/stext-device.c
index 1decf5af..83bde371 100644
--- a/source/fitz/stext-device.c
+++ b/source/fitz/stext-device.c
@@ -800,7 +800,7 @@ fz_stext_extract(fz_context *ctx, fz_stext_device *dev, fz_text_span *span, cons
fz_concat(&trm, &tm, ctm);
/* Calculate bounding box and new pen position based on font metrics */
- adv = fz_advance_glyph(ctx, font, span->items[i].gid);
+ adv = fz_advance_glyph(ctx, font, span->items[i].gid, style->wmode);
/* Check for one glyph to many char mapping */
for (j = i + 1; j < span->len; j++)