[PATCH 2/5] dwrite: Add properties for recently added scripts.

Nikolay Sivov nsivov at codeweavers.com
Mon Jun 1 04:23:34 CDT 2020


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 dlls/dwrite/analyzer.c | 4 ++++
 dlls/dwrite/scripts.h  | 6 +++++-
 tools/make_unicode     | 5 +++++
 3 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/dlls/dwrite/analyzer.c b/dlls/dwrite/analyzer.c
index 56950a5baa3..cb58f362990 100644
--- a/dlls/dwrite/analyzer.c
+++ b/dlls/dwrite/analyzer.c
@@ -194,6 +194,10 @@ static const struct dwritescript_properties dwritescripts_properties[Script_Last
     { /* Medf */ { 0x6664654d, 265,  8, 0x0020, 0, 1, 1, 0, 0, 0, 0 }, { _OT('m','e','d','f') } },
     { /* Sogo */ { 0x6f676f53, 142,  8, 0x0020, 1, 1, 1, 0, 0, 0, 0 }, { _OT('s','o','g','o') } },
     { /* Sogd */ { 0x64676f53, 141,  8, 0x0020, 1, 1, 0, 0, 0, 1, 1 }, { _OT('s','o','g','d') } },
+    { /* Elym */ { 0x6d796c45, 128,  1, 0x0020, 0, 0, 1, 0, 0, 0, 0 } },
+    { /* Hmnp */ { 0x706e6d48, 451,  8, 0x0020, 1, 1, 0, 0, 0, 0, 0 } },
+    { /* Nand */ { 0x646e614e, 311,  8, 0x0020, 1, 1, 0, 0, 0, 1, 0 } },
+    { /* Wcho */ { 0x6f686357, 283,  8, 0x0020, 1, 1, 0, 0, 0, 0, 0 } },
 };
 #undef _OT
 
diff --git a/dlls/dwrite/scripts.h b/dlls/dwrite/scripts.h
index 19cb89bd8a5..d1bdb49de4d 100644
--- a/dlls/dwrite/scripts.h
+++ b/dlls/dwrite/scripts.h
@@ -152,5 +152,9 @@ enum unicode_script_id {
     Script_Medefaidrin = 146,
     Script_Old_Sogdian = 147,
     Script_Sogdian = 148,
-    Script_LastId = 148
+    Script_Elymaic = 149,
+    Script_Nyiakeng_Puachue_Hmong = 150,
+    Script_Nandinagari = 151,
+    Script_Wancho = 152,
+    Script_LastId = 152
 };
diff --git a/tools/make_unicode b/tools/make_unicode
index ec5d8eafb43..e18ec0a206f 100755
--- a/tools/make_unicode
+++ b/tools/make_unicode
@@ -1440,6 +1440,11 @@ my %scripts =
     "Medefaidrin"            => 146,
     "Old_Sogdian"            => 147,
     "Sogdian"                => 148,
+    # Win10 2004
+    "Elymaic"                => 149,
+    "Nyiakeng_Puachue_Hmong" => 150,
+    "Nandinagari"            => 151,
+    "Wancho"                 => 152,
 );
 
 ################################################################
-- 
2.26.2




More information about the wine-devel mailing list