usp10: Make feature tables const.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Henri Verbeet 2017-03-01 07:14:54 +01:00 committed by Alexandre Julliard
parent c5bfbefacd
commit 66df220c00
1 changed files with 12 additions and 12 deletions

View File

@ -125,7 +125,7 @@ typedef void (*second_reorder_function)(LPWSTR pwChar, IndicSyllable *syllable,W
typedef int (*combining_lexical_function)(WCHAR c); typedef int (*combining_lexical_function)(WCHAR c);
/* the orders of joined_forms and contextual_features need to line up */ /* the orders of joined_forms and contextual_features need to line up */
static const char* contextual_features[] = static const char *const contextual_features[] =
{ {
"isol", "isol",
"fina", "fina",
@ -168,7 +168,7 @@ static OPENTYPE_FEATURE_RECORD arabic_features[] =
{ MS_MAKE_TAG('m','s','e','t'), 1}, { MS_MAKE_TAG('m','s','e','t'), 1},
}; };
static const char* required_arabic_features[] = static const char *const required_arabic_features[] =
{ {
"fina", "fina",
"init", "init",
@ -205,7 +205,7 @@ static OPENTYPE_FEATURE_RECORD syriac_features[] =
{ MS_MAKE_TAG('d','l','i','g'), 1}, { MS_MAKE_TAG('d','l','i','g'), 1},
}; };
static const char* required_syriac_features[] = static const char *const required_syriac_features[] =
{ {
"fina", "fina",
"fin2", "fin2",
@ -263,13 +263,13 @@ static OPENTYPE_FEATURE_RECORD thai_gpos_features[] =
{ MS_MAKE_TAG('m','k','m','k'), 1}, { MS_MAKE_TAG('m','k','m','k'), 1},
}; };
static const char* required_lao_features[] = static const char *const required_lao_features[] =
{ {
"ccmp", "ccmp",
NULL NULL
}; };
static const char* required_devanagari_features[] = static const char *const required_devanagari_features[] =
{ {
"nukt", "nukt",
"akhn", "akhn",
@ -309,7 +309,7 @@ static OPENTYPE_FEATURE_RECORD myanmar_features[] =
{ MS_MAKE_TAG('c','l','i','g'), 1}, { MS_MAKE_TAG('c','l','i','g'), 1},
}; };
static const char* required_bengali_features[] = static const char *const required_bengali_features[] =
{ {
"nukt", "nukt",
"akhn", "akhn",
@ -326,7 +326,7 @@ static const char* required_bengali_features[] =
NULL NULL
}; };
static const char* required_gurmukhi_features[] = static const char *const required_gurmukhi_features[] =
{ {
"nukt", "nukt",
"akhn", "akhn",
@ -345,7 +345,7 @@ static const char* required_gurmukhi_features[] =
NULL NULL
}; };
static const char* required_oriya_features[] = static const char *const required_oriya_features[] =
{ {
"nukt", "nukt",
"akhn", "akhn",
@ -362,7 +362,7 @@ static const char* required_oriya_features[] =
NULL NULL
}; };
static const char* required_tamil_features[] = static const char *const required_tamil_features[] =
{ {
"nukt", "nukt",
"akhn", "akhn",
@ -378,7 +378,7 @@ static const char* required_tamil_features[] =
NULL NULL
}; };
static const char* required_telugu_features[] = static const char *const required_telugu_features[] =
{ {
"nukt", "nukt",
"akhn", "akhn",
@ -405,7 +405,7 @@ static OPENTYPE_FEATURE_RECORD khmer_features[] =
{ MS_MAKE_TAG('c','l','i','g'), 1}, { MS_MAKE_TAG('c','l','i','g'), 1},
}; };
static const char* required_khmer_features[] = static const char *const required_khmer_features[] =
{ {
"pref", "pref",
"blwf", "blwf",
@ -446,7 +446,7 @@ static OPENTYPE_FEATURE_RECORD mongolian_features[] =
typedef struct ScriptShapeDataTag { typedef struct ScriptShapeDataTag {
TEXTRANGE_PROPERTIES defaultTextRange; TEXTRANGE_PROPERTIES defaultTextRange;
TEXTRANGE_PROPERTIES defaultGPOSTextRange; TEXTRANGE_PROPERTIES defaultGPOSTextRange;
const char** requiredFeatures; const char *const *requiredFeatures;
OPENTYPE_TAG newOtTag; OPENTYPE_TAG newOtTag;
ContextualShapingProc contextProc; ContextualShapingProc contextProc;
ShapeCharGlyphPropProc charGlyphPropProc; ShapeCharGlyphPropProc charGlyphPropProc;