optimize font lookup