Re: The future of GdkFont declarations
- From: Havoc Pennington <hp redhat com>
- To: ERDI Gergo <cactus cactus rulez org>
- Cc: jcf tpg com au, gtk-devel-list gnome org
- Subject: Re: The future of GdkFont declarations
- Date: 01 May 2001 17:33:23 -0400
ERDI Gergo <cactus cactus rulez org> writes:
>
> BTW, I'd like to port GnomeAbout to Pango, for which I will need to use
> pango_font_get_metrics and something to get the width of a given string (I
> forgot the function's name, but I remember seeing it somewhere). However,
> both of these need a `lang' argument. What is it for and what should I
> pass there?
>
No, that's all wrong. If you aren't using PangoLayout you are doing it
wrong, I promise. ;-)
You should not need the lang, or any of that. Just
gtk_widget_create_pango_layout().
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]