SFML community forums

Help => Graphics => Topic started by: SlySherZ on June 21, 2014, 01:32:56 am

Title: Blurry small sized letters
Post by: SlySherZ on June 21, 2014, 01:32:56 am
I'm using SFML with various letter types like courier and vera serif. When I tried to lower the letter size to ~12 some letters appear blurry and lighter.

I think it as to due with the letters not matching screen pixels.

Do you guys know a way to make this effect less visible?
Title: Re: Blurry small sized letters
Post by: eXpl0it3r on June 21, 2014, 01:36:29 am
Have you thought about attaching an image? I believe it would tell us more than the words "blurry" and "lighter".

Do you actually set the font to ~12 or are you scaling things?
Title: Re: Blurry small sized letters
Post by: SlySherZ on June 21, 2014, 01:45:15 am
I though about it, but I didn't think it would show the problem correctly.
But actually I think it did...
Same text before and after moving the window and resizing it (without affecting text size)

(http://i.imgur.com/HBVOFVC.png)

My window is not rescaling anything... unless there is a bug that I do not know.
And that is size 14. It's more noticeable on lower sizes.
Title: Re: Blurry small sized letters
Post by: Laurent on June 21, 2014, 10:44:09 am
Rendering of small text has been improved a long time ago, and will be released in SFML 2.2. You can already compile the current development sources if you want to try.
Title: Re: Blurry small sized letters
Post by: SlySherZ on June 21, 2014, 11:56:37 am
I'm happy to know that! Thanks for your efforts SFML development team ;)