Fixed font name checking