From 826fc8c9bd0b7dabb58e0b278b52c5d9f7a7efd9 Mon Sep 17 00:00:00 2001 From: Ievgenii Meshcheriakov Date: Mon, 4 Oct 2021 15:06:52 +0200 Subject: Update UCD to Revision 28 This corresponds to Unicode version 14.0.0. Added the following scripts: * CyproMinoan * OldUyghur * Tangsa * Toto * Vithkuqi Full support of these scripts requires harfbuzz version 3.0.0, this version adds support for Unicode 14.0: https://github.com/harfbuzz/harfbuzz/releases/tag/3.0.0 With this release 10 test cases in tst_qurluts46 were fixed, one additional test case is failing in tst_qtextboundaryfinder and is commented out. In total 62 line break test cases and 44 word break test cases are failing. A comment in src/corelib/text/qt_attribution.json was updated to include the URL of the page containing UCD version number. Fixes: QTBUG-94359 Change-Id: Iefc9ff13f3df279f91cbdb1246d56f75b20ecb35 Reviewed-by: Edward Welbourne --- util/unicode/main.cpp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'util/unicode/main.cpp') diff --git a/util/unicode/main.cpp b/util/unicode/main.cpp index 91015411a0..71ab4c5d55 100644 --- a/util/unicode/main.cpp +++ b/util/unicode/main.cpp @@ -39,8 +39,8 @@ #include #endif -#define DATA_VERSION_S "13.0" -#define DATA_VERSION_STR "QChar::Unicode_13_0" +#define DATA_VERSION_S "14.0" +#define DATA_VERSION_STR "QChar::Unicode_14_0" static QHash age_map; @@ -74,6 +74,7 @@ static void initAgeMap() { QChar::Unicode_12_0, "12.0" }, { QChar::Unicode_12_1, "12.1" }, // UCD Revision 24 { QChar::Unicode_13_0, "13.0" }, // UCD Revision 26 + { QChar::Unicode_14_0, "14.0" }, // UCD Revision 28 { QChar::Unicode_Unassigned, 0 } }; AgeMap *d = ageMap; @@ -797,6 +798,13 @@ static void initScriptMap() { QChar::Script_KhitanSmallScript, "KhitanSmallScript" }, { QChar::Script_Yezidi, "Yezidi" }, + // 14.0 + { QChar::Script_CyproMinoan, "CyproMinoan"}, + { QChar::Script_OldUyghur, "OldUyghur"}, + { QChar::Script_Tangsa, "Tangsa"}, + { QChar::Script_Toto, "Toto"}, + { QChar::Script_Vithkuqi, "Vithkuqi"}, + // unhandled { QChar::Script_Unknown, 0 } }; -- cgit v1.2.3