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

printing gtktextview and text layout

2008-04-12 Thread Philippe Rouquier
Hi, In brasero I recently started to work on a WYSIWYG cover editor. I ran into a problem when I try to print something: the layout of the text is not exactly similar to what is displayed on screen. For example, if I make a line of "a" that goes from the left side to the right side and if I try to