Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 changing font?
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
skootles




PostPosted: Mon Nov 01, 2004 2:12 pm   Post subject: changing font?

Hey. I need help changing the font of the output in my Turing program. I have a font, but it's a home-made font. How do I do this? Thanks
Sponsor
Sponsor
Sponsor
sponsor
Flea




PostPosted: Mon Nov 01, 2004 2:53 pm   Post subject: (No subject)

code:
var font1:int
font1 := Font.New ("font-name-string:font-size-int")
Font.Draw ("text", x, y, font1, colour)


hope that helps. for more info look up Font in the help index.
Mazer




PostPosted: Mon Nov 01, 2004 3:06 pm   Post subject: (No subject)

Yeah, pretty much. Just make sure your font is installed (drag it into your windows fonts folder),
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: