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.

Rook: If only it were that easy. :) The TTF file names are not necessarily the name of the actual font - that information is embedded in the TTF, itself.

Dazman: Thanks for the heads up! :) It does, at least, seem to be a partial solution - it can't get 'extended' names, though, so "Ransom Bold" and "Ransom Italic" both come back as just "Ransom". Maybe I can improve on this, but if not, it'll be fine as it is.

BlackJumper: Cheers. I'll go take a look in bug reports. ;)