Re: A few quick questions about gtkprint

2009-04-15 Thread Chris Vine
On Wed, 15 Apr 2009 19:03:17 +0530 Vamsi Krishna Davuluri wrote: > Oh, the thing is sugar has bindings for the evince classes, which we > use as import modules. > And I will look into it for modules on printing. > Thanks for your time. > If you are on the #gtk+, can you tell me your nick, so I can

Re: A few quick questions about gtkprint

2009-04-15 Thread Vamsi Krishna Davuluri
Oh, the thing is sugar has bindings for the evince classes, which we use as import modules. And I will look into it for modules on printing. Thanks for your time. If you are on the #gtk+, can you tell me your nick, so I can ping you live when I am in a glitch :p On Wed, Apr 15, 2009 at 6:32 PM, Ch

Re: A few quick questions about gtkprint

2009-04-15 Thread Chris Vine
On Wed, 15 Apr 2009 17:48:18 +0530 Vamsi Krishna Davuluri wrote: > Thank you again! > Here is the code I was talking about; my code pretty much does the > job of printing .txt files and related mime types, > http://pastebin.be/17838 > But I would love to see your code as well. > > Our Read activ

Re: A few quick questions about gtkprint

2009-04-15 Thread Vamsi Krishna Davuluri
Thank you again! Here is the code I was talking about; my code pretty much does the job of printing .txt files and related mime types, http://pastebin.be/17838 But I would love to see your code as well. Our Read activity (sugar apps are called activities) supports a plethora of formats (let me jus

Re: A few quick questions about gtkprint

2009-04-15 Thread Chris Vine
On Wed, 15 Apr 2009 15:33:03 +0530 Vamsi Krishna Davuluri wrote: > Thanks for your effort and time Chris! > That pretty much answers all of my questions, one question though, > will poppler and such libs really be necessary when the file can > already be viewed by an application? As I think if a p

Re: A few quick questions about gtkprint

2009-04-15 Thread Vamsi Krishna Davuluri
Thanks for your effort and time Chris! That pretty much answers all of my questions, one question though, will poppler and such libs really be necessary when the file can already be viewed by an application? As I think if a page can be viewed, without doubt it can be rendered to cairo objects. I h

Re: A few quick questions about gtkprint

2009-04-15 Thread Chris Vine
On Wed, 15 Apr 2009 10:24:13 +0100 Chris Vine wrote: > At the library user level, gtk-print doesn't convert to ps or pdf in > order to print. It uses cairo/pango-cairo to write each page to a > cairo context. It becomes clearer if you look at the documentation > for GtkPrintOperation (including

Re: A few quick questions about gtkprint

2009-04-15 Thread Chris Vine
On Wed, 15 Apr 2009 07:02:07 +0530 Vamsi Krishna Davuluri wrote: > > hello, > > I am a gsoc applicant for sugar, and doing a project which adds print > support to our applications. > The idea is to convert our mime types to a more printable format and > print them. > So, now the question is how

A few quick questions about gtkprint

2009-04-14 Thread Vamsi Krishna Davuluri
hello, I am a gsoc applicant for sugar, and doing a project which adds print support to our applications. The idea is to convert our mime types to a more printable format and print them. So, now the question is how does convertion to ps/pdf take place with gtkprint I would like to know if it is tr