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

Author Topic: Blurry small sized letters  (Read 1879 times)

0 Members and 1 Guest are viewing this topic.

SlySherZ

  • Newbie
  • *
  • Posts: 13
    • View Profile
Blurry small sized letters
« 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?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: Blurry small sized letters
« Reply #1 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?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

SlySherZ

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Blurry small sized letters
« Reply #2 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)



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.
« Last Edit: June 21, 2014, 01:48:21 am by SlySherZ »

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
Re: Blurry small sized letters
« Reply #3 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.
Laurent Gomila - SFML developer

SlySherZ

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: Blurry small sized letters
« Reply #4 on: June 21, 2014, 11:56:37 am »
I'm happy to know that! Thanks for your efforts SFML development team ;)