FontEngine refactoring