Yeah, yeah, I know you can double click the file in Windows Explorer and it will display the true name for you. But what if you want to let the user pick his own font?
I'm writing a wee program that'll arrange fonts in a bitmap, but as many of you know, if you supply the fonts filename (i.e. use a file request) instead of it's true name Blitz will just shrug it's shoulders and default to Ariel without reporting any problems.
Is it safe or reliable just to peek the font's header file (assuming it has one) or has someone already written a handy userlib to get the true names?
I already tried the search function on the site, so I'm not too hopeful. But thanks in advance to anyone that can help.
I'm writing a wee program that'll arrange fonts in a bitmap, but as many of you know, if you supply the fonts filename (i.e. use a file request) instead of it's true name Blitz will just shrug it's shoulders and default to Ariel without reporting any problems.
Is it safe or reliable just to peek the font's header file (assuming it has one) or has someone already written a handy userlib to get the true names?
I already tried the search function on the site, so I'm not too hopeful. But thanks in advance to anyone that can help.