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

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




PostPosted: Wed Dec 04, 2013 4:36 pm   Post subject: Custom Fonts?

Hey everybody I was just wondering if there is any way I could use custom fonts in Turing. I currently have:

Turing:

var font1Big := Font.New ("Jacinto Sans:50: italic")
var font1Small := Font.New ("Jacinto Sans:30: italic")
var menuFont := Font.New ("Razing:25")
var underscores := Font.New ("Aller Display:40")


and it works all fine and everything on my home computer where these fonts are installed, but at school where they aren't, they get replaced with default fonts. Is there any way I could make a folder called fonts and put it in the directory of my program and call it like:

Turing:

var font1Big := Font.New ("fonts/Jacinto Sans:50: italic")


Or and I stuck with the plain old defaults at school?
Sponsor
Sponsor
Sponsor
sponsor
Dreadnought




PostPosted: Wed Dec 04, 2013 5:09 pm   Post subject: Re: Custom Fonts?

You can't use fonts that aren't installed in Windows. I assume you don't have the privileges to install fonts on the school computers so you're probably out of luck (sorry ...).
wolfy




PostPosted: Wed Dec 04, 2013 6:36 pm   Post subject: RE:Custom Fonts?

That's what I thought, and yes your assumption is correct. Is there any way that I could compile the game and the fonts would stick with it that way?
Raknarg




PostPosted: Wed Dec 04, 2013 10:25 pm   Post subject: RE:Custom Fonts?

The resources of the game are not part of the coding in all cases, as far as I know
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  [ 4 Posts ]
Jump to:   


Style:  
Search: