SFML community forums

Help => Graphics => Topic started by: smguyk on November 28, 2015, 02:31:11 am

Title: Is there a way to improve sf::Text fullscreen scaling?
Post by: smguyk on November 28, 2015, 02:31:11 am
My pxel art game is 1280x720 and when I launch it in fullscreen mode (1920x1080) everything scales nicely, except my sf::Texts that become noticably blurry.

I've used dozens of different font files but the blurriness is always there.

The thing is that when I use sprites that have the fons as a texture they scale perfectly and are sharp but copying all letters and numbers from the font file would be a lot of work...
Title: Re: Is there a way to improve sf::Text fullscreen scaling?
Post by: Hapax on November 30, 2015, 12:40:13 am
You are scaling sf::Text objects?
Try changing the size of the characters in the text objects instead of scaling, if possible.
Other option is to render texts to a render texture and then scale that.