Computer Science Canada Font Command Help |
Author: | masternav [ Sun May 01, 2005 5:12 pm ] |
Post subject: | Font Command Help |
Im new I need help with the font command Im a newbie and Im using tuirng dos version 6.55 |
Author: | Cervantes [ Sun May 01, 2005 7:37 pm ] |
Post subject: | |
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. |
Author: | mike200015 [ Mon May 02, 2005 5:47 pm ] | ||||
Post subject: | |||||
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:
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:
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. |