Re: The future of GdkFont declarations



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]