Map hy-arevmda to 'HYE ' instead of HYE0

This commit is contained in:
David Corbett 2020-10-10 14:21:20 -04:00 committed by Behdad Esfahbod
parent 916c5a9007
commit ab38cf6746
2 changed files with 10 additions and 0 deletions

View File

@ -686,6 +686,8 @@ ot.add_language ('und-fonnapa', 'APPH')
ot.remove_language_ot ('IRT')
ot.add_language ('ga-Latg', 'IRT')
ot.add_language ('hy-arevmda', 'HYE')
ot.remove_language_ot ('KGE')
ot.add_language ('und-Geok', 'KGE')
@ -809,6 +811,7 @@ disambiguation = {
'ECR': 'crj',
'HAL': 'cfm',
'HND': 'hnd',
'HYE': 'hyw',
'KIS': 'kqs',
'KUI': 'uki',
'LRC': 'bqi',

View File

@ -1090,6 +1090,13 @@ hb_ot_tags_from_complex_language (const char *lang_str,
*count = 1;
return true;
}
if (subtag_matches (lang_str, limit, "-arevmda"))
{
/* Armenian; Western Armenian (retired code) */
tags[0] = HB_TAG('H','Y','E',' '); /* Armenian */
*count = 1;
return true;
}
if (subtag_matches (lang_str, limit, "-provenc"))
{
/* Occitan (post 1500); Provençal */