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

Author Topic: sf::String and tabs  (Read 1825 times)

0 Members and 1 Guest are viewing this topic.

l0calh05t

  • Full Member
  • ***
  • Posts: 200
    • View Profile
sf::String and tabs
« 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)

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
sf::String and tabs
« Reply #1 on: August 02, 2009, 01:34:55 pm »
Absolutely :)

Thanks for your feedback.
Laurent Gomila - SFML developer