I've something along the lines of:
Local edit:TGadget=CreateTextArea(0,0,620,600,window)
Local guifont:TGuiFont=LoadGuiFont ("C:\WINDOWS\FONTS\Blitz.fon",10)
If guifont<>Null SetTextAreaFont edit,guifont
The font is the Blitz.fon that comes with B3d -iirc-, since I actually like that font I use it also in the IDEs of BMax, B+, and I even use it in M$ C++, those 3 times a year I use C++. :D
So, my own app shall use the same font.. I hoped. This font just doesn't show up in my textarea, I get some alternative/thin font. If I however c/p some of my bmax code in it (which uses that Blitz font) I get the proper font in my textarea, with all its BMax colors even. So, what's going on??
(ps. I'm on 1.22 for stability reasons, I hope it's not related .. :-)
|