languageMatches

Check whether a second language tag is the same or a more specific version of the provided language tag. For example, "fa_IR.utf8" is a more specific tag for "fa" or for "fa_IR".

Parameters

languageThe #hb_language_t to work on
specificAnother #hb_language_t

Returns

true if languages match, false otherwise.