Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
sf::Text and space
Print
Pages: [
1
]
Author
Topic: sf::Text and space (Read 1154 times)
0 Members and 1 Guest are viewing this topic.
Mina66
Newbie
Posts: 29
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
»
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11034
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.
Logged
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
Re: sf::Text and space
«
Reply #2 on:
January 18, 2013, 04:01:45 am »
thanks
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
sf::Text and space
anything