SFML community forums

Help => Graphics => Topic started by: l0calh05t on August 02, 2009, 01:07:45 am

Title: sf::String and tabs
Post by: l0calh05t on August 02, 2009, 01:07:45 am
Just wanted to point out that tabs don't work with sf::String. Looking at the code, you are using 4x the advance of a tab character... but a tab is not a printable character, so probably won't have a valid glyph. Perhaps you should use 4x the advance of a space (which is a printable character, and therefore has a glyph)
Title: sf::String and tabs
Post by: Laurent on August 02, 2009, 01:34:55 pm
Absolutely :)

Thanks for your feedback.