From cd33181c702eb3e8c95a0ef3003ee9aa3e2e6670 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20Wobst?= Date: Wed, 11 Jun 2008 07:02:26 +0000 Subject: [PATCH] fix resources entry in pdf patterns git-svn-id: https://pyx.svn.sourceforge.net/svnroot/pyx/trunk/pyx@2999 069f4177-920e-0410-937b-c2a4a81bcd90 --- pyx/pattern.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyx/pattern.py b/pyx/pattern.py index a2b0cc1a..e39aed7d 100644 --- a/pyx/pattern.py +++ b/pyx/pattern.py @@ -312,6 +312,7 @@ class PDFpattern(pdfwriter.PDFobject): file.write("/XStep %f\n" % self.xstep) file.write("/YStep %f\n" % self.ystep) file.write("/Matrix %s\n" % str(self.trafo)) + file.write("/Resources ") self.patternregistry.writeresources(file) if writer.compress: import zlib -- 2.11.4.GIT