Jump to content
Sign in to follow this  
hgmatt

Font?

Recommended Posts

I apologize in advance if this is in the wrong section of the forum.

 

I have the font for my game set up and everything. I also have the font folder sitting inside my project folder, but when I open it on a computer without that font, it goes to the default font anyway.

How do I make it so that when someone turns my game on, without the font already downloaded into their computer, it uses the font I want.  It is a custom font in .ttf.

Share this post


Link to post
Share on other sites

Does the font work when you'll open the game on a computer with that font?

So that eliminates one possibility, but still there are 2 left, that I can think of at the moment.

 

1) Make sure to use the font name, not the file name

 

In Windows 7, when you'll double click the font file, it will open a window with the font test - there you'll find the font's name and that you need to use in your game to specify the font.

 

2) Double check your font file localization

 

Make sure, that the font is in your project folder in this localization:

Project\Fonts\font.ttf

Share this post


Link to post
Share on other sites

haha Never mind. I really appreciate the help because I realized when you put Fonts, I missed that silly s at the end of Font.

Case closed. Thank you. :D

  • Like 1

Share this post


Link to post
Share on other sites

Glad you got it working! ^^

9RWO0dm.png This thread is closed, due to being solved. If for some reason anybody would like to re-open this thread, just send me a PM. (=

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted