2
« on: July 16, 2011, 09:41:00 pm »
Hi!
I loaded a font and created a text. But if I display it, it seems a bit blurry. I found a solution: I take the font and use .GetImage(Size).SetSmooth(false). In order to do that, I have to use const_cast, because GetImage() returns a constant reference. But I read, that you shouldn't do that if it's avoidable.
I use the latest SFML-Version; I've just compiled it.
Also, the documentation says to "sf::Image::SetSmooth": "The smooth filter is disabled by default.", which seems incorrect.
To conclude, is there another way to make the font sharp without the use of const_cast that I have overlooked?