diff options
Diffstat (limited to 'fitz/res_font.c')
-rw-r--r-- | fitz/res_font.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fitz/res_font.c b/fitz/res_font.c index aca58c0b..368c4919 100644 --- a/fitz/res_font.c +++ b/fitz/res_font.c @@ -24,7 +24,7 @@ fz_newfont(void) font->t3procs = nil; font->t3widths = nil; font->t3xref = nil; - font->t3runcontentstream = nil; + font->t3run = nil; font->bbox.x0 = 0; font->bbox.y0 = 0; @@ -466,7 +466,7 @@ fz_rendert3glyph(fz_font *font, int gid, fz_matrix trm) ctm = fz_concat(font->t3matrix, trm); dev = fz_newbboxdevice(&bbox); - error = font->t3runcontentstream(dev, ctm, font->t3xref, font->t3resources, contents); + error = font->t3run(font->t3xref, font->t3resources, contents, dev, ctm); if (error) fz_catch(error, "cannot draw type3 glyph"); fz_freedevice(dev); @@ -476,7 +476,7 @@ fz_rendert3glyph(fz_font *font, int gid, fz_matrix trm) cache = fz_newglyphcache(); dev = fz_newdrawdevice(cache, glyph); - error = font->t3runcontentstream(dev, ctm, font->t3xref, font->t3resources, contents); + error = font->t3run(font->t3xref, font->t3resources, contents, dev, ctm); if (error) fz_catch(error, "cannot draw type3 glyph"); fz_freedevice(dev); |