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

Author Topic: Text outline cuts into bold  (Read 2572 times)

0 Members and 1 Guest are viewing this topic.

dk123

  • Newbie
  • *
  • Posts: 49
    • View Profile
Text outline cuts into bold
« 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.


Mario

  • SFML Team
  • Hero Member
  • *****
  • Posts: 879
    • View Profile
Re: Text outline cuts into bold
« Reply #1 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?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • View Profile
    • development blog
    • Email
Re: Text outline cuts into bold
« Reply #2 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.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

dk123

  • Newbie
  • *
  • Posts: 49
    • View Profile
Re: Text outline cuts into bold
« Reply #3 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.
« Last Edit: September 03, 2016, 01:24:17 pm by dk123 »

 

anything