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

Author Topic: sf::Text and space  (Read 1155 times)

0 Members and 1 Guest are viewing this topic.

Mina66

  • Newbie
  • *
  • Posts: 29
    • View Profile
    • Email
sf::Text and space
« on: January 18, 2013, 02:28:31 am »
Hello!

Tell me why, with such code trim spaces?





How can I fix?

[attachment deleted by admin]
« Last Edit: January 18, 2013, 04:02:26 am by Mina66 »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: sf::Text and space
« Reply #1 on: January 18, 2013, 02:44:09 am »
It's not exactly a problem with the content of the sf::Text, but it's because of the already known issue 216, where sf::Text::getGlobal/LocalBounds ignore trailing white-spaces.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Mina66

  • Newbie
  • *
  • Posts: 29
    • View Profile
    • Email
Re: sf::Text and space
« Reply #2 on: January 18, 2013, 04:01:45 am »
thanks  :)

 

anything