Re: printing gtktextview and text layout

2008-04-18 Thread Behdad Esfahbod
On Fri, 2008-04-18 at 17:30 +0200, Philippe Rouquier wrote: > > Le mardi 15 avril 2008 à 15:05 -0400, Behdad Esfahbod a écrit : > > On Sat, 2008-04-12 at 11:08 +0200, Philippe Rouquier wrote: > > > > > > Could someone help me with that please? > > > > Just reorder your code to use pango_cairo_s

Re: printing gtktextview and text layout

2008-04-18 Thread Philippe Rouquier
Le mardi 15 avril 2008 à 15:05 -0400, Behdad Esfahbod a écrit : > On Sat, 2008-04-12 at 11:08 +0200, Philippe Rouquier wrote: > > > > Could someone help me with that please? > > Just reorder your code to use pango_cairo_show_layout() for both display > and print, then make sure you set font opt

Re: printing gtktextview and text layout

2008-04-15 Thread Behdad Esfahbod
On Sat, 2008-04-12 at 11:08 +0200, Philippe Rouquier wrote: > > Could someone help me with that please? Just reorder your code to use pango_cairo_show_layout() for both display and print, then make sure you set font options on your PangoContext attached to the layout using pango_cairo_context_set