[Gtk-sharp-list] Pango.Cairo and DemoPrinting Gtk# 2.10
mkestner at novell.com
Wed Aug 9 16:45:51 EDT 2006
On Tue, 2006-08-08 at 21:41 +0200, Mikkel Kruse Johnsen wrote:
> Hi Again
> Here is an update for the DemoPrinting. I have wrapped Pango.Cairo
> (some of it) and made a patch for it.
> 1. unpack pangocairo.tar.gz in base gtk-sharp.
> 2. Copy DemoPrinting.cs to samples/GtkDemo
> 3. Patch it with PangoCairoPrinting.patch
> 4. run bootstrap-2.10
> There is no more manually wrapping in DemoPrinting.
> Could someone take a look at it and see if it can go into svn or if it
> needs more work and give me some feedback !!
So if I understand the patch correctly, pango_cairo_show_layout is the
only cairo backend method needed?
I don't think we want to expose the backend code in pango-sharp. If
there is really no way to draw a layout on a PrintContext without going
direct to the cairo backend, that seems like a bug.
Mike Kestner <mkestner at novell.com>
SUSE® Linux Enterprise 10
Your Linux is ready™
More information about the Gtk-sharp-list