SFML community forums

Help => Graphics => Topic started by: Mina66 on January 18, 2013, 02:28:31 am

Title: sf::Text and space
Post by: Mina66 on January 18, 2013, 02:28:31 am
Hello!

Tell me why, with such code trim spaces?

(http://s1.ipicture.ru/uploads/20130118/GAJJfXtV.jpg)

(http://s1.ipicture.ru/uploads/20130118/zgdSQqaV.jpg)

How can I fix?

[attachment deleted by admin]
Title: Re: sf::Text and space
Post by: eXpl0it3r 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 (https://github.com/SFML/SFML/issues/216), where sf::Text::getGlobal/LocalBounds ignore trailing white-spaces.
Title: Re: sf::Text and space
Post by: Mina66 on January 18, 2013, 04:01:45 am
thanks  :)