Large text looks blurry

I use SFML 1.6 to create a small game and I need to display some text, so I use a class sf::String. The problem is that when I increase the size to 96pt, the edges seem a bit blurry. When I increase the size of the text in Microsoft Word, it looks very clean and has clear edges. Is there a way to do this using SFML?

+3
source share
1 answer

Looking at the sources of SFML, it seems that it uses the built-in font Arial. Yes, it can also download the .ttf font file, but I think you haven't downloaded it yet.

So the problem is that SFML is trying to scale a fixed-size bitmap when rendering text.

, http://www.sfml-dev.org/tutorials/1.4/graphics-fonts.php .ttf.

+2

All Articles