pdf output broken on windows and mac

Bug #426559 reported by moaxey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cairo Plot
New
Undecided
Unassigned

Bug Description

using CairoPlot 1.1 produced damaged pdf files that cannot be read.

Unfortunately I need to run this on windows!

mac cairo installed through macports:
cairo 1.8.8
py26-cairo 1.8.4

windows cairo installed through gtk+runtime2.6.15 binary
pycairo 1.4.1
libcairo-2.dll

works successfully on ubuntu
libcairo2 1.8.6
python-cairo 1.4.12

Revision history for this message
moaxey (moaxey) wrote :
Revision history for this message
moaxey (moaxey) wrote :

replying to my own bug

the reason for this is on these lines of the CairoPlot.py file:

89 elif sufix == "pdf":
90 self.surface = cairo.PSSurface(surface, width, height)
91 else:

That should be cairo.PDFSurface(...

Then pdf output works on all platforms

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.