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

Username:   Password: 
 RegisterRegister   
 using Font.New at the schools computer
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
omni




PostPosted: Tue Apr 27, 2004 2:54 pm   Post subject: using Font.New at the schools computer

I want to make my game look better by using Font.Draw, but need some help on custom fonts. My computer has a font that the schools computer doesn't have. So when I use the command "font:=Font.New("custom:x")"
is there any way I can specify a directory to search for that specific font?
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Tue Apr 27, 2004 3:46 pm   Post subject: (No subject)

I don't think you can... because if you pass "c:\\some_font" string as font name, it assumes that "c" is the name of the font and that :whatever is the size of it (giving you an error)

So when you "install" the program, you might want to drop your font into the \Fonts\ fonder Wink
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
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  [ 2 Posts ]
Jump to:   


Style:  
Search: