os/textandloc/fontservices/textbase/sgdi/FontIndic.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
sl@0
     1
// Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies).
sl@0
     2
// All rights reserved.
sl@0
     3
// This component and the accompanying materials are made available
sl@0
     4
// under the terms of "Eclipse Public License v1.0"
sl@0
     5
// which accompanies this distribution, and is available
sl@0
     6
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
sl@0
     7
//
sl@0
     8
// Initial Contributors:
sl@0
     9
// Nokia Corporation - initial contribution.
sl@0
    10
//
sl@0
    11
// Contributors:
sl@0
    12
//
sl@0
    13
// Description:
sl@0
    14
//
sl@0
    15
sl@0
    16
#ifndef __FONTINDIC_H__
sl@0
    17
#define __FONTINDIC_H__
sl@0
    18
sl@0
    19
#include "GlyphSel.h"
sl@0
    20
sl@0
    21
/** Defines the maximum ammount of text thats can be shaped at one time.
sl@0
    22
Change this number to suit optimisation, as increasing it or decreasing it may 
sl@0
    23
make Devanagari text faster/slower.*/
sl@0
    24
const TInt KMaxTextToShape = 16;
sl@0
    25
sl@0
    26
enum TIndicCodeType
sl@0
    27
	{
sl@0
    28
	// These values must not change without also changing
sl@0
    29
	// KStateResponse table accordingly
sl@0
    30
	EIndicCodeOther = 0,
sl@0
    31
	EIndicCodeCombiningSign = 1,
sl@0
    32
	EIndicCodeIndependentVowel = 2,
sl@0
    33
	EIndicCodeConsonant = 3,
sl@0
    34
	EIndicCodeDependentVowel = 4,
sl@0
    35
	EIndicCodeVirama = 5,
sl@0
    36
	EIndicCodeNukta = 6,
sl@0
    37
	EIndicCodeZWJ = 7,
sl@0
    38
	EIndicCodeNuktaConsonant = 8,
sl@0
    39
	EIndicCodeIndependentVowelA = 9,
sl@0
    40
	EIndicCodeDependentVowelCandraE = 10,
sl@0
    41
	EIndicCodeConsonantKannadaBengaliRa = 11,
sl@0
    42
	EIndicCodeSplitVowel1 = 12,
sl@0
    43
	EIndicCodeSplitVowel2 = 13,
sl@0
    44
	EIndicCodeTamilLengthMarkAU = 14,
sl@0
    45
	//Gurmukhi specific types: EIndicCodeGurBeraer* for specific bearer
sl@0
    46
	//EIndicCodeGurDependentVowel* for dependent vowles which can be combined 
sl@0
    47
	//with corresponding bearer to form an independent vowlel
sl@0
    48
	EIndicCodeGurBearerA = 15,
sl@0
    49
	EIndicCodeGurBearerU = 16,
sl@0
    50
	EIndicCodeGurBearerI = 17,
sl@0
    51
	EIndicCodeGurDependentVowelA = 18,
sl@0
    52
	EIndicCodeGurDependentVowelU = 19,
sl@0
    53
	EIndicCodeGurDependentVowelI = 20,
sl@0
    54
	EIndicCodeConsonantMalaChillu = 21,
sl@0
    55
	EIndicCodeConsonantMalaChilluNA = 22,
sl@0
    56
	EIndicCodeConsonantMalaRRA = 23
sl@0
    57
	};
sl@0
    58
	
sl@0
    59
struct TIndicCodeMapping
sl@0
    60
	{
sl@0
    61
	TInt16 iFirstCodeInRange;
sl@0
    62
	TInt16 iCodeType;	// From TIndicCodeType
sl@0
    63
	};
sl@0
    64
sl@0
    65
/** Holds the types of all the symbols in the devanagari range, so that we can
sl@0
    66
work out where the syllable boundaries begin and end. */
sl@0
    67
static const TIndicCodeMapping KDevCodeMap[] =
sl@0
    68
	{
sl@0
    69
	{0, EIndicCodeOther},
sl@0
    70
	{0x901, EIndicCodeCombiningSign},
sl@0
    71
	{0x904, EIndicCodeIndependentVowel},
sl@0
    72
	{0x905, EIndicCodeIndependentVowelA},
sl@0
    73
	{0x906, EIndicCodeIndependentVowel},
sl@0
    74
	{0x915, EIndicCodeConsonant},
sl@0
    75
	{0x929, EIndicCodeNuktaConsonant},
sl@0
    76
	{0x92A, EIndicCodeConsonant},
sl@0
    77
	{0x931, EIndicCodeNuktaConsonant},
sl@0
    78
	{0x932, EIndicCodeConsonant},
sl@0
    79
	{0x934, EIndicCodeNuktaConsonant},
sl@0
    80
	{0x935, EIndicCodeConsonant},
sl@0
    81
	{0x93A, EIndicCodeOther},
sl@0
    82
	{0x93C, EIndicCodeNukta},
sl@0
    83
	{0x93D, EIndicCodeOther},
sl@0
    84
	{0x93E, EIndicCodeDependentVowel},
sl@0
    85
	{0x945, EIndicCodeDependentVowelCandraE},
sl@0
    86
	{0x946, EIndicCodeDependentVowel},
sl@0
    87
	{0x94D, EIndicCodeVirama},
sl@0
    88
	{0x94E, EIndicCodeOther},
sl@0
    89
	{0x951, EIndicCodeCombiningSign},
sl@0
    90
	{0x955, EIndicCodeConsonant},
sl@0
    91
	{0x958, EIndicCodeNuktaConsonant},
sl@0
    92
	{0x960, EIndicCodeIndependentVowel},
sl@0
    93
	{0x962, EIndicCodeDependentVowel},
sl@0
    94
	{0x964, EIndicCodeOther},
sl@0
    95
	{0x200D, EIndicCodeZWJ},
sl@0
    96
	{0x200E, EIndicCodeOther}
sl@0
    97
	};
sl@0
    98
	
sl@0
    99
/** Holds the types of all the symbols in the Kannada range, so that we can
sl@0
   100
work out where the syllable boundaries begin and end. */
sl@0
   101
static const TIndicCodeMapping KKanCodeMap[] =
sl@0
   102
	{
sl@0
   103
	{0, EIndicCodeOther},
sl@0
   104
	{0xC82, EIndicCodeCombiningSign},
sl@0
   105
	{0xC85, EIndicCodeIndependentVowel},
sl@0
   106
	{0xC95, EIndicCodeConsonant},
sl@0
   107
	{0xCB0, EIndicCodeConsonantKannadaBengaliRa},
sl@0
   108
	{0xCB1, EIndicCodeConsonant},
sl@0
   109
	{0xCB4, EIndicCodeOther},
sl@0
   110
	{0xCB5, EIndicCodeConsonant},
sl@0
   111
	{0xCBA, EIndicCodeOther},
sl@0
   112
	{0xCBC, EIndicCodeNukta},
sl@0
   113
	{0xCBD, EIndicCodeOther},
sl@0
   114
	{0xCBE, EIndicCodeDependentVowel},
sl@0
   115
	{0xCC5, EIndicCodeOther},
sl@0
   116
	{0xCC6, EIndicCodeDependentVowel},
sl@0
   117
	{0xCCD, EIndicCodeVirama},
sl@0
   118
	{0xCD5, EIndicCodeCombiningSign},
sl@0
   119
	{0xCDE, EIndicCodeConsonant},
sl@0
   120
	{0xCE0, EIndicCodeIndependentVowel},
sl@0
   121
	{0xCE2, EIndicCodeDependentVowel},
sl@0
   122
	{0xCE4, EIndicCodeOther},
sl@0
   123
	{0x200D, EIndicCodeZWJ},
sl@0
   124
	{0x200E, EIndicCodeOther}
sl@0
   125
	};
sl@0
   126
sl@0
   127
/** Holds the types of all the symbols in the Gujarati range, so that we can
sl@0
   128
work out where the syllable boundaries begin and end. */
sl@0
   129
static const TIndicCodeMapping KGujCodeMap[] =
sl@0
   130
	{
sl@0
   131
	{0, EIndicCodeOther},
sl@0
   132
	{0xA81, EIndicCodeCombiningSign},
sl@0
   133
	{0xA85, EIndicCodeIndependentVowel},
sl@0
   134
	{0xA8E, EIndicCodeOther},
sl@0
   135
	{0xA8F, EIndicCodeIndependentVowel},
sl@0
   136
	{0xA92, EIndicCodeOther},
sl@0
   137
	{0xA93, EIndicCodeIndependentVowel},
sl@0
   138
	{0xA95, EIndicCodeConsonant},
sl@0
   139
	{0xAA9, EIndicCodeOther},
sl@0
   140
	{0xAAA, EIndicCodeConsonant},
sl@0
   141
	{0xAB1, EIndicCodeOther},
sl@0
   142
	{0xAB2, EIndicCodeConsonant},
sl@0
   143
	{0xAB4, EIndicCodeOther},
sl@0
   144
	{0xAB5, EIndicCodeConsonant},
sl@0
   145
	{0xABC, EIndicCodeNukta},
sl@0
   146
	{0xABD, EIndicCodeOther},
sl@0
   147
	{0xABE, EIndicCodeDependentVowel},
sl@0
   148
	{0xAC6, EIndicCodeOther},
sl@0
   149
	{0xAC7, EIndicCodeDependentVowel},
sl@0
   150
	{0xACA, EIndicCodeOther},
sl@0
   151
	{0xACB, EIndicCodeDependentVowel},
sl@0
   152
	{0xACD, EIndicCodeVirama},
sl@0
   153
	{0xACE, EIndicCodeOther},
sl@0
   154
	{0xAE0, EIndicCodeIndependentVowel},
sl@0
   155
	{0xAE2, EIndicCodeDependentVowel},
sl@0
   156
	{0xAE4, EIndicCodeOther},
sl@0
   157
	{0x200D, EIndicCodeZWJ},
sl@0
   158
	{0x200E, EIndicCodeOther}
sl@0
   159
	};
sl@0
   160
	
sl@0
   161
/** Holds the types of all the symbols in the Gurmukhi range, so that we can
sl@0
   162
work out where the syllable boundaries begin and end. */
sl@0
   163
static const TIndicCodeMapping KGurCodeMap[] =
sl@0
   164
	{
sl@0
   165
	{0, EIndicCodeOther},
sl@0
   166
	{0xA01, EIndicCodeCombiningSign},
sl@0
   167
	{0xA04, EIndicCodeOther},
sl@0
   168
	{0xA05, EIndicCodeGurBearerA},
sl@0
   169
	{0xA06, EIndicCodeIndependentVowel},
sl@0
   170
	{0xA0B, EIndicCodeOther},
sl@0
   171
	{0xA0F, EIndicCodeIndependentVowel},
sl@0
   172
	{0xA11, EIndicCodeOther},
sl@0
   173
	{0xA13, EIndicCodeIndependentVowel},
sl@0
   174
	{0xA15, EIndicCodeConsonant},
sl@0
   175
	{0xA29, EIndicCodeOther},
sl@0
   176
	{0xA2A, EIndicCodeConsonant},
sl@0
   177
	{0xA31, EIndicCodeOther},
sl@0
   178
	{0xA32, EIndicCodeConsonant},
sl@0
   179
	{0xA33, EIndicCodeNuktaConsonant},
sl@0
   180
	{0xA34, EIndicCodeOther},
sl@0
   181
	{0xA35, EIndicCodeConsonant},
sl@0
   182
	{0xA36, EIndicCodeNuktaConsonant},
sl@0
   183
	{0xA37, EIndicCodeOther},
sl@0
   184
	{0xA38, EIndicCodeConsonant},
sl@0
   185
	{0xA3A, EIndicCodeOther},
sl@0
   186
	{0xA3C, EIndicCodeNukta},
sl@0
   187
	{0xA3D, EIndicCodeOther},
sl@0
   188
	{0xA3E, EIndicCodeGurDependentVowelA},
sl@0
   189
	{0xA3F, EIndicCodeGurDependentVowelI},
sl@0
   190
	{0xA41, EIndicCodeGurDependentVowelU},
sl@0
   191
	{0xA43, EIndicCodeOther},
sl@0
   192
	{0xA47, EIndicCodeGurDependentVowelI},
sl@0
   193
	{0xA48, EIndicCodeGurDependentVowelA},
sl@0
   194
	{0xA49, EIndicCodeOther},
sl@0
   195
	{0xA4B, EIndicCodeGurDependentVowelU},
sl@0
   196
	{0xA4C, EIndicCodeGurDependentVowelA},
sl@0
   197
	{0xA4D, EIndicCodeVirama},
sl@0
   198
	{0xA4E, EIndicCodeOther},
sl@0
   199
	{0xA59, EIndicCodeNuktaConsonant},
sl@0
   200
	{0xA5C, EIndicCodeConsonant},
sl@0
   201
	{0xA5D, EIndicCodeOther},
sl@0
   202
	{0xA5E, EIndicCodeNuktaConsonant},
sl@0
   203
	{0xA5F, EIndicCodeOther},
sl@0
   204
	{0xA70, EIndicCodeCombiningSign},
sl@0
   205
	{0xA71, EIndicCodeCombiningSign},
sl@0
   206
	{0xA72, EIndicCodeGurBearerI},
sl@0
   207
	{0xA73, EIndicCodeGurBearerU},
sl@0
   208
	{0xA74, EIndicCodeOther},
sl@0
   209
	{0x200D, EIndicCodeZWJ},
sl@0
   210
	{0x200E, EIndicCodeOther}
sl@0
   211
	};
sl@0
   212
sl@0
   213
/** Holds the types of all the symbols in the Bengali range, so that we can
sl@0
   214
work out where the syllable boundaries begin and end. */
sl@0
   215
static const TIndicCodeMapping KBenCodeMap[] =
sl@0
   216
	{
sl@0
   217
	{0, EIndicCodeOther},
sl@0
   218
	{0x981 , EIndicCodeCombiningSign},
sl@0
   219
	{0x985 , EIndicCodeIndependentVowel},
sl@0
   220
	{0x995 , EIndicCodeConsonant},
sl@0
   221
	{0x9B0 , EIndicCodeConsonantKannadaBengaliRa},
sl@0
   222
	{0x9B1 , EIndicCodeConsonant},
sl@0
   223
	{0x9BA , EIndicCodeOther},
sl@0
   224
	{0x9BC , EIndicCodeNukta},
sl@0
   225
	{0x9BD , EIndicCodeOther},
sl@0
   226
	{0x9BE , EIndicCodeDependentVowel},
sl@0
   227
	{0x9C9 , EIndicCodeOther},
sl@0
   228
	{0x9CB , EIndicCodeDependentVowel},
sl@0
   229
	{0x9CD , EIndicCodeVirama},
sl@0
   230
	{0x9CE , EIndicCodeOther},
sl@0
   231
	{0x9D7 , EIndicCodeDependentVowel},
sl@0
   232
	{0x9DC , EIndicCodeConsonant},
sl@0
   233
	{0x9E0 , EIndicCodeIndependentVowel},
sl@0
   234
	{0x9E2 , EIndicCodeDependentVowel},
sl@0
   235
	{0x9E4 , EIndicCodeOther},
sl@0
   236
	{0x200D, EIndicCodeZWJ},
sl@0
   237
	{0x200E, EIndicCodeOther}
sl@0
   238
	};
sl@0
   239
sl@0
   240
/** Holds the types of all the symbols in the Tamil range, so that we can
sl@0
   241
work out where the syllable boundaries begin and end. */
sl@0
   242
static const TIndicCodeMapping KTamCodeMap[] =
sl@0
   243
	{
sl@0
   244
	{0, EIndicCodeOther},
sl@0
   245
	{0xB82 , EIndicCodeCombiningSign},
sl@0
   246
	{0xB83 , EIndicCodeIndependentVowel},
sl@0
   247
	{0xB84 , EIndicCodeOther},
sl@0
   248
	{0xB85 , EIndicCodeIndependentVowel},
sl@0
   249
	{0xB92 , EIndicCodeIndependentVowelA},
sl@0
   250
	{0xB93 , EIndicCodeIndependentVowel},
sl@0
   251
	{0xB95 , EIndicCodeConsonant},
sl@0
   252
	{0xBBE , EIndicCodeSplitVowel2},
sl@0
   253
	{0xBBF , EIndicCodeDependentVowel},
sl@0
   254
	{0xBC6 , EIndicCodeSplitVowel1},
sl@0
   255
	{0xBC8 , EIndicCodeDependentVowel},
sl@0
   256
	{0xBCD , EIndicCodeVirama},
sl@0
   257
	{0xBCE , EIndicCodeOther},
sl@0
   258
	{0xBD7 , EIndicCodeTamilLengthMarkAU},
sl@0
   259
	{0xBE4 , EIndicCodeOther},
sl@0
   260
	{0x200D, EIndicCodeZWJ},
sl@0
   261
	{0x200E, EIndicCodeOther}
sl@0
   262
	};
sl@0
   263
sl@0
   264
/** Holds the types of all the symbols in the Telugu range, so that we can
sl@0
   265
work out where the syllable boundaries begin and end. */
sl@0
   266
static const TIndicCodeMapping KTelCodeMap[] =
sl@0
   267
	{
sl@0
   268
	{0, EIndicCodeOther},
sl@0
   269
	{0xC01, EIndicCodeCombiningSign},
sl@0
   270
	{0xC04, EIndicCodeOther},
sl@0
   271
	{0xC05, EIndicCodeIndependentVowel},
sl@0
   272
	{0xC15, EIndicCodeConsonant},
sl@0
   273
	{0xC3A, EIndicCodeOther},
sl@0
   274
	{0xC3E, EIndicCodeDependentVowel},
sl@0
   275
	{0xC4D, EIndicCodeVirama},
sl@0
   276
	{0xC4E, EIndicCodeOther},
sl@0
   277
	{0xC55, EIndicCodeDependentVowel},
sl@0
   278
	{0xC57, EIndicCodeOther},
sl@0
   279
	{0xC60, EIndicCodeIndependentVowel},
sl@0
   280
	{0xC62, EIndicCodeOther}
sl@0
   281
	};
sl@0
   282
sl@0
   283
/** Holds the types of all the symbols in the Malayalam range, so that we can
sl@0
   284
work out where the syllable boundaries begin and end. */
sl@0
   285
static const TIndicCodeMapping KMalaCodeMap[] =
sl@0
   286
	{
sl@0
   287
	{0, EIndicCodeOther}, // NOT USED D00 - D01
sl@0
   288
	{0xD02, EIndicCodeCombiningSign}, // Modifiers
sl@0
   289
	{0xD04, EIndicCodeOther}, // NOT USED
sl@0
   290
	{0xD05, EIndicCodeIndependentVowel},
sl@0
   291
//	{0xD0D, EIndicCodeOther}, // Reserved
sl@0
   292
//	{0xD0E, EIndicCodeIndependentVowel},
sl@0
   293
//	{0xD11, EIndicCodeOther}, // Reserved
sl@0
   294
//	{0xD12, EIndicCodeIndependentVowel},
sl@0
   295
	{0xD15, EIndicCodeConsonant},
sl@0
   296
	{0xD23, EIndicCodeConsonantMalaChillu}, // NNA
sl@0
   297
	{0xD24, EIndicCodeConsonant},
sl@0
   298
	{0xD28, EIndicCodeConsonantMalaChilluNA}, // NA
sl@0
   299
	{0xD29, EIndicCodeOther}, // Reserved
sl@0
   300
	{0xD2A, EIndicCodeConsonant},
sl@0
   301
	{0xD30, EIndicCodeConsonantMalaChillu}, // RA
sl@0
   302
	{0xD31, EIndicCodeConsonantMalaRRA}, // RRA
sl@0
   303
	{0xD32, EIndicCodeConsonantMalaChillu}, // LA,  LLA
sl@0
   304
	{0xD34, EIndicCodeConsonant},
sl@0
   305
	{0xD3A, EIndicCodeOther}, // NOT USED D3A - D3D
sl@0
   306
	{0xD3E, EIndicCodeSplitVowel2},
sl@0
   307
	{0xD3F, EIndicCodeDependentVowel},
sl@0
   308
//	{0xD44, EIndicCodeOther}, // Reserved D44 - D45
sl@0
   309
	{0xD46, EIndicCodeSplitVowel1},
sl@0
   310
	{0xD48, EIndicCodeDependentVowel},
sl@0
   311
//	{0xD49, EIndicCodeOther}, // Reserved D49
sl@0
   312
//	{0xD4A, EIndicCodeDependentVowel},
sl@0
   313
	{0xD4D, EIndicCodeVirama},
sl@0
   314
	{0xD4E, EIndicCodeOther}, //Reserved D4E - D56
sl@0
   315
	{0xD57, EIndicCodeTamilLengthMarkAU}, // EIndicCodeDependentVowel for Telugu ???
sl@0
   316
	{0xD58, EIndicCodeOther}, // NOT USED D58 - D5F
sl@0
   317
	{0xD60, EIndicCodeIndependentVowel}, // RR, LL
sl@0
   318
	{0xD62, EIndicCodeOther}, // NOT USED D62 - D65, digits D66 - D6F	
sl@0
   319
	{0x200D, EIndicCodeZWJ},
sl@0
   320
	{0x200E, EIndicCodeOther}
sl@0
   321
	};
sl@0
   322
sl@0
   323
/* Holds all parameters specific to scripts */
sl@0
   324
struct TIndicScriptProcessorParameters{
sl@0
   325
	TUint32 iLanguageCode;
sl@0
   326
	TUint32 iScriptCode;
sl@0
   327
	TUint iUCLow;
sl@0
   328
	TUint iUCHigh;
sl@0
   329
	TUint iMapLen;
sl@0
   330
	const TIndicCodeMapping *iCodeMap;
sl@0
   331
};
sl@0
   332
sl@0
   333
static const TIndicScriptProcessorParameters KIndicDevParameters = {
sl@0
   334
	0x48494E20, //KHindiLanguageCode,	
sl@0
   335
	0x64657661, //KDevanagariScriptCode,	
sl@0
   336
	0x0900, //KDevLow,
sl@0
   337
	0x0970, //KDevHigh,	
sl@0
   338
	sizeof(KDevCodeMap)/sizeof(KDevCodeMap[0]),
sl@0
   339
	KDevCodeMap
sl@0
   340
};
sl@0
   341
sl@0
   342
static const TIndicScriptProcessorParameters KIndicKanParameters = {
sl@0
   343
	0x4B414E20, //KKannadaLanguageCode,	
sl@0
   344
	0x6B6E6461, //KKannadaScriptCode,	
sl@0
   345
	0x0C80, //KKanLow,
sl@0
   346
	0x0CFF, //KKanHigh,	
sl@0
   347
	sizeof(KKanCodeMap)/sizeof(KKanCodeMap[0]),
sl@0
   348
	KKanCodeMap
sl@0
   349
};
sl@0
   350
sl@0
   351
static const TIndicScriptProcessorParameters KIndicGujParameters = {
sl@0
   352
	0x47554A20, //KGujaratiLanguageCode,	
sl@0
   353
	0x67756A72, //KGujaratiScriptCode,	
sl@0
   354
	0x0A80, //KGujLow,
sl@0
   355
	0x0AFF, //KGujHigh,	
sl@0
   356
	sizeof(KGujCodeMap)/sizeof(KGujCodeMap[0]),
sl@0
   357
	KGujCodeMap
sl@0
   358
};
sl@0
   359
sl@0
   360
static const TIndicScriptProcessorParameters KIndicBenParameters = {
sl@0
   361
	0x42454E20, //KBengaliLanguageCode,	
sl@0
   362
	0x62656E67, //KBengaliScriptCode,	
sl@0
   363
	0x0980, //KBenLow,
sl@0
   364
	0x09FF, //KBenHigh,	
sl@0
   365
	sizeof(KBenCodeMap)/sizeof(KBenCodeMap[0]),
sl@0
   366
	KBenCodeMap
sl@0
   367
};
sl@0
   368
sl@0
   369
static const TIndicScriptProcessorParameters KIndicTamParameters = {
sl@0
   370
	0x54414D20, //KTamilLanguageCode,	
sl@0
   371
	0x74616D6C, //KTamilScriptCode,
sl@0
   372
	0x0B80, //KTamLow,
sl@0
   373
	0x0BFF, //KTamHigh,	
sl@0
   374
	sizeof(KTamCodeMap)/sizeof(KTamCodeMap[0]),
sl@0
   375
	KTamCodeMap
sl@0
   376
};
sl@0
   377
sl@0
   378
static const TIndicScriptProcessorParameters KIndicTelParameters = {
sl@0
   379
	0x54454C20, //KTeluguLanguageCode,	
sl@0
   380
	0x74656C75, //KTeluguScriptCode,
sl@0
   381
	0x0C00, //KTelLow,
sl@0
   382
	0x0C7F, //KTelHigh,	
sl@0
   383
	sizeof(KTelCodeMap)/sizeof(KTelCodeMap[0]),
sl@0
   384
	KTelCodeMap
sl@0
   385
};
sl@0
   386
sl@0
   387
static const TIndicScriptProcessorParameters KIndicGurParameters = {
sl@0
   388
	0x00000000,	//KGurmukhiLanguageCode,
sl@0
   389
	0x67757275, //KGurmukhiScriptCode,
sl@0
   390
	0x0A00, //KGurLow,
sl@0
   391
	0x0A7F, //KGurHigh,
sl@0
   392
	sizeof(KGurCodeMap)/sizeof(KGurCodeMap[0]),
sl@0
   393
	KGurCodeMap
sl@0
   394
};
sl@0
   395
sl@0
   396
static const TIndicScriptProcessorParameters KIndicMalParameters = {
sl@0
   397
	0x4D4C5220, //KMalayalamLanguageCode,	
sl@0
   398
	0x6D6C796D, //KMalayalamScriptCode,
sl@0
   399
	0x0D00, //KMalaLow,
sl@0
   400
	0x0D7F, //KMalaHigh,	
sl@0
   401
	sizeof(KMalaCodeMap)/sizeof(KMalaCodeMap[0]),
sl@0
   402
	KMalaCodeMap
sl@0
   403
};
sl@0
   404
sl@0
   405
/** This is the default glyph selector class for Devanagari characters in the
sl@0
   406
range 0x0900..0x097F.
sl@0
   407
@internalComponent
sl@0
   408
*/
sl@0
   409
class GlyphSelector_Devanagari
sl@0
   410
	{
sl@0
   411
public:
sl@0
   412
	static TBool Process(TGlyphSelectionState& aGss, RShapeInfo&);
sl@0
   413
	};
sl@0
   414
sl@0
   415
sl@0
   416
/** This is the default glyph selector class for Kannada characters in the
sl@0
   417
range 0x0C80..0x0CFF.
sl@0
   418
@internalComponent
sl@0
   419
*/
sl@0
   420
class GlyphSelector_Kannada
sl@0
   421
	{
sl@0
   422
public:
sl@0
   423
	static TBool Process(TGlyphSelectionState& aGss, RShapeInfo&);
sl@0
   424
	};
sl@0
   425
	
sl@0
   426
sl@0
   427
/** This is the default glyph selector class for Gujarati characters in the
sl@0
   428
range 0x0A80..0x0AFF.
sl@0
   429
@internalComponent
sl@0
   430
*/
sl@0
   431
class GlyphSelector_Gujarati
sl@0
   432
	{
sl@0
   433
public:
sl@0
   434
	static TBool Process(TGlyphSelectionState& aGss, RShapeInfo&);
sl@0
   435
	};
sl@0
   436
	
sl@0
   437
/** This is the default glyph selector class for Bengali characters in the
sl@0
   438
range 0x0980..0x09FF.
sl@0
   439
@internalComponent
sl@0
   440
*/
sl@0
   441
class GlyphSelector_Bengali
sl@0
   442
	{
sl@0
   443
public:
sl@0
   444
	static TBool Process(TGlyphSelectionState& aGss, RShapeInfo&);
sl@0
   445
	};
sl@0
   446
	
sl@0
   447
/** This is the default glyph selector class for Tamil characters in the
sl@0
   448
range 0x0B80..0x0BFF.
sl@0
   449
@internalComponent
sl@0
   450
*/
sl@0
   451
class GlyphSelector_Tamil
sl@0
   452
	{
sl@0
   453
public:
sl@0
   454
	static TBool Process(TGlyphSelectionState& aGss, RShapeInfo&);
sl@0
   455
	};
sl@0
   456
sl@0
   457
/** This is the default glyph selector class for Telugu characters in the
sl@0
   458
range 0x0C00..0x0C7F.
sl@0
   459
@internalComponent
sl@0
   460
*/
sl@0
   461
class GlyphSelector_Telugu
sl@0
   462
	{
sl@0
   463
public:
sl@0
   464
	static TBool Process(TGlyphSelectionState& aGss, RShapeInfo&);
sl@0
   465
	};
sl@0
   466
sl@0
   467
/** This is the default glyph selector class for Gurmukhi characters in the
sl@0
   468
range 0x0A00..0x0A7F.
sl@0
   469
@internalComponent
sl@0
   470
*/
sl@0
   471
class GlyphSelector_Gurmukhi
sl@0
   472
	{
sl@0
   473
public:
sl@0
   474
	static TBool Process(TGlyphSelectionState& aGss, RShapeInfo&);
sl@0
   475
	};
sl@0
   476
sl@0
   477
/** This is the default glyph selector class for Malayalam characters in the
sl@0
   478
range 0x0D00..0x0D7F.
sl@0
   479
@internalComponent
sl@0
   480
*/
sl@0
   481
class GlyphSelector_Malayalam
sl@0
   482
	{
sl@0
   483
public:
sl@0
   484
	static TBool Process(TGlyphSelectionState& aGss, RShapeInfo&);
sl@0
   485
	};
sl@0
   486
sl@0
   487
#endif