Style flags in LoadImageFont?

BlitzMax Forums/BlitzMax Beginners Area/Style flags in LoadImageFont?

Fry Crayola(Posted 2005) [#1]
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.


Perturbatio(Posted 2005) [#2]
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.


Fry Crayola(Posted 2005) [#3]
Ah. I was thinking it may be something like that.

Cheers!


Hotcakes(Posted 2005) [#4]
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...