When displaying text in SFML, strange dotted lines can be seen as shown in the picture.
I pulled the latest SFML source from the Git repository just a few minutes ago and this did not fix the problem. The font I am using is FreeSerif.ttf (with a Unix system), but it similarly occurred with the SFML default font.
The code used to load the font:
sf::Font Main;
cout << "-> /usr/share/fonts/truetype/freefont/FreeSerif.ttf...";
if (!Main.LoadFromFile("/usr/share/fonts/truetype/freefont/FreeSerif.ttf"))
return 1;
The code used to create the text:
// victory message
sf::Text VictoryMessage("", Main, 100U * VMode.Height / 900);
VictoryMessage.SetColor(sf::Color::White);
(plus an additional bit to set the string and centre the text). And finally it's drawn with sf::RenderWindow::Draw().
Any ideas what could be causing this?
PS: I'm right now trying a minimal example and will post back the results soon.