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

Author Topic: Large text appears blurry  (Read 1937 times)

0 Members and 1 Guest are viewing this topic.

rcplusplus

  • Newbie
  • *
  • Posts: 15
    • View Profile
Large text appears blurry
« on: May 22, 2012, 07:21:19 pm »
I use the sf::String class to show text on the screen, and it looks okay at small sizes, but if I make the text 96pt, the it appears really blurry. I did SetSmooth(false) on the sf::Font object, but the it appears blurry and pixel-y! Is there any way  to have large, clean-looking text in SFML 1.6?

Lo-X

  • Hero Member
  • *****
  • Posts: 618
    • View Profile
    • My personal website, with CV, portfolio and projects
Re: Large text appears blurry
« Reply #1 on: May 22, 2012, 07:30:29 pm »
. I did SetSmooth(false) on the sf::Font object

Hmm, what if you try setSmooth(true) ?

rcplusplus

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Large text appears blurry
« Reply #2 on: May 22, 2012, 07:43:23 pm »
That's the default I think, and it still appears blurry.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
Re: Large text appears blurry
« Reply #3 on: May 22, 2012, 11:35:23 pm »
The font must be loaded with the same size that you'll use in the string. Otherwise the characters are stretched.
Laurent Gomila - SFML developer

 

anything