summaryrefslogtreecommitdiff
path: root/fitz/res_font.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-07-15 20:38:23 +0000
committerTor Andersson <tor@ghostscript.com>2010-07-15 20:38:23 +0000
commit48c7edd1961e2dbb3aaff05618b701001f879c31 (patch)
treeac6d3169d50708c4083d866b88a0d73a6c706bd2 /fitz/res_font.c
parentda6068d929e5bf9dc79b546bd014bd46289630e2 (diff)
downloadmupdf-48c7edd1961e2dbb3aaff05618b701001f879c31.tar.xz
Check page for transparency to install a page-level transparency group.
Diffstat (limited to 'fitz/res_font.c')
-rw-r--r--fitz/res_font.c6
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);