Hi,
I have a strange Text rendering problem with SFML 2.2 on Windows 7 64bits.
The fonts are garbled whatever font settings I choose. Same with SFML 2.0.
Here is the minimal code to reproduce the problem.
See attachements for the results (standard OpenGL example included too).
Did anybody see this before ?
#include <SFML/Graphics.hpp>
int main()
{
sf::RenderWindow window(sf::VideoMode(800, 600), "Draw Text");
sf::Font font;
if(font.loadFromFile("arial.ttf"))
{
sf::Text text("Foo", font, 50);
window.clear();
window.draw(text);
window.display();
Sleep(5000);
}
return 0;
}
NOTE: I use the static libs built with Visual Studio 2010.
No other problems noticed so far.