Re: wxEuphoria - get_facenames() issue

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu