All pastes #125360 Raw Edit

Stuff

public text v1 · immutable
·published 2006-08-10 16:05 UTC
rendered paste body
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@novell.com> SUSE® Linux Enterprise 10 Your Linux is ready™ www.novell.com/linux _______________________________________________ Gtk-sharp-list maillist - Gtk-sharp-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/gtk-sharp-list