Well, in theory that happens if the given character has invalid dimension. Either you refer a wrong font name, or the font itself has bad data.
Text Cache
RGSS3 Scripts (RMVX Ace)Original thread: https://forums.rpgmakerweb.com/threads/text-cache.1001/