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

language harfbuzz.types.Language

The #hb_language_t to work on

specific harfbuzz.types.Language

Another #hb_language_t

Return Value

Type: harfbuzz.types.Bool

true if languages match, false otherwise.