Re: pango_layout_set_height()

2008-01-22 Thread Mathias Hasselmann
Am Dienstag, den 22.01.2008, 05:14 -0500 schrieb Behdad Esfahbod: > - Most of the time you have allocated height and that's positive. > So > this is relevant only in size_request(), not size_allocate(). In > size_request() it's probably a very valid argument, but one may still > use 2*font_metr

Re: pango_layout_set_height()

2008-01-22 Thread Behdad Esfahbod
On Tue, 2008-01-22 at 10:58 +0100, Mathias Hasselmann wrote: > > > I don't have any concrete uses for the negative cases other than -1 at > > this time, so it's not a huge issue to me. But read below. > > GtkCalendar details would make use of other negative values than -1. > Why can't a default

Re: pango_layout_set_height()

2008-01-22 Thread Mathias Hasselmann
Am Montag, den 21.01.2008, 23:23 -0500 schrieb Behdad Esfahbod: > Hi, > > In pango-1.19.3 that just hit the door is the new API: > > void pango_layout_set_height (PangoLayout *layout, > int height); Behadad, thanks alot for this ve

pango_layout_set_height()

2008-01-21 Thread Behdad Esfahbod
Hi, In pango-1.19.3 that just hit the door is the new API: void pango_layout_set_height (PangoLayout *layout, int height); Copying from release notes: This sets the height to which