From d543d32e298f6babec29f92965cc21f6273ad4be Mon Sep 17 00:00:00 2001 From: Shane Whitmire Date: Sun, 12 May 2024 21:31:28 -0500 Subject: [PATCH] Make user aware that findCharactarPos returns top of the line position --- include/SFML/Graphics/Text.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/SFML/Graphics/Text.hpp b/include/SFML/Graphics/Text.hpp index 83bdae1042..465f33bc3b 100644 --- a/include/SFML/Graphics/Text.hpp +++ b/include/SFML/Graphics/Text.hpp @@ -372,8 +372,9 @@ class SFML_GRAPHICS_API Text : public Drawable, public Transformable /// /// This function computes the visual position of a character /// from its index in the string. The returned position is - /// in global coordinates (translation, rotation, scale and - /// origin are applied). + /// at the character's ascender height in global coordinates + /// (translation, rotation, scale and origin are applied). + /// /// If \a index is out of range, the position of the end of /// the string is returned. ///