not using libgnomeprint[ui]?

Bug #59129 reported by Brian J. Murrell
2
Affects Status Importance Assigned to Milestone
evince (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

In Edgy, I opened a PS document with evince with the hope to print (IOW: convert) to PDF and found that the print dialog is not the same as most other gnome apps. It doesn't look like gnome-print (libgnomeprint[ui] that is).

So, I used ldd to see what libs evince (0.6.0 btw) depends on and lo-and-behold, no libgnomeprint[ui]. Why?

Revision history for this message
Corey Burger (corey.burger) wrote :

GTK 2.10 has merged the libgnomeprint stuff into GTK itself. Evince is using this new print dialog, hence why it looks different.

Changed in evince:
status: Unconfirmed → Rejected
Revision history for this message
Brian J. Murrell (brian-interlinx) wrote :

But evince and (for example) gedit are using the same version of libgtk (libgtk2.0-0 2.10.2-0ubuntu) yet have different print dialogs and gedit still links to libgnomeprint[ui} and has a Create a PDF Document option which evince doesn't have.

I don't suppose I really much care about why the dialogs look different as much as I care that evince doesn't have a "Print to PDF" option (yet most other gnome applications do).

Revision history for this message
Sebastien Bacher (seb128) wrote :

Corey, that's not libgnomeprint to GTK but a new printing code

Brian, applications have to use the new API, so it requires some work. gedit has not been ported yet. Look at yelp or epiphany-browser if you want example of other applications using the new printing code

Revision history for this message
Brian J. Murrell (brian-interlinx) wrote :

Ahhh.

> Corey, that's not libgnomeprint to GTK but a new printing code

libgnomeprint was not "merged" into GTK then, but GTK developed their own printing code along with their own dialog?

> Brian, applications have to use the new API, so it requires some work.

Indeed. See, the way it seemed to me, is that if GTK did just simply take libgnomeprint and merged it in, API and all, why would anything still be using libgnomeprint libraries. But if they developed their own, alternate printing code and dialog, complete with a new API, it does indeed make more sense.

> Look at yelp or epiphany-browser

Indeed. Yelp also has no ability to print to a PDF file now too. This is seeming like a step backwards. Or is there something I have to do to enable PDF printing in the new GTK print system/dialog?

Revision history for this message
Sebastien Bacher (seb128) wrote :

feel free to open a bug on gtk+2.0 about the PDF printing feature request

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.