mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-25 17:01:17 +01:00
Don’t map BCP 47 to coincidentally similar OT tag
This commit is contained in:
1 parent
e1df2c5277
commit
b2e7bb2a7c
4 files changed
+194
-8
No files matched your search
@@ -483,6 +483,10 @@ test_ot_tag_language (void)
|
||||
test_tag_from_language ("ZHS", "zh-min-nan");
|
||||
test_tag_from_language ("ZHS", "zh-xiang");
|
||||
|
||||
/* BCP 47 tags that look similar to unrelated language system tags */
|
||||
test_tag_from_language ("SQI", "als");
|
||||
test_tag_from_language ("dflt", "far");
|
||||
|
||||
/* A UN M.49 region code, not an extended language subtag */
|
||||
test_tag_from_language ("ARA", "ar-001");
|
||||
|
||||
|
||||
Reference in new issue
Block a user