Improved the logic that sets the size of the font textures