Hi,
I had some issues rendering the text (SFML 2.1) at some positions, then i changed the position to (0, 0).
I loaded with
font.loadFromFile(textControl->getFontPath());
text.setFont(font);
And rendered with:
text.setString("TEXT");
text.setScale(1, 1);
text.setOrigin(0, 0);
text.setPosition(0, 0);
window.draw(text);
but the result is:
And as u can see, there is some spacing. I saw the calculation method to do the actual max character height subtract by the text character size and subtract by the localBounds height... but no luck until now.
Thanks
Ignore the gray rectangle there
.