summaryrefslogtreecommitdiff
path: root/fitz/res_font.c
diff options
context:
space:
mode:
Diffstat (limited to 'fitz/res_font.c')
-rw-r--r--fitz/res_font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fitz/res_font.c b/fitz/res_font.c
index 948b2bdd..e5027d5b 100644
--- a/fitz/res_font.c
+++ b/fitz/res_font.c
@@ -546,7 +546,7 @@ fz_render_t3_glyph(fz_font *font, int gid, fz_matrix trm)
fz_clear_pixmap(glyph);
cache = fz_new_glyph_cache();
- dev = fz_new_draw_device(cache, glyph);
+ dev = fz_new_draw_device_type3(cache, glyph);
error = font->t3run(font->t3xref, font->t3resources, contents, dev, ctm);
if (error)
fz_catch(error, "cannot draw type3 glyph");