Signed-off-by: Nikolay Sivov <nsivov(a)codeweavers.com>
---
This only add script properties, proper support requires script table to be extended beyond BMP.
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 8e58e615e6..7fc955eaf8 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 ebf97f3b62..b3cc8fca08 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 4b79668a1a..8f99be290a 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,
);
################################################################
--
2.20.1