Wraps TTF_MeasureUTF8 (from SDL_ttf 2.0.18) to calculate the maximum number of characters from a text that can be rendered given a maximum fitting width
string of characters to measure
maximum fitting width
named tuple of extent (calculated width) and count (number of characters)
dsdl.SDLException if unable to measure text
See Implementation
Wraps TTF_MeasureUTF8 (from SDL_ttf 2.0.18) to calculate the maximum number of characters from a text that can be rendered given a maximum fitting width