Style flags in LoadImageFont?
BlitzMax Forums/BlitzMax Beginners Area/Style flags in LoadImageFont?
| ||
What do these do? I don't see any difference when I load a normal font such as Arial or Trebuchet MS and use different flags - they all just come out in the normal style (no Bold, no Italics). Do they only work on other types of fonts? Or am I doing something wrong with the line of code? theFont:TImageFont = LoadImageFont("C:/Windows/Fonts/Trebuc.ttf", 32, BOLDFONT) Cheers. |
| ||
the problem is that the font has to have bold or italic included in it (not as a seperate file). Arial for instance is seperated into several file, Arial.ttf Arialb.ttf Arialbi.ttg etc. |
| ||
Ah. I was thinking it may be something like that. Cheers! |
| ||
BRL have stated a few times they plan to make the font loading process a bit more intelligent like that... but wouldn't know when to expect it... |