Computer Science Canada

using Font.New at the schools computer

Author:  omni [ 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?

Author:  Tony [ Tue Apr 27, 2004 3:46 pm ]
Post 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