[refactor]抽出FreeType2类