dwrite: Add properties for new Unicode 13 scripts.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2021-10-18 15:55:20 +03:00 committed by Alexandre Julliard
parent 725655de79
commit 992e0a6045
3 changed files with 14 additions and 1 deletions

View File

@ -198,6 +198,10 @@ static const struct dwritescript_properties dwritescripts_properties[Script_Last
{ /* Hmnp */ { 0x706e6d48, 451, 8, 0x0020, 1, 1, 0, 0, 0, 0, 0 }, { _OT('h','m','n','p') } },
{ /* Nand */ { 0x646e614e, 311, 8, 0x0020, 1, 1, 0, 0, 0, 1, 0 }, { _OT('n','a','n','d') } },
{ /* Wcho */ { 0x6f686357, 283, 8, 0x0020, 1, 1, 0, 0, 0, 0, 0 }, { _OT('w','c','h','o') } },
{ /* Chrs */ { 0x73726843, 109, 8, 0x0020, 0, 1, 0, 0, 0, 1, 1 }, { _OT('c','h','r','s') } },
{ /* Diak */ { 0x6b616944, 342, 8, 0x0020, 1, 1, 0, 0, 0, 0, 0 }, { _OT('d','i','a','k') } },
{ /* Kits */ { 0x7374694b, 288, 8, 0x0020, 1, 0, 1, 1, 0, 0, 0 }, { _OT('k','i','t','s') } },
{ /* Yezi */ { 0x697a6559, 192, 8, 0x0020, 0, 1, 1, 0, 0, 0, 0 }, { _OT('y','e','z','i') } },
};
#undef _OT

View File

@ -156,5 +156,9 @@ enum unicode_script_id {
Script_Nyiakeng_Puachue_Hmong = 150,
Script_Nandinagari = 151,
Script_Wancho = 152,
Script_LastId = 152
Script_Chorasmian = 153,
Script_Dives_Akuru = 154,
Script_Khitan_Small_Script = 155,
Script_Yezidi = 156,
Script_LastId = 156
};

View File

@ -1512,6 +1512,11 @@ my %scripts =
"Nyiakeng_Puachue_Hmong" => 150,
"Nandinagari" => 151,
"Wancho" => 152,
# Win11
"Chorasmian" => 153,
"Dives_Akuru" => 154,
"Khitan_Small_Script" => 155,
"Yezidi" => 156,
);
################################################################