summaryrefslogtreecommitdiffstats
path: root/util/unicode/main.cpp
diff options
context:
space:
mode:
authorIevgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io>2021-10-04 15:06:52 +0200
committerIevgenii Meshcheriakov <ievgenii.meshcheriakov@qt.io>2021-10-18 16:45:10 +0000
commit826fc8c9bd0b7dabb58e0b278b52c5d9f7a7efd9 (patch)
tree5dde874c784910e4c14c0e8e79d694e31305a4ea /util/unicode/main.cpp
parent439f6c9576f33df4495364f2534551c98d9c47d7 (diff)
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 <edward.welbourne@qt.io>
Diffstat (limited to 'util/unicode/main.cpp')
-rw-r--r--util/unicode/main.cpp12
1 files changed, 10 insertions, 2 deletions
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 <private/qunicodetables_p.h>
#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<QByteArray, QChar::UnicodeVersion> 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 }
};