Merge "Add API for determining font type."