I have absolutely no idea how to use sf::Font, sf::Glyph and sf::Text to do this, lol.
As far as I understand it, I should get the width (in pixels, right?) of the string using sf::Glyph, then check to see if it's bigger than the width of the window, and if it is, insert a newline at the nearest space?
This is really confusing, I don't know where to begin