Re: wxEuphoria - get_facenames() issue
- Posted by Matt Lewis <matthewwalkerlewis at ?mail.co?> Jan 26, 2008
- 741 views
Matt Lewis wrote: > > Unfortunately, there is no way to get the available sizes through wxWidgets. > I did some research into doing this on GTK through pango (the GTK font lib > or whatever), and didn't see any obvious way to do it, or if it were > available at all. I suspect that I may have to go down into X itself to > get this information. Heh, got a better look at the pango docs, and I saw this function: void pango_font_face_list_sizes(PangoFontFace *face, int **sizes, int *n_sizes); So I guess it's actually pretty simple to do... Matt