Commit 2585d41e authored by Aric Stewart's avatar Aric Stewart Committed by Alexandre Julliard

usp10: Add Thaana script.

parent 243771de
......@@ -305,6 +305,7 @@ static const ScriptShapeData ShapingData[] =
{{ hebrew_features, 1}, "hebr", NULL},
{{ syriac_features, 4}, "syrc", ContextualShape_Syriac},
{{ arabic_features, 6}, "arab", ContextualShape_Arabic},
{{ NULL, 0}, "thaa", NULL},
};
static INT GSUB_is_glyph_covered(LPCVOID table , UINT glyph)
......
......@@ -50,7 +50,6 @@ typedef struct _scriptRange
} scriptRange;
static const scriptRange scriptRanges[] = {
/* Basic Latin: U+0000–U+007A */
/* Latin-1 Supplement: U+0080–U+00FF */
/* Latin Extended-A: U+0100–U+017F */
......@@ -69,6 +68,8 @@ static const scriptRange scriptRanges[] = {
{ Script_Syriac, 0x700, 0x74f, 0, 0},
/* Arabic Supplement: U+0750–U+077F */
{ Script_Arabic, 0x750, 0x77f, 0, 0},
/* Thaana: U+0780–U+07BF */
{ Script_Thaana, 0x780, 0x7bf, 0, 0},
/* Phonetic Extensions: U+1D00–U+1DBF */
{ Script_Latin, 0x1d00, 0x1dbf, 0, 0},
/* Latin Extended Additional: U+1E00–U+1EFF */
......@@ -120,6 +121,8 @@ static const scriptData scriptInformation[] = {
{LANG_SYRIAC, 0, 1, 0, 0, DEFAULT_CHARSET, 0, 0, 0, 0, 1, 0, 0, 1, 0}},
{{Script_Persian, 1, 1, 0, 0, 0, 0, { 1,0,0,0,0,0,0,0,0,0,0}},
{LANG_PERSIAN, 1, 1, 0, 0, ARABIC_CHARSET, 0, 0, 0, 0, 0, 0, 0, 0, 0}},
{{Script_Thaana, 1, 1, 0, 0, 0, 0, { 1,0,0,0,0,0,0,0,0,0,0}},
{LANG_DIVEHI, 0, 1, 0, 1, DEFAULT_CHARSET, 0, 0, 0, 0, 0, 0, 0, 0, 0}},
};
static const SCRIPT_PROPERTIES *script_props[] =
......@@ -129,7 +132,7 @@ static const SCRIPT_PROPERTIES *script_props[] =
&scriptInformation[4].props, &scriptInformation[5].props,
&scriptInformation[6].props, &scriptInformation[7].props,
&scriptInformation[8].props, &scriptInformation[9].props,
&scriptInformation[10].props
&scriptInformation[10].props, &scriptInformation[11].props
};
typedef struct {
......
......@@ -29,6 +29,7 @@
#define Script_Hebrew 8
#define Script_Syriac 9
#define Script_Persian 10
#define Script_Thaana 11
#define GLYPH_BLOCK_SHIFT 8
#define GLYPH_BLOCK_SIZE (1UL << GLYPH_BLOCK_SHIFT)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment