refactored font generation to FontUtils