Nikolay Sivov : dwrite: Add properties for recently added scripts.
Alexandre Julliard
julliard at winehq.org
Mon Jun 1 15:14:55 CDT 2020
Module: wine
Branch: master
Commit: 75a34d9408e2c94b229403836d8f970af958c514
URL: https://source.winehq.org/git/wine.git/?a=commit;h=75a34d9408e2c94b229403836d8f970af958c514
Author: Nikolay Sivov <nsivov at codeweavers.com>
Date: Mon Jun 1 12:23:34 2020 +0300
dwrite: Add properties for recently added scripts.
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 56950a5baa..cb58f36299 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 19cb89bd8a..d1bdb49de4 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 ec5d8eafb4..e18ec0a206 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,
);
################################################################
More information about the wine-cvs
mailing list