dwrite: Add recent script properties.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Nikolay Sivov 2019-08-05 13:59:02 +03:00 committed by Alexandre Julliard
parent 4f86e35c53
commit cd7dd5e895
3 changed files with 23 additions and 1 deletions

View File

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

View File

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

View File

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