Fix the Font API warning