Font lists


#1

Hi.
I want to create a list of all available fonts to be used in a menu.

Using Font::findFonts i can get all the fonts on the system and then use getTypefaceName to get the font name. this typically seems to take about 10 seconds on the mac and i was wondering if it would be any faster if I could use getAllAvailableFontNames() , which is currently private?


#2

Hmm. I guess it might be a bit faster, and if you don’t need the fonts, then there’s no point in loading them. I suppose it wouldn’t hurt to make that method public…


#3