You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For any TTF_Text that includes line breaks and uses a non-zero wrapping width, its total width as reported by TTF_GetTextSize will always be equal to the wrapping width, regardless of actual text size. Example:
It seems this branch based on wrap_width is the culprit, as it ends up assuming all multiline wrapping texts must've reached the wrapping width, which isn't always true.