
-----------------------------------
masternav
Sun May 01, 2005 5:12 pm

Font Command Help
-----------------------------------
Im new I need help with the font command Im a newbie and Im using tuirng dos version 6.55

-----------------------------------
Cervantes
Sun May 01, 2005 7:37 pm


-----------------------------------
Dos version, eh?  I don't know how different it is, so I don't know how much we can help you with that.  But, if you want help, you're definately going to have to give us some more detail.

-----------------------------------
mike200015
Mon May 02, 2005 5:47 pm


-----------------------------------
Your probably talking about the command to output text in a different font.
To do that you need to use either the Font.Draw or the Draw.Text command, they do the same thing.

So, 1st, you need to declare a variable for your font. This is how you do it:
 var font id :int :=Font.New ("(font):(size)")
Substitute font id for a variable name, sub. a font name for (font), and a font size for (size).
Next, you need to actually output something, and that is dont with the Font.Draw command, or the Draw.Text command. Like this:
Font.Draw ("(string)",x,y,font id,colour)
You could put Draw.Text in instead of Font.Draw, the rest is the same.
Sub. in words for (string), x and y are your start positions, and font id, is the variable you declared at the top.
