dwrite: Add properties for recently added scripts.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2020-06-01 12:23:34 +03:00 committed by Alexandre Julliard
parent d5cca52750
commit 75a34d9408
3 changed files with 14 additions and 1 deletions

View File

@ -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

View File

@ -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
};

View File

@ -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,
);
################################################################