Re: wxEuphoria - get_facenames() issue
- Posted by Matt Lewis <matthewwalkerlewis at gma?l.co?> Jan 24, 2008
- 759 views
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