Nikolay Sivov : dwrite: Add recent script properties.

Alexandre Julliard julliard at winehq.org
Mon Aug 5 14:58:35 CDT 2019


Module: wine
Branch: master
Commit: cd7dd5e8959fb5190d1417d9033be9d009169b6a
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=cd7dd5e8959fb5190d1417d9033be9d009169b6a

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Mon Aug  5 13:59:02 2019 +0300

dwrite: Add recent script properties.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/dwrite/analyzer.c | 7 +++++++
 dlls/dwrite/scripts.h  | 9 ++++++++-
 tools/make_unicode     | 8 ++++++++
 3 files changed, 23 insertions(+), 1 deletion(-)

diff --git a/dlls/dwrite/analyzer.c b/dlls/dwrite/analyzer.c
index 8e58e61..7fc955e 100644
--- a/dlls/dwrite/analyzer.c
+++ b/dlls/dwrite/analyzer.c
@@ -187,6 +187,13 @@ static const struct dwritescript_properties dwritescripts_properties[Script_Last
     { /* Nshu */ { 0x7568734e, 499,  1, 0x0020, 0, 0, 1, 1, 0, 0, 0 }, { _OT('n','s','h','u') } },
     { /* Soyo */ { 0x6f796f53, 329,  8, 0x0020, 0, 1, 1, 0, 0, 0, 0 }, { _OT('s','o','y','o') } },
     { /* Zanb */ { 0x626e615a, 339,  8, 0x0020, 0, 1, 1, 0, 0, 0, 0 }, { _OT('z','a','n','b') } },
+    { /* Dogr */ { 0x72676f44, 328,  8, 0x0020, 1, 1, 1, 0, 0, 0, 0 }, { _OT('d','o','g','r') } },
+    { /* Gong */ { 0x676e6f47, 312,  8, 0x0020, 1, 1, 0, 0, 0, 1, 0 }, { _OT('g','o','n','g') } },
+    { /* Rohg */ { 0x67686f52, 167,  8, 0x0020, 0, 1, 0, 0, 0, 1, 1 }, { _OT('r','o','h','g') } },
+    { /* Maka */ { 0x616b614d, 366,  8, 0x0020, 0, 1, 1, 0, 0, 0, 0 }, { _OT('m','a','k','a') } },
+    { /* 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') } },
 };
 #undef _OT
 
diff --git a/dlls/dwrite/scripts.h b/dlls/dwrite/scripts.h
index ebf97f3..b3cc8fc 100644
--- a/dlls/dwrite/scripts.h
+++ b/dlls/dwrite/scripts.h
@@ -145,5 +145,12 @@ enum unicode_script_id {
     Script_Nushu = 139,
     Script_Soyombo = 140,
     Script_Zanabazar_Square = 141,
-    Script_LastId = 141
+    Script_Dogra = 142,
+    Script_Gunjala_Gondi = 143,
+    Script_Hanifi_Rohingya = 144,
+    Script_Makasar = 145,
+    Script_Medefaidrin = 146,
+    Script_Old_Sogdian = 147,
+    Script_Sogdian = 148,
+    Script_LastId = 148
 };
diff --git a/tools/make_unicode b/tools/make_unicode
index 4b79668..8f99be2 100755
--- a/tools/make_unicode
+++ b/tools/make_unicode
@@ -1547,6 +1547,14 @@ my %scripts =
     "Nushu"                  => 139,
     "Soyombo"                => 140,
     "Zanabazar_Square"       => 141,
+    # Win10 1903
+    "Dogra"                  => 142,
+    "Gunjala_Gondi"          => 143,
+    "Hanifi_Rohingya"        => 144,
+    "Makasar"                => 145,
+    "Medefaidrin"            => 146,
+    "Old_Sogdian"            => 147,
+    "Sogdian"                => 148,
 );
 
 ################################################################




More information about the wine-cvs mailing list