new version of stb_truetype, refactoring