Re: [pygtk] Display PostScript files in PyGTK without conversion?

2007-11-06 Thread Chris Cole
Donn wrote: but I'm not really sure how to display a cairo context or surface inside gtk. I'm guessing you have to use a gtk.DrawingArea or something like that but I haven't been able to figure it out... Hey, it's your lucky day! I just posted that to the wiki: http://cairographics.org//quickfra

Re: [pygtk] Display PostScript files in PyGTK without conversion?

2007-11-06 Thread Kevin Milner
After spending a lot of time following leads, and often thinking that I was very close, I gave up. I thought that cairo could do what I wanted, but I believe (correct me if I'm wrong) that PSSurface can write the contents of a cairo context which is displayed on a gtk.DrawingArea to a PS file (

Re: [pygtk] Display PostScript files in PyGTK without conversion?

2007-11-06 Thread Chris Cole
Donn wrote: however I would need a way to display PostScript files. I hear that Cairo (pyCairo) can do stuff with postscript as well as pdf. You should def. play around with it. You're right cairo does do some stuff with postscript and pdf but I'm running into the same problem. After a litt

Re: [pygtk] Display PostScript files in PyGTK without conversion?

2007-11-01 Thread Gian Mario Tagliaretti
2007/11/1, Dieter Verfaillie <[EMAIL PROTECTED]>: > There are python bindings for the poppler library floating around the > web. poppler is the library used by eg evince to render pdf, ps, etc. I was working with Ali Afshar on poppler-glib python bindings [1] but we had a break..., I'm sure that

Re: [pygtk] Display PostScript files in PyGTK without conversion?

2007-11-01 Thread Dieter Verfaillie
Hello, There are python bindings for the poppler library floating around the web. poppler is the library used by eg evince to render pdf, ps, etc. Dieter On Wed, 2007-10-31 at 17:32 -0700, Kevin Milner wrote: > Hello all, I am working on some geodynamics calculation/visualization > software in

Re: [pygtk] Display PostScript files in PyGTK without conversion?

2007-10-31 Thread Donn
> however I would need a way > to display PostScript files. I hear that Cairo (pyCairo) can do stuff with postscript as well as pdf. You should def. play around with it. \d ___ pygtk mailing list pygtk@daa.com.au http://www.daa.com.au/mailman/listinf

[pygtk] Display PostScript files in PyGTK without conversion?

2007-10-31 Thread Kevin Milner
Hello all, I am working on some geodynamics calculation/visualization software in python and am about to create a GUI. I like PyGTK so far, and would prefer to use it in our software, however I would need a way to display PostScript files. Obviously I could convert them to another format and us