summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-op-run.c
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2016-10-02 13:23:30 -0400
committerRobin Watts <robin.watts@artifex.com>2016-10-07 16:56:46 +0100
commitf5263de25f42552fce13944b23238676503d0e9d (patch)
tree134493fbf676873854a37a8e9a7351f13a8c4713 /source/pdf/pdf-op-run.c
parent21b695f447ad3fa852e11a4f20b0576ab75b527f (diff)
downloadmupdf-f5263de25f42552fce13944b23238676503d0e9d.tar.xz
Add ctx to fz_font functions.
Diffstat (limited to 'source/pdf/pdf-op-run.c')
-rw-r--r--source/pdf/pdf-op-run.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/pdf/pdf-op-run.c b/source/pdf/pdf-op-run.c
index ff3034fe..bfee0866 100644
--- a/source/pdf/pdf-op-run.c
+++ b/source/pdf/pdf-op-run.c
@@ -926,7 +926,7 @@ pdf_show_char(fz_context *ctx, pdf_run_processor *pr, int cid)
/* If we are a type3 font within a type 3 font, or are otherwise
* uncachable, then render direct. */
- render_direct = (!fz_font_ft_face(fontdesc->font) && pr->nested_depth > 0) || !fz_glyph_cacheable(ctx, fontdesc->font, gid);
+ render_direct = (!fz_font_ft_face(ctx, fontdesc->font) && pr->nested_depth > 0) || !fz_glyph_cacheable(ctx, fontdesc->font, gid);
/* flush buffered text if rendermode has changed */
if (!pr->text || gstate->render != pr->text_mode || render_direct)