Character substitution on macOS Sonoma breaks drawText rendering

Already reported awhile ago:

Not just the next character, but multiple characters in a longer string.