True-Type Fonts and "internal font name"?

Blitz3D Forums/Blitz3D Programming/True-Type Fonts and "internal font name"?

Hi! I would like to use LoadFont() with a ttf font.

From scanning forum posts, this apparently can be accomplished in Blitz3d if:

(a) The font is in the same directory as the program, and

(b) The filename of the font is the same as the "internal font name".

However, to test this theory I have to know the "internal font name" - and how can I find that out?

Some posts recommend to "double-click the font" to get the internal font name, but when I double-click a font file, I just get Windows - as expected - asking me which program I would like to have open the file.

I tried right-click, "Properties" but got no help there either.

What is this mysterious "internal font name" and where is it hidden?

Thanks!

Windows Fonts Viewer opens up when I double click on a ttf font. It may be an XP only thing. Google has a ton of free font viewers. I'm sure one of them will do the trick.

Thanks! With some help from a "fonts viewer" I tested a couple of ttf fonts and they do seem to load correctly. Hurrah!


It may be an XP only thing.



Standard Windows Font-Viewer works fine for .TTF fonts for me on WinXP...

;-

I downloaded a load of Star Trek ttf fonts, then found that Blitz would only show about half of them, (even though there was no error on load), and defaulted back to Arial. Can't explain this - it seems that Blitz just does not like some fonts. Had to painstakingly work through them all to find out what Blitz would or would not display.