problem with font

Blitz3D Forums/Blitz3D Programming/problem with font

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.

To get the real font name, doubleclick the font file to start the font viewer system utility. There you can see its name. You will then have to rename it to "real_name.ttf", like WendelIM said.

An other aspect is: there may be path access problems. AFAIK you cannot use a path like "../../fonts/whatever.ttf". Not sure if a simple subfolder works at all. It surely works when the font is inside the apps folder. Or you may try to ChangeDir to the fonts folder, then load it, then ChangeDir back.