After I wrote the code to look up TTF fontnames from the file (http://www.blitzbasic.com/codearcs/codearcs.php?code=893
) I tried to do the same for .FON files. I couldn't find any file layout info or even a DLL that BB can use. (let me know if you can find something)
In the end I decided to forget about .FON fonts because TTFs often render much nicer than raster/vector fonts anyway.
I was still frustrated that I couldn't determine if a TTF file was a Symbol font or not since BB doesn't support them (like wingdings etc).
NB: There's a lot more font info available via the GDI32 api but it's not available to BB because it requires callbacks. :-(
) I tried to do the same for .FON files. I couldn't find any file layout info or even a DLL that BB can use. (let me know if you can find something)
In the end I decided to forget about .FON fonts because TTFs often render much nicer than raster/vector fonts anyway.
I was still frustrated that I couldn't determine if a TTF file was a Symbol font or not since BB doesn't support them (like wingdings etc).
NB: There's a lot more font info available via the GDI32 api but it's not available to BB because it requires callbacks. :-(