Re: wxEuphoria - get_facenames() issue

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

Greg Haberek wrote:
> 
> 
> Matt,
> 
> In testing, I've found that get_facenames() returns all font faces, even when
> asked to only return fixed-width fonts. I've mocked up a font browser demo
> below. Also, is there some way to get the available point sizes? Right now I'm
> just hard-coding the "standard" values.

Yep, this is a bug.  Line 724 of wxGraphics.cpp should be:

    wxArrayString fn = enumerator.GetFacenames(encoding, fixed);

I don't see a way in the documentation to get 'valid' point sizes.  If you're
actually picking a font, the recommended way is to use font_selector().

Matt

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

Search



Quick Links

User menu

Not signed in.

Misc Menu