How to get font name?

Blitz3D Forums/Blitz3D Programming/How to get font name?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Using Blitz3D, does anybody know a way to get a list of all the names of installed fonts? Is there a DLL or something knocking around to do this?

I thought about just parsing all the .ttf files in the fonts directory to get the names, but this appears to be more difficult than I hoped. I did find an article on the web explaning how to do it in C++ but I'd like to know if there's a simpler way first, before getting bogged down trying to figure that out. :)

Thanks in advamce.