summaryrefslogtreecommitdiff
path: root/fitz/res_font.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2010-04-15 22:47:30 +0200
committerTor Andersson <tor@ghostscript.com>2010-04-15 22:47:30 +0200
commit1eb85415e888d1e31f528ecf92d726ee1b3f5d3f (patch)
tree4474e3db97d27b7d029fc8ab4f96062091ea0be6 /fitz/res_font.c
parentfb78f34f9409eddd48323a22978c911b96c4a026 (diff)
downloadmupdf-1eb85415e888d1e31f528ecf92d726ee1b3f5d3f.tar.xz
Make the content stream interpreter automatically rewind the fz_buffer.
Diffstat (limited to 'fitz/res_font.c')
-rw-r--r--fitz/res_font.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fitz/res_font.c b/fitz/res_font.c
index 22e380cc..c68a8953 100644
--- a/fitz/res_font.c
+++ b/fitz/res_font.c
@@ -391,7 +391,6 @@ fz_rendert3glyph(fz_glyph *glyph, fz_font *font, int gid, fz_matrix trm)
cache = fz_newglyphcache(512, 512*512);
dev = fz_newdrawdevice(cache, pixmap);
- contents->rp = contents->bp;
error = font->t3runcontentstream(dev, ctm, font->t3xref, font->t3resources, contents);
if (error)
fz_catch(error, "cannot draw type3 glyph");