How can I test if a font is installed?
Ultimately, I want to implement a HTML-like font selection, i.e. when specifying e.g. ‘Verdana,Arial’, it should pick the first font that is installed.
This Question provides an answer for .NET – it seems the recommended way is to create the font, and then cmpare the font face actually used.
Is that the most efficient way?
You can use EnumFontFamiliesEx to enumerate the list of Fonts on the system, or if you pass a font name you can enumerate the fonts for that family.