SFML community forums

Help => Graphics => Topic started by: Richy19 on November 05, 2011, 11:29:36 pm

Title: Green lines around text
Post by: Richy19 on November 05, 2011, 11:29:36 pm
Using the sf::Text I am getting weird lines around the text, this happens when I use big font sizes

(http://img64.imageshack.us/img64/615/unled1zoj.png)

I tried setting it to a small size and then scaling it but it just makes the text fuzzy and there is no option to set smoothing on.

(http://img850.imageshack.us/img850/4531/unled1ei.png)
Title: Green lines around text
Post by: eXpl0it3r on November 05, 2011, 11:42:57 pm
Can't really help but I guess this question will popup soon enough:
Is it just with this font type?  :D
Title: Green lines around text
Post by: Richy19 on November 06, 2011, 07:37:20 am
I tried it with 2 custom fonts as well as the default font, and they all have the same problem once the size gets big enought (by that I mean >50
Title: Green lines around text
Post by: Laurent on November 06, 2011, 09:58:40 am
This seems to be a common problem in SFML 2. There are other threads about it.
Title: Green lines around text
Post by: Richy19 on November 09, 2011, 04:11:46 pm
Just a minor update, I was doing some testing on my desktop today and i just noticed the lines dont show up.
Now given the amount of threads there are saying the graphics system is buggy on intel cards I think this could be the problem
Title: Green lines around text
Post by: Haikarainen on November 09, 2011, 06:30:31 pm
Quote from: "Laurent"
This seems to be a common problem in SFML 2. There are other threads about it.


Ive seen this in a lot of threads actually, something tells me its caused by the same thing causing the float + subrects problem
Title: Green lines around text
Post by: Laurent on November 09, 2011, 08:12:15 pm
Quote
something tells me its caused by the same thing causing the float + subrects problem

I don't think so. These lines are not supposed to be in the font's texture, so it's not just a mapping/alignment problem. I think there's something wrong when I copy glyphs pixels to the texture.