Good morning (afternoon, evening, depending on where you are). I think I have encountered a small problem with GetGlobalBounds().
I was not able to position my text properly so I tried to draw a rectangle using Text::GetGlobalBounds() for its position:
test.setPosition(txt.getPosition());
test.setSize(sf::Vector2f(txt.getGlobalBounds().width, txt.getGlobalBounds().height));
As you can see, the rectangle is not properly matching the bounding box of the text.
My text loads font from verdana.ttf, which is a default Windows font, and has its character size set to 64. Text style is not changed ("regular").
Is this a bug, or am I just missing something? Thanks in advance.