[gs-commits] mupdf/master - 0_7-14-gb322894 - Add a few lines that were omitted in the previous patch (appearance stream transforms).

Tor Andersson tor at ghostscript.com
Wed Oct 6 16:51:12 UTC 2010


commit b322894edb194b91f4df78b3397c3b0f911bd4c2
Author: Tor Andersson <tor at ghostscript.com>
Date:   Wed Oct 6 16:44:25 2010 +0000

    Add a few lines that were omitted in the previous patch (appearance stream transforms).
    
    Ignore-this: ba1a2a7f28689d82b14f6adfeddff20
    
    darcs-hash:20101006164425-f546f-3c70cea8d7097782700947012b9b6ce446991046.gz

 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/mupdf/pdf_interpret.c b/mupdf/pdf_interpret.c
index 787bfdd..e2e5565 100644
--- a/mupdf/pdf_interpret.c
+++ b/mupdf/pdf_interpret.c
@@ -1487,7 +1487,6 @@ pdf_runpage(pdf_xref *xref, pdf_page *page, fz_device *dev, fz_matrix ctm)
 	pdf_csi *csi;
 	fz_error error;
 	pdf_annot *annot;
-	fz_matrix atm;
 	int flags;
 
 	if (page->transparency)
@@ -1516,8 +1515,7 @@ pdf_runpage(pdf_xref *xref, pdf_page *page, fz_device *dev, fz_matrix ctm)
 		if (flags & (1 << 5)) /* NoView */
 			continue;
 
-		atm = fz_concat(ctm, fz_translate(annot->rect.x0, annot->rect.y0));
-		csi = pdf_newcsi(xref, dev, atm);
+		csi = pdf_newcsi(xref, dev, ctm);
 		error = pdf_runxobject(csi, page->resources, annot->ap);
 		pdf_freecsi(csi);
 		if (error)

--
git/hooks/post-receive


More information about the gs-commits mailing list