![](https://secure.gravatar.com/avatar/cb05f8930948859ba6f5eafcdc14e722.jpg?s=120&d=mm&r=g)
10 Dec
2007
10 Dec
'07
8:17 p.m.
Using the Cairo renderer that was written for PDF and PS export, I've hooked up the GTK print dialog system. This provides Inkscape with a cross-platform printing dialog (finally).
In the past, we have had two methods of printing: vector and bitmap (for things that don't render correctly in PS). In the new print dialog, the "Rendering" tab exists to control this. In "Cairo" mode, it uses the Cairo renderer, and in "bitmap" mode it uses the PNG export code to populate a Cairo surface.
The bulk of the new code is in:
src/ui/widgets/rendering-options.* src/ui/dialog/print.* src/print.cpp
There is some strange behavior in bitmap mode (offset from origin) that I haven't narrowed down yet.
--
Kees Cook @outflux.net