Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
General
»
Where does everyone get their .ttf files for text in SFML?
Print
Pages: [
1
]
Author
Topic: Where does everyone get their .ttf files for text in SFML? (Read 6180 times)
0 Members and 1 Guest are viewing this topic.
StormWingDelta
Sr. Member
Posts: 365
Where does everyone get their .ttf files for text in SFML?
«
on:
February 04, 2012, 07:20:48 pm »
Just wondering since I've been wanting to test out the Text codes SFML has but they seem to need a type of file I'm a bit clueless about. Anyone want to help?
Logged
I have many ideas but need the help of others to find way to make use of them.
texus
Hero Member
Posts: 505
Where does everyone get their .ttf files for text in SFML?
«
Reply #1 on:
February 04, 2012, 07:46:17 pm »
Just google "download tff font" and you will find tons of those files.
You don't really need to load it from a file: you can just use the default font.
Take a look at the
tutorial
, it mentions the GetDefaultFont function.
If you use the default font then read this first:
http://www.sfml-dev.org/forum/viewtopic.php?t=4741
Logged
TGUI
: C++ SFML GUI
Mario
SFML Team
Hero Member
Posts: 879
Where does everyone get their .ttf files for text in SFML?
«
Reply #2 on:
February 05, 2012, 12:30:30 pm »
Under Windows you can find the TTF files for the fonts installed on the system under C:\Windows\Fonts. Just keep in mind that not all of them use the TTF format and you might not be allowed to deploy them with your program.
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
General
»
Where does everyone get their .ttf files for text in SFML?