SFML community forums

Help => Graphics => Topic started by: dk123 on August 31, 2016, 04:56:29 am

Title: Text outline cuts into bold
Post by: dk123 on August 31, 2016, 04:56:29 am
Hi, I'm still testing out the outline capabilities in the 2.4 update. I've noticed that the outline cuts into the size of the bold text, this seems like a bug that needs to be fixed.

I've attached an image with the bold text's outline set in ver 2.4 (left), and an image where I just print the text again in 8 directions around the bold text (right). It's quite apparent that the outline is cutting into the width of the bold, resulting in what looks like visually 'burnt' text.

Title: Re: Text outline cuts into bold
Post by: Mario on September 01, 2016, 01:11:19 pm
What exactly do you mean? Are you talking about the thickness of the characters/strokes, because the outline overlaps with part of the glyph?
Title: Re: Text outline cuts into bold
Post by: eXpl0it3r on September 01, 2016, 02:10:02 pm
What outline thickness did you use? Seems more like you're expecting a specific result (the one you're used to from drawing the text in 8 directions?) and get something that looks a bit different.
Title: Re: Text outline cuts into bold
Post by: dk123 on September 03, 2016, 01:21:32 pm
I'm talking about the thickness of the outline. I've used thickness 2 - but instead of the outline starting on the outside of the glyph, it seems to be starting inside the glyph. The image on the right is an example of how the outline might look like if the outline actually does start outside the glyph - but if you compare the 2 images I've put up, you can see that the glyph (white) on the left is thinner than the glyph on the right.

The result from SFML doesn't necessarily have to equal the result on the right (the one where I manually just draw black outlines repeatedly). But at the very least, the white part (the original text) shouldn't be getting thinner, which seems like a bug that's occurring right now.