How do I load and use a TTF font, or is this impossible?
Here is a quick example. It came from the editor project and is a good example if you are talking about windows controls.
- Code:
FontFace$ = "Courier New";
FontSize$ = 12;
// Set font
fnt$ = NewFont(form$, FontFace$, FontSize$, false, false, false);
SetFont(Control$, fnt$);
On the other hand, if you are talking about using it for a game, there are calls that support this in the game API. Look at FontDemo.ppl for an example.
bmanske