TrueType Font Widths

Blitz3D Forums/Blitz3D Programming/TrueType Font Widths

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.

Um... Tahoma doesn't have overhangs/underhangs but that shouldn't make the function return 0's. Hmmm...

[Update] It's not even writing to the bank. Strange...

[Update] I guess (I'm not quite sure how to test) that Blitz doesn't use the fonts the same way that Windows does, so when you call that command (a Windows function) it doesn't think you have a font and therefore returns nothing.

[Update] Confirmed. GetCharABCWidths returns a failure. You'll need to use Windows functions to load a font if you want to use GetCharABCWidths. :(