Re: alternative to gtk_font_selection_get_font()



On Sun, 2001-10-14 at 05:02, Havoc Pennington wrote:
> 
> murrayc t-online de (Murray Cumming) writes:
> > gtk_font_selection_get_font() and gtk_font_selection_dialog_get_font()
> > are deprecated. What should be used instead? The fontname?
> > 
> > I notice that most functions that involve GdkFont are deprecated. Is
> > GdkFont used anywhere anymore?
> 
> No, totally deprecated. Pango should be used instead. 
> font_selection_get_font_name() replaces get_font(), it returns a Pango
> font description in string form. (pango_font_description_to_string())

Is that the same string that's given to
pango_font_description_from_string().

Also is that string ASCII or might it ever be UTF8?

-- 
Murray Cumming
murrayc usa net
www.murrayc.com





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