usp10: Add Georgian script.

This commit is contained in:
Aric Stewart 2010-08-23 13:58:21 -05:00 committed by Alexandre Julliard
parent 703dd4b1fc
commit 7b11524ec3
3 changed files with 9 additions and 1 deletions

View File

@ -309,6 +309,7 @@ static const ScriptShapeData ShapingData[] =
{{ standard_features, 2}, "grek", NULL},
{{ standard_features, 2}, "cyrl", NULL},
{{ standard_features, 2}, "armn", NULL},
{{ standard_features, 2}, "geor", NULL},
};
static INT GSUB_is_glyph_covered(LPCVOID table , UINT glyph)

View File

@ -77,6 +77,8 @@ static const scriptRange scriptRanges[] = {
{ Script_Arabic, 0x750, 0x77f, 0, 0},
/* Thaana: U+0780U+07BF */
{ Script_Thaana, 0x780, 0x7bf, 0, 0},
/* Georgian: U+10A0U+10FF */
{ Script_Georgian, 0x10a0, 0x10ff, 0, 0},
/* Phonetic Extensions: U+1D00U+1DBF */
{ Script_Latin, 0x1d00, 0x1dbf, 0, 0},
/* Latin Extended Additional: U+1E00U+1EFF */
@ -85,6 +87,8 @@ static const scriptRange scriptRanges[] = {
{ Script_Greek, 0x1f00, 0x1fff, 0, 0},
/* Latin Extended-C: U+2C60U+2C7F */
{ Script_Latin, 0x2c60, 0x2c7f, 0, 0},
/* Georgian: U+2D00U+2D2F */
{ Script_Georgian, 0x2d00, 0x2d2f, 0, 0},
/* Cyrillic Extended-A: U+2DE0U+2DFF */
{ Script_Cyrillic, 0x2de0, 0x2dff, 0, 0},
/* Cyrillic Extended-B: U+A640U+A69F */
@ -144,6 +148,8 @@ static const scriptData scriptInformation[] = {
{LANG_RUSSIAN, 0, 0, 0, 0, RUSSIAN_CHARSET, 0, 0, 0, 0, 0, 0, 0, 0, 0}},
{{Script_Armenian, 0, 0, 0, 0, 0, 0, { 0,0,0,0,0,0,0,0,0,0,0}},
{LANG_ARMENIAN, 0, 0, 0, 0, ANSI_CHARSET, 0, 0, 0, 0, 0, 0, 1, 0, 0}},
{{Script_Georgian, 0, 0, 0, 0, 0, 0, { 0,0,0,0,0,0,0,0,0,0,0}},
{LANG_GEORGIAN, 0, 0, 0, 0, ANSI_CHARSET, 0, 0, 0, 0, 0, 0, 1, 0, 0}},
};
static const SCRIPT_PROPERTIES *script_props[] =
@ -155,7 +161,7 @@ static const SCRIPT_PROPERTIES *script_props[] =
&scriptInformation[8].props, &scriptInformation[9].props,
&scriptInformation[10].props, &scriptInformation[11].props,
&scriptInformation[12].props, &scriptInformation[13].props,
&scriptInformation[14].props
&scriptInformation[14].props, &scriptInformation[15].props
};
typedef struct {

View File

@ -33,6 +33,7 @@
#define Script_Greek 12
#define Script_Cyrillic 13
#define Script_Armenian 14
#define Script_Georgian 15
#define GLYPH_BLOCK_SHIFT 8
#define GLYPH_BLOCK_SIZE (1UL << GLYPH_BLOCK_SHIFT)