Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Galax

Pages: [1]
1
Graphics / Problem changing fonts
« on: March 03, 2008, 05:14:17 pm »
Hello,
I have problem changing the font of my sf::String. Do I have to put the .tff in  the directorie of my project? I tried this code :

sf::String Text("text", "arial.tff", 36.f);

and this one after :

Text.SetFont("arial.tff");

When I compile, Text has the sans serif font. I also tried with other fonts and with some I found on internet. Sans serif again and again.

Can someone tell me what is my problem?

Pages: [1]