[Gtk-sharp-list] Pango.Cairo and DemoPrinting Gtk# 2.10

Mike Kestner mkestner at novell.com
Thu Aug 10 13:37:23 EDT 2006


On Thu, 2006-08-10 at 09:39 +0200, Mikkel Kruse Johnsen wrote:

> So I think it should be wrapped.
> 
> Yes "pango_cairo_show_layout" is the only function nedded for the
> Printing Demo, but there must be other functions that is usefull. (I'm
> no pango nor cairo expert, so I could'nt say).

All right, after talking to the some cairo/pango folks, it seems this
part of the API is intended to be public.  Instead of creating a new
assembly to provide the API, I have just added pangocairo.h to the
pango-sharp parse and mapped those methods to libpangocairo for pinvoke
purposes.

I also committed your DemoPrinting sample.  When I run the sample, it
seems to run to completion okay, but I never see a page on my printer.
I have a fairly funky samba configuration to a network printer though.

Thanks for the patch.

-- 
Mike Kestner  <mkestner at novell.com>
SUSE® Linux Enterprise 10
Your Linux is ready™
www.novell.com/linux



More information about the Gtk-sharp-list mailing list