summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2020-03-13 17:26:53 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2020-03-14 11:26:59 +0100
commit54f8be6cc0e53bcd8b2e67d302b7cbcaed9387b9 (patch)
tree0bbb40e4a5000c5ff891fe05a904040f2b687f93 /src/gui
parent7ddbd179a191c45946959fa0a898ba3e1f1c0cea (diff)
Update UCD to Revision 26
Include WordBreakTest.html, since a test uses sample strings from it, albeit without actually reading the file. Had to comment out more of the new tests, as at Revision 24, pending an update to harfbuzz and the text boundary detection code. Task-number: QTBUG-79631 Task-number: QTBUG-79418 Task-number: QTBUG-82747 Change-Id: I0082294b09d67ffdc6a9b5c15acf77ad3b86f65f Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/text/qharfbuzzng.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/text/qharfbuzzng.cpp b/src/gui/text/qharfbuzzng.cpp
index 397e6cc49f..4613aff9e8 100644
--- a/src/gui/text/qharfbuzzng.cpp
+++ b/src/gui/text/qharfbuzzng.cpp
@@ -230,6 +230,12 @@ static const hb_script_t _qtscript_to_hbscript[] = {
hb_script_t(HB_TAG('N', 'a', 'n', 'd')), // Script_Nandinagari
hb_script_t(HB_TAG('H', 'm', 'n', 'p')), // Script_NyiakengPuachueHmong
hb_script_t(HB_TAG('W', 'c', 'h', 'o')), // Script_Wancho
+
+ // Unicode 13.0 additions (as above)
+ hb_script_t(HB_TAG('C', 'h', 'o', 'r')), // Script_Chorasmian
+ hb_script_t(HB_TAG('D', 'i', 'v', 'e')), // Script_DivesAkuru
+ hb_script_t(HB_TAG('K', 'h', 'i', 't')), // Script_KhitanSmallScript
+ hb_script_t(HB_TAG('Y', 'e', 'z', 'i')), // Script_Yezidi
};
Q_STATIC_ASSERT(QChar::ScriptCount == sizeof(_qtscript_to_hbscript) / sizeof(_qtscript_to_hbscript[0]));