Re: pango_layout_set_height()

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_metrics.height.  Which one is more common (using actual text,
> or font metrics).

Damn, you are more clever than me.
Guess this would be sufficient for calendar details.

Mathias Hasselmann <mathias hasselmann gmx de>
Openismus GmbH:
Personal Site:

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]