sl@0
|
1 |
// Copyright (c) 2003-2009 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 |
#include "BidiCompact.h"
|
sl@0
|
17 |
#include "BidiVisual.h"
|
sl@0
|
18 |
#include <s32mem.h>
|
sl@0
|
19 |
#include <biditext.h>
|
sl@0
|
20 |
#include <linebreak.h>
|
sl@0
|
21 |
#include "TGraphicsContext.h"
|
sl@0
|
22 |
#include "TBiDi.h"
|
sl@0
|
23 |
|
sl@0
|
24 |
//
|
sl@0
|
25 |
// Constants
|
sl@0
|
26 |
//
|
sl@0
|
27 |
static const TInt KBufferSize = 1024;
|
sl@0
|
28 |
static const TInt KHalfBufferSize = KBufferSize/2;
|
sl@0
|
29 |
static const TInt KQuarterBufferSize = KBufferSize/4;
|
sl@0
|
30 |
static const TInt KThreeQuarterBufferSize = KQuarterBufferSize*3;
|
sl@0
|
31 |
static const TInt KUnicodeNoSuchCharacter = 0xFFFF;
|
sl@0
|
32 |
static const TInt KUnicodeLeftToRightMark = 0x200E;
|
sl@0
|
33 |
static const TInt KUnicodeRightToLeftMark = 0x200F;
|
sl@0
|
34 |
static const TInt KUnicodeLeftToRightEmbedding = 0x202A;
|
sl@0
|
35 |
static const TInt KUnicodeRightToLeftEmbedding = 0x202B;
|
sl@0
|
36 |
static const TInt KUnicodePopDirectionFormat = 0x202C;
|
sl@0
|
37 |
static const TInt KUnicodeLeftToRightOverride = 0x202D;
|
sl@0
|
38 |
static const TInt KUnicodeRightToLeftOverride = 0x202E;
|
sl@0
|
39 |
static const TInt KUnicodeZeroWidthJoiner = 0x200D;
|
sl@0
|
40 |
static const TInt KUnicodeSpace = 0x0020;
|
sl@0
|
41 |
static const TInt KUnicodeLinebreak = 0x2028;
|
sl@0
|
42 |
|
sl@0
|
43 |
const TText16 KAlef = 0x627;
|
sl@0
|
44 |
//const TText16 KBeh = 0x628;
|
sl@0
|
45 |
//const TText16 KTehMarbuta = 0x629;
|
sl@0
|
46 |
const TText16 KTeh = 0x62A;
|
sl@0
|
47 |
//const TText16 KTheh = 0x62B;
|
sl@0
|
48 |
//const TText16 KJeem = 0x62C;
|
sl@0
|
49 |
//const TText16 KHah = 0x62D;
|
sl@0
|
50 |
//const TText16 KKhah = 0x62E;
|
sl@0
|
51 |
//const TText16 KDal = 0x62F;
|
sl@0
|
52 |
//const TText16 KThal = 0x630;
|
sl@0
|
53 |
const TText16 KReh = 0x631;
|
sl@0
|
54 |
//const TText16 KZain = 0x632;
|
sl@0
|
55 |
//const TText16 KSeen = 0x633;
|
sl@0
|
56 |
//const TText16 KSheen = 0x634;
|
sl@0
|
57 |
//const TText16 KSad = 0x635;
|
sl@0
|
58 |
//const TText16 KDad = 0x636;
|
sl@0
|
59 |
//const TText16 KTah = 0x637;
|
sl@0
|
60 |
//const TText16 KZah = 0x638;
|
sl@0
|
61 |
//const TText16 KAin = 0x639;
|
sl@0
|
62 |
//const TText16 KGhain = 0x63A;
|
sl@0
|
63 |
const TText16 KFeh = 0x641;
|
sl@0
|
64 |
//const TText16 KQaf = 0x642;
|
sl@0
|
65 |
const TText16 KKaf = 0x643;
|
sl@0
|
66 |
//const TText16 KLam = 0x644;
|
sl@0
|
67 |
//const TText16 KMeem = 0x645;
|
sl@0
|
68 |
const TText16 KNoon = 0x646;
|
sl@0
|
69 |
//const TText16 KHeh = 0x647;
|
sl@0
|
70 |
//const TText16 KWaw = 0x648;
|
sl@0
|
71 |
//const TText16 KAlefMaksura = 0x649;
|
sl@0
|
72 |
const TText16 KYeh = 0x64A;
|
sl@0
|
73 |
const TText16 KEllipsis = 0x2026;
|
sl@0
|
74 |
|
sl@0
|
75 |
// List of all glyphs that have mirrors as per Unicode 3.0.1
|
sl@0
|
76 |
|
sl@0
|
77 |
_LIT(KMirrors,"\x28\x29\x3C\x3E\x5B\x5D\x7B\x7D\xAB\xBB\x2039\x203A\x2045\x2046"
|
sl@0
|
78 |
L"\x207D\x207E\x208D\x208E\x2208\x2209\x220A\x220B\x220C\x220D\x223C\x223D\x2243"
|
sl@0
|
79 |
L"\x2252\x2253\x2254\x2255\x2264\x2265\x2266\x2267\x2268\x2269\x226A\x226B\x226E"
|
sl@0
|
80 |
L"\x226F\x2270\x2271\x2272\x2273\x2274\x2275\x2276\x2277\x2278\x2279\x227A\x227B"
|
sl@0
|
81 |
L"\x227C\x227D\x227E\x227F\x2280\x2281\x2282\x2283\x2284\x2285\x2286\x2287\x2288"
|
sl@0
|
82 |
L"\x2289\x228A\x228B\x228F\x2290\x2291\x2292\x22A2\x22A3\x22B0\x22B1\x22B2\x22B3"
|
sl@0
|
83 |
L"\x22B4\x22B5\x22B6\x22B7\x22C9\x22CA\x22CB\x22CC\x22CD\x22D0\x22D1\x22D6\x22D7"
|
sl@0
|
84 |
L"\x22D8\x22D9\x22DA\x22DB\x22DC\x22DD\x22DE\x22DF\x22E0\x22E1\x22E2\x22E3\x22E4"
|
sl@0
|
85 |
L"\x22E5\x22E6\x22E7\x22E8\x22E9\x22EA\x22EB\x22EC\x22ED\x22F0\x22F1\x2308\x2309"
|
sl@0
|
86 |
L"\x230A\x230B\x2329\x232A\x3008\x3009\x300A\x300B\x300C\x300D\x300E\x300F\x3010"
|
sl@0
|
87 |
L"\x3011\x3014\x3015\x3016\x3017\x3018\x3019\x301A\x301B");
|
sl@0
|
88 |
|
sl@0
|
89 |
// KMirrord()[Pos] is the mirror of KMirrors()[Pos]
|
sl@0
|
90 |
|
sl@0
|
91 |
_LIT(KMirrord,"\x29\x28\x3E\x3C\x5D\x5B\x7D\x7B\xBB\xAB\x203A\x2039\x2046\x2045"
|
sl@0
|
92 |
L"\x207E\x207D\x208E\x208D\x220B\x220C\x220D\x2208\x2209\x220A\x223D\x223C\x22CD"
|
sl@0
|
93 |
L"\x2253\x2252\x2255\x2254\x2265\x2264\x2267\x2266\x2269\x2268\x226B\x226A\x226F"
|
sl@0
|
94 |
L"\x226E\x2271\x2270\x2273\x2272\x2275\x2274\x2277\x2276\x2279\x2278\x227B\x227A"
|
sl@0
|
95 |
L"\x227D\x227C\x227F\x227E\x2281\x2280\x2283\x2282\x2285\x2284\x2287\x2286\x2289"
|
sl@0
|
96 |
L"\x2288\x228B\x228A\x2290\x228F\x2292\x2291\x22A3\x22A2\x22B1\x22B0\x22B3\x22B2"
|
sl@0
|
97 |
L"\x22B5\x22B4\x22B7\x22B6\x22CA\x22C9\x22CC\x22CB\x2243\x22D1\x22D0\x22D7\x22D6"
|
sl@0
|
98 |
L"\x22D9\x22D8\x22DB\x22DA\x22DD\x22DC\x22DF\x22DE\x22E1\x22E0\x22E3\x22E2\x22E5"
|
sl@0
|
99 |
L"\x22E4\x22E7\x22E6\x22E9\x22E8\x22EB\x22EA\x22ED\x22EC\x22F1\x22F0\x2309\x2308"
|
sl@0
|
100 |
L"\x230B\x230A\x232A\x2329\x3009\x3008\x300B\x300A\x300D\x300C\x300F\x300E\x3011"
|
sl@0
|
101 |
L"\x3010\x3015\x3014\x3017\x3016\x3019\x3018\x301B\x301A");
|
sl@0
|
102 |
|
sl@0
|
103 |
// This constant defines the Unicode characters in the "LeftToRight" (L) category.
|
sl@0
|
104 |
// A conventional _LIT cannot be used here because of the Microsoft limit of
|
sl@0
|
105 |
// 2048 bytes for literal strings.
|
sl@0
|
106 |
// Note: Remove all "mark" from this array, i.e, category = Mn, Mc or Me. That's
|
sl@0
|
107 |
// because a "mark" always follow its base character. This feature will
|
sl@0
|
108 |
// lead RLOLeftToRightTest() to fail.
|
sl@0
|
109 |
// Note: Remove all unpaired surrogate.
|
sl@0
|
110 |
static const TUint16 KLeftToRight[] =
|
sl@0
|
111 |
{
|
sl@0
|
112 |
0x0041,0x0042,0x0043,0x0044,0x0045,0x0046,0x0047,0x0048,0x0049,0x004a,
|
sl@0
|
113 |
0x004b,0x004c,0x004d,0x004e,0x004f,0x0050,0x0051,0x0052,0x0053,0x0054,
|
sl@0
|
114 |
0x0055,0x0056,0x0057,0x0058,0x0059,0x005a,0x0061,0x0062,0x0063,0x0064,
|
sl@0
|
115 |
0x0065,0x0066,0x0067,0x0068,0x0069,0x006a,0x006b,0x006c,0x006d,0x006e,
|
sl@0
|
116 |
0x006f,0x0070,0x0071,0x0072,0x0073,0x0074,0x0075,0x0076,0x0077,0x0078,
|
sl@0
|
117 |
0x0079,0x007a,0x00aa,0x00b5,0x00ba,0x00c0,0x00c1,0x00c2,0x00c3,0x00c4,
|
sl@0
|
118 |
0x00c5,0x00c6,0x00c7,0x00c8,0x00c9,0x00ca,0x00cb,0x00cc,0x00cd,0x00ce,
|
sl@0
|
119 |
0x00cf,0x00d0,0x00d1,0x00d2,0x00d3,0x00d4,0x00d5,0x00d6,0x00d8,0x00d9,
|
sl@0
|
120 |
0x00da,0x00db,0x00dc,0x00dd,0x00de,0x00df,0x00e0,0x00e1,0x00e2,0x00e3,
|
sl@0
|
121 |
0x00e4,0x00e5,0x00e6,0x00e7,0x00e8,0x00e9,0x00ea,0x00eb,0x00ec,0x00ed,
|
sl@0
|
122 |
0x00ee,0x00ef,0x00f0,0x00f1,0x00f2,0x00f3,0x00f4,0x00f5,0x00f6,0x00f8,
|
sl@0
|
123 |
0x00f9,0x00fa,0x00fb,0x00fc,0x00fd,0x00fe,0x00ff,0x0100,0x0101,0x0102,
|
sl@0
|
124 |
0x0103,0x0104,0x0105,0x0106,0x0107,0x0108,0x0109,0x010a,0x010b,0x010c,
|
sl@0
|
125 |
0x010d,0x010e,0x010f,0x0110,0x0111,0x0112,0x0113,0x0114,0x0115,0x0116,
|
sl@0
|
126 |
0x0117,0x0118,0x0119,0x011a,0x011b,0x011c,0x011d,0x011e,0x011f,0x0120,
|
sl@0
|
127 |
0x0121,0x0122,0x0123,0x0124,0x0125,0x0126,0x0127,0x0128,0x0129,0x012a,
|
sl@0
|
128 |
0x012b,0x012c,0x012d,0x012e,0x012f,0x0130,0x0131,0x0132,0x0133,0x0134,
|
sl@0
|
129 |
0x0135,0x0136,0x0137,0x0138,0x0139,0x013a,0x013b,0x013c,0x013d,0x013e,
|
sl@0
|
130 |
0x013f,0x0140,0x0141,0x0142,0x0143,0x0144,0x0145,0x0146,0x0147,0x0148,
|
sl@0
|
131 |
0x0149,0x014a,0x014b,0x014c,0x014d,0x014e,0x014f,0x0150,0x0151,0x0152,
|
sl@0
|
132 |
0x0153,0x0154,0x0155,0x0156,0x0157,0x0158,0x0159,0x015a,0x015b,0x015c,
|
sl@0
|
133 |
0x015d,0x015e,0x015f,0x0160,0x0161,0x0162,0x0163,0x0164,0x0165,0x0166,
|
sl@0
|
134 |
0x0167,0x0168,0x0169,0x016a,0x016b,0x016c,0x016d,0x016e,0x016f,0x0170,
|
sl@0
|
135 |
0x0171,0x0172,0x0173,0x0174,0x0175,0x0176,0x0177,0x0178,0x0179,0x017a,
|
sl@0
|
136 |
0x017b,0x017c,0x017d,0x017e,0x017f,0x0180,0x0181,0x0182,0x0183,0x0184,
|
sl@0
|
137 |
0x0185,0x0186,0x0187,0x0188,0x0189,0x018a,0x018b,0x018c,0x018d,0x018e,
|
sl@0
|
138 |
0x018f,0x0190,0x0191,0x0192,0x0193,0x0194,0x0195,0x0196,0x0197,0x0198,
|
sl@0
|
139 |
0x0199,0x019a,0x019b,0x019c,0x019d,0x019e,0x019f,0x01a0,0x01a1,0x01a2,
|
sl@0
|
140 |
0x01a3,0x01a4,0x01a5,0x01a6,0x01a7,0x01a8,0x01a9,0x01aa,0x01ab,0x01ac,
|
sl@0
|
141 |
0x01ad,0x01ae,0x01af,0x01b0,0x01b1,0x01b2,0x01b3,0x01b4,0x01b5,0x01b6,
|
sl@0
|
142 |
0x01b7,0x01b8,0x01b9,0x01ba,0x01bb,0x01bc,0x01bd,0x01be,0x01bf,0x01c0,
|
sl@0
|
143 |
0x01c1,0x01c2,0x01c3,0x01c4,0x01c5,0x01c6,0x01c7,0x01c8,0x01c9,0x01ca,
|
sl@0
|
144 |
0x01cb,0x01cc,0x01cd,0x01ce,0x01cf,0x01d0,0x01d1,0x01d2,0x01d3,0x01d4,
|
sl@0
|
145 |
0x01d5,0x01d6,0x01d7,0x01d8,0x01d9,0x01da,0x01db,0x01dc,0x01dd,0x01de,
|
sl@0
|
146 |
0x01df,0x01e0,0x01e1,0x01e2,0x01e3,0x01e4,0x01e5,0x01e6,0x01e7,0x01e8,
|
sl@0
|
147 |
0x01e9,0x01ea,0x01eb,0x01ec,0x01ed,0x01ee,0x01ef,0x01f0,0x01f1,0x01f2,
|
sl@0
|
148 |
0x01f3,0x01f4,0x01f5,0x01f6,0x01f7,0x01f8,0x01f9,0x01fa,0x01fb,0x01fc,
|
sl@0
|
149 |
0x01fd,0x01fe,0x01ff,0x0200,0x0201,0x0202,0x0203,0x0204,0x0205,0x0206,
|
sl@0
|
150 |
0x0207,0x0208,0x0209,0x020a,0x020b,0x020c,0x020d,0x020e,0x020f,0x0210,
|
sl@0
|
151 |
0x0211,0x0212,0x0213,0x0214,0x0215,0x0216,0x0217,0x0218,0x0219,0x021a,
|
sl@0
|
152 |
0x021b,0x021c,0x021d,0x021e,0x021f,0x0220,0x0221,0x0222,0x0223,0x0224,
|
sl@0
|
153 |
0x0225,0x0226,0x0227,0x0228,0x0229,0x022a,0x022b,0x022c,0x022d,0x022e,
|
sl@0
|
154 |
0x022f,0x0230,0x0231,0x0232,0x0233,0x0234,0x0235,0x0236,0x0237,0x0238,
|
sl@0
|
155 |
0x0239,0x023a,0x023b,0x023c,0x023d,0x023e,0x023f,0x0240,0x0241,0x0242,
|
sl@0
|
156 |
0x0243,0x0244,0x0245,0x0246,0x0247,0x0248,0x0249,0x024a,0x024b,0x024c,
|
sl@0
|
157 |
0x024d,0x024e,0x024f,0x0250,0x0251,0x0252,0x0253,0x0254,0x0255,0x0256,
|
sl@0
|
158 |
0x0257,0x0258,0x0259,0x025a,0x025b,0x025c,0x025d,0x025e,0x025f,0x0260,
|
sl@0
|
159 |
0x0261,0x0262,0x0263,0x0264,0x0265,0x0266,0x0267,0x0268,0x0269,0x026a,
|
sl@0
|
160 |
0x026b,0x026c,0x026d,0x026e,0x026f,0x0270,0x0271,0x0272,0x0273,0x0274,
|
sl@0
|
161 |
0x0275,0x0276,0x0277,0x0278,0x0279,0x027a,0x027b,0x027c,0x027d,0x027e,
|
sl@0
|
162 |
0x027f,0x0280,0x0281,0x0282,0x0283,0x0284,0x0285,0x0286,0x0287,0x0288,
|
sl@0
|
163 |
0x0289,0x028a,0x028b,0x028c,0x028d,0x028e,0x028f,0x0290,0x0291,0x0292,
|
sl@0
|
164 |
0x0293,0x0294,0x0295,0x0296,0x0297,0x0298,0x0299,0x029a,0x029b,0x029c,
|
sl@0
|
165 |
0x029d,0x029e,0x029f,0x02a0,0x02a1,0x02a2,0x02a3,0x02a4,0x02a5,0x02a6,
|
sl@0
|
166 |
0x02a7,0x02a8,0x02a9,0x02aa,0x02ab,0x02ac,0x02ad,0x02ae,0x02af,0x02b0,
|
sl@0
|
167 |
0x02b1,0x02b2,0x02b3,0x02b4,0x02b5,0x02b6,0x02b7,0x02b8,0x02bb,0x02bc,
|
sl@0
|
168 |
0x02bd,0x02be,0x02bf,0x02c0,0x02c1,0x02d0,0x02d1,0x02e0,0x02e1,0x02e2,
|
sl@0
|
169 |
0x02e3,0x02e4,0x02ee,0x037a,0x037b,0x037c,0x037d,0x0386,0x0388,0x0389,
|
sl@0
|
170 |
0x038a,0x038c,0x038e,0x038f,0x0390,0x0391,0x0392,0x0393,0x0394,0x0395,
|
sl@0
|
171 |
0x0396,0x0397,0x0398,0x0399,0x039a,0x039b,0x039c,0x039d,0x039e,0x039f,
|
sl@0
|
172 |
0x03a0,0x03a1,0x03a3,0x03a4,0x03a5,0x03a6,0x03a7,0x03a8,0x03a9,0x03aa,
|
sl@0
|
173 |
0x03ab,0x03ac,0x03ad,0x03ae,0x03af,0x03b0,0x03b1,0x03b2,0x03b3,0x03b4,
|
sl@0
|
174 |
0x03b5,0x03b6,0x03b7,0x03b8,0x03b9,0x03ba,0x03bb,0x03bc,0x03bd,0x03be,
|
sl@0
|
175 |
0x03bf,0x03c0,0x03c1,0x03c2,0x03c3,0x03c4,0x03c5,0x03c6,0x03c7,0x03c8,
|
sl@0
|
176 |
0x03c9,0x03ca,0x03cb,0x03cc,0x03cd,0x03ce,0x03d0,0x03d1,0x03d2,0x03d3,
|
sl@0
|
177 |
0x03d4,0x03d5,0x03d6,0x03d7,0x03d8,0x03d9,0x03da,0x03db,0x03dc,0x03dd,
|
sl@0
|
178 |
0x03de,0x03df,0x03e0,0x03e1,0x03e2,0x03e3,0x03e4,0x03e5,0x03e6,0x03e7,
|
sl@0
|
179 |
0x03e8,0x03e9,0x03ea,0x03eb,0x03ec,0x03ed,0x03ee,0x03ef,0x03f0,0x03f1,
|
sl@0
|
180 |
0x03f2,0x03f3,0x03f4,0x03f5,0x03f7,0x03f8,0x03f9,0x03fa,0x03fb,0x03fc,
|
sl@0
|
181 |
0x03fd,0x03fe,0x03ff,0x0400,0x0401,0x0402,0x0403,0x0404,0x0405,0x0406,
|
sl@0
|
182 |
0x0407,0x0408,0x0409,0x040a,0x040b,0x040c,0x040d,0x040e,0x040f,0x0410,
|
sl@0
|
183 |
0x0411,0x0412,0x0413,0x0414,0x0415,0x0416,0x0417,0x0418,0x0419,0x041a,
|
sl@0
|
184 |
0x041b,0x041c,0x041d,0x041e,0x041f,0x0420,0x0421,0x0422,0x0423,0x0424,
|
sl@0
|
185 |
0x0425,0x0426,0x0427,0x0428,0x0429,0x042a,0x042b,0x042c,0x042d,0x042e,
|
sl@0
|
186 |
0x042f,0x0430,0x0431,0x0432,0x0433,0x0434,0x0435,0x0436,0x0437,0x0438,
|
sl@0
|
187 |
0x0439,0x043a,0x043b,0x043c,0x043d,0x043e,0x043f,0x0440,0x0441,0x0442,
|
sl@0
|
188 |
0x0443,0x0444,0x0445,0x0446,0x0447,0x0448,0x0449,0x044a,0x044b,0x044c,
|
sl@0
|
189 |
0x044d,0x044e,0x044f,0x0450,0x0451,0x0452,0x0453,0x0454,0x0455,0x0456,
|
sl@0
|
190 |
0x0457,0x0458,0x0459,0x045a,0x045b,0x045c,0x045d,0x045e,0x045f,0x0460,
|
sl@0
|
191 |
0x0461,0x0462,0x0463,0x0464,0x0465,0x0466,0x0467,0x0468,0x0469,0x046a,
|
sl@0
|
192 |
0x046b,0x046c,0x046d,0x046e,0x046f,0x0470,0x0471,0x0472,0x0473,0x0474,
|
sl@0
|
193 |
0x0475,0x0476,0x0477,0x0478,0x0479,0x047a,0x047b,0x047c,0x047d,0x047e,
|
sl@0
|
194 |
0x047f,0x0480,0x0481,0x0482,0x048a,0x048b,0x048c,0x048d,0x048e,0x048f,
|
sl@0
|
195 |
0x0490,0x0491,0x0492,0x0493,0x0494,0x0495,0x0496,0x0497,0x0498,0x0499,
|
sl@0
|
196 |
0x049a,0x049b,0x049c,0x049d,0x049e,0x049f,0x04a0,0x04a1,0x04a2,0x04a3,
|
sl@0
|
197 |
0x04a4,0x04a5,0x04a6,0x04a7,0x04a8,0x04a9,0x04aa,0x04ab,0x04ac,0x04ad,
|
sl@0
|
198 |
0x04ae,0x04af,0x04b0,0x04b1,0x04b2,0x04b3,0x04b4,0x04b5,0x04b6,0x04b7,
|
sl@0
|
199 |
0x04b8,0x04b9,0x04ba,0x04bb,0x04bc,0x04bd,0x04be,0x04bf,0x04c0,0x04c1,
|
sl@0
|
200 |
0x04c2,0x04c3,0x04c4,0x04c5,0x04c6,0x04c7,0x04c8,0x04c9,0x04ca,0x04cb,
|
sl@0
|
201 |
0x04cc,0x04cd,0x04ce,0x04cf,0x04d0,0x04d1,0x04d2,0x04d3,0x04d4,0x04d5,
|
sl@0
|
202 |
0x04d6,0x04d7,0x04d8,0x04d9,0x04da,0x04db,0x04dc,0x04dd,0x04de,0x04df,
|
sl@0
|
203 |
0x04e0,0x04e1,0x04e2,0x04e3,0x04e4,0x04e5,0x04e6,0x04e7,0x04e8,0x04e9,
|
sl@0
|
204 |
0x04ea,0x04eb,0x04ec,0x04ed,0x04ee,0x04ef,0x04f0,0x04f1,0x04f2,0x04f3,
|
sl@0
|
205 |
0x04f4,0x04f5,0x04f6,0x04f7,0x04f8,0x04f9,0x04fa,0x04fb,0x04fc,0x04fd,
|
sl@0
|
206 |
0x04fe,0x04ff,0x0500,0x0501,0x0502,0x0503,0x0504,0x0505,0x0506,0x0507,
|
sl@0
|
207 |
0x0508,0x0509,0x050a,0x050b,0x050c,0x050d,0x050e,0x050f,0x0510,0x0511,
|
sl@0
|
208 |
0x0512,0x0513,0x0531,0x0532,0x0533,0x0534,0x0535,0x0536,0x0537,0x0538,
|
sl@0
|
209 |
0x0539,0x053a,0x053b,0x053c,0x053d,0x053e,0x053f,0x0540,0x0541,0x0542,
|
sl@0
|
210 |
0x0543,0x0544,0x0545,0x0546,0x0547,0x0548,0x0549,0x054a,0x054b,0x054c,
|
sl@0
|
211 |
0x054d,0x054e,0x054f,0x0550,0x0551,0x0552,0x0553,0x0554,0x0555,0x0556,
|
sl@0
|
212 |
0x0559,0x055a,0x055b,0x055c,0x055d,0x055e,0x055f,0x0561,0x0562,0x0563,
|
sl@0
|
213 |
0x0564,0x0565,0x0566,0x0567,0x0568,0x0569,0x056a,0x056b,0x056c,0x056d,
|
sl@0
|
214 |
0x056e,0x056f,0x0570,0x0571,0x0572,0x0573,0x0574,0x0575,0x0576,0x0577,
|
sl@0
|
215 |
0x0578,0x0579,0x057a,0x057b,0x057c,0x057d,0x057e,0x057f,0x0580,0x0581,
|
sl@0
|
216 |
0x0582,0x0583,0x0584,0x0585,0x0586,0x0587,0x0589,0x0904,0x0905,0x0906,
|
sl@0
|
217 |
0x0907,0x0908,0x0909,0x090a,0x090b,0x090c,0x090d,0x090e,0x090f,0x0910,
|
sl@0
|
218 |
0x0911,0x0912,0x0913,0x0914,0x0915,0x0916,0x0917,0x0918,0x0919,0x091a,
|
sl@0
|
219 |
0x091b,0x091c,0x091d,0x091e,0x091f,0x0920,0x0921,0x0922,0x0923,0x0924,
|
sl@0
|
220 |
0x0925,0x0926,0x0927,0x0928,0x0929,0x092a,0x092b,0x092c,0x092d,0x092e,
|
sl@0
|
221 |
0x092f,0x0930,0x0931,0x0932,0x0933,0x0934,0x0935,0x0936,0x0937,0x0938,
|
sl@0
|
222 |
0x0939,0x093d,0x0950,0x0958,0x0959,0x095a,0x095b,0x095c,0x095d,0x095e,
|
sl@0
|
223 |
0x095f,0x0960,0x0961,0x0964,0x0965,0x0966,0x0967,0x0968,0x0969,0x096a,
|
sl@0
|
224 |
0x096b,0x096c,0x096d,0x096e,0x096f,0x0970,0x097b,0x097c,0x097d,0x097e,
|
sl@0
|
225 |
0x097f,0x0985,0x0986,0x0987,0x0988,0x0989,0x098a,0x098b,0x098c,0x098f,
|
sl@0
|
226 |
0x0990,0x0993,0x0994,0x0995,0x0996,0x0997,0x0998,0x0999,0x099a,0x099b,
|
sl@0
|
227 |
0x099c,0x099d,0x099e,0x099f,0x09a0,0x09a1,0x09a2,0x09a3,0x09a4,0x09a5,
|
sl@0
|
228 |
0x09a6,0x09a7,0x09a8,0x09aa,0x09ab,0x09ac,0x09ad,0x09ae,0x09af,0x09b0,
|
sl@0
|
229 |
0x09b2,0x09b6,0x09b7,0x09b8,0x09b9,0x09bd,0x09ce,0x09dc,0x09dd,0x09df,
|
sl@0
|
230 |
0x09e0,0x09e1,0x09e6,0x09e7,0x09e8,0x09e9,0x09ea,0x09eb,0x09ec,0x09ed,
|
sl@0
|
231 |
0x09ee,0x09ef,0x09f0,0x09f1,0x09f4,0x09f5,0x09f6,0x09f7,0x09f8,0x09f9,
|
sl@0
|
232 |
0x09fa,0x0a05,0x0a06,0x0a07,0x0a08,0x0a09,0x0a0a,0x0a0f,0x0a10,0x0a13,
|
sl@0
|
233 |
0x0a14,0x0a15,0x0a16,0x0a17,0x0a18,0x0a19,0x0a1a,0x0a1b,0x0a1c,0x0a1d,
|
sl@0
|
234 |
0x0a1e,0x0a1f,0x0a20,0x0a21,0x0a22,0x0a23,0x0a24,0x0a25,0x0a26,0x0a27,
|
sl@0
|
235 |
0x0a28,0x0a2a,0x0a2b,0x0a2c,0x0a2d,0x0a2e,0x0a2f,0x0a30,0x0a32,0x0a33,
|
sl@0
|
236 |
0x0a35,0x0a36,0x0a38,0x0a39,0x0a59,0x0a5a,0x0a5b,0x0a5c,0x0a5e,0x0a66,
|
sl@0
|
237 |
0x0a67,0x0a68,0x0a69,0x0a6a,0x0a6b,0x0a6c,0x0a6d,0x0a6e,0x0a6f,0x0a72,
|
sl@0
|
238 |
0x0a73,0x0a74,0x0a85,0x0a86,0x0a87,0x0a88,0x0a89,0x0a8a,0x0a8b,0x0a8c,
|
sl@0
|
239 |
0x0a8d,0x0a8f,0x0a90,0x0a91,0x0a93,0x0a94,0x0a95,0x0a96,0x0a97,0x0a98,
|
sl@0
|
240 |
0x0a99,0x0a9a,0x0a9b,0x0a9c,0x0a9d,0x0a9e,0x0a9f,0x0aa0,0x0aa1,0x0aa2,
|
sl@0
|
241 |
0x0aa3,0x0aa4,0x0aa5,0x0aa6,0x0aa7,0x0aa8,0x0aaa,0x0aab,0x0aac,0x0aad,
|
sl@0
|
242 |
0x0aae,0x0aaf,0x0ab0,0x0ab2,0x0ab3,0x0ab5,0x0ab6,0x0ab7,0x0ab8,0x0ab9,
|
sl@0
|
243 |
0x0abd,0x0ad0,0x0ae0,0x0ae1,0x0ae6,0x0ae7,0x0ae8,0x0ae9,0x0aea,0x0aeb,
|
sl@0
|
244 |
0x0aec,0x0aed,0x0aee,0x0aef,0x0b05,0x0b06,0x0b07,0x0b08,0x0b09,0x0b0a,
|
sl@0
|
245 |
0x0b0b,0x0b0c,0x0b0f,0x0b10,0x0b13,0x0b14,0x0b15,0x0b16,0x0b17,0x0b18,
|
sl@0
|
246 |
0x0b19,0x0b1a,0x0b1b,0x0b1c,0x0b1d,0x0b1e,0x0b1f,0x0b20,0x0b21,0x0b22,
|
sl@0
|
247 |
0x0b23,0x0b24,0x0b25,0x0b26,0x0b27,0x0b28,0x0b2a,0x0b2b,0x0b2c,0x0b2d,
|
sl@0
|
248 |
0x0b2e,0x0b2f,0x0b30,0x0b32,0x0b33,0x0b35,0x0b36,0x0b37,0x0b38,0x0b39,
|
sl@0
|
249 |
0x0b3d,0x0b5c,0x0b5d,0x0b5f,0x0b60,0x0b61,0x0b66,0x0b67,0x0b68,0x0b69,
|
sl@0
|
250 |
0x0b6a,0x0b6b,0x0b6c,0x0b6d,0x0b6e,0x0b6f,0x0b70,0x0b71,0x0b83,0x0b85,
|
sl@0
|
251 |
0x0b86,0x0b87,0x0b88,0x0b89,0x0b8a,0x0b8e,0x0b8f,0x0b90,0x0b92,0x0b93,
|
sl@0
|
252 |
0x0b94,0x0b95,0x0b99,0x0b9a,0x0b9c,0x0b9e,0x0b9f,0x0ba3,0x0ba4,0x0ba8,
|
sl@0
|
253 |
0x0ba9,0x0baa,0x0bae,0x0baf,0x0bb0,0x0bb1,0x0bb2,0x0bb3,0x0bb4,0x0bb5,
|
sl@0
|
254 |
0x0bb6,0x0bb7,0x0bb8,0x0bb9,0x0be6,0x0be7,0x0be8,0x0be9,0x0bea,0x0beb,
|
sl@0
|
255 |
0x0bec,0x0bed,0x0bee,0x0bef,0x0bf0,0x0bf1,0x0bf2,0x0c05,0x0c06,0x0c07,
|
sl@0
|
256 |
0x0c08,0x0c09,0x0c0a,0x0c0b,0x0c0c,0x0c0e,0x0c0f,0x0c10,0x0c12,0x0c13,
|
sl@0
|
257 |
0x0c14,0x0c15,0x0c16,0x0c17,0x0c18,0x0c19,0x0c1a,0x0c1b,0x0c1c,0x0c1d,
|
sl@0
|
258 |
0x0c1e,0x0c1f,0x0c20,0x0c21,0x0c22,0x0c23,0x0c24,0x0c25,0x0c26,0x0c27,
|
sl@0
|
259 |
0x0c28,0x0c2a,0x0c2b,0x0c2c,0x0c2d,0x0c2e,0x0c2f,0x0c30,0x0c31,0x0c32,
|
sl@0
|
260 |
0x0c33,0x0c35,0x0c36,0x0c37,0x0c38,0x0c39,0x0c60,0x0c61,0x0c66,0x0c67,
|
sl@0
|
261 |
0x0c68,0x0c69,0x0c6a,0x0c6b,0x0c6c,0x0c6d,0x0c6e,0x0c6f,0x0c85,0x0c86,
|
sl@0
|
262 |
0x0c87,0x0c88,0x0c89,0x0c8a,0x0c8b,0x0c8c,0x0c8e,0x0c8f,0x0c90,0x0c92,
|
sl@0
|
263 |
0x0c93,0x0c94,0x0c95,0x0c96,0x0c97,0x0c98,0x0c99,0x0c9a,0x0c9b,0x0c9c,
|
sl@0
|
264 |
0x0c9d,0x0c9e,0x0c9f,0x0ca0,0x0ca1,0x0ca2,0x0ca3,0x0ca4,0x0ca5,0x0ca6,
|
sl@0
|
265 |
0x0ca7,0x0ca8,0x0caa,0x0cab,0x0cac,0x0cad,0x0cae,0x0caf,0x0cb0,0x0cb1,
|
sl@0
|
266 |
0x0cb2,0x0cb3,0x0cb5,0x0cb6,0x0cb7,0x0cb8,0x0cb9,0x0cbd,0x0cde,0x0ce0,
|
sl@0
|
267 |
0x0ce1,0x0ce6,0x0ce7,0x0ce8,0x0ce9,0x0cea,0x0ceb,0x0cec,0x0ced,0x0cee,
|
sl@0
|
268 |
0x0cef,0x0d05,0x0d06,0x0d07,0x0d08,0x0d09,0x0d0a,0x0d0b,0x0d0c,0x0d0e,
|
sl@0
|
269 |
0x0d0f,0x0d10,0x0d12,0x0d13,0x0d14,0x0d15,0x0d16,0x0d17,0x0d18,0x0d19,
|
sl@0
|
270 |
0x0d1a,0x0d1b,0x0d1c,0x0d1d,0x0d1e,0x0d1f,0x0d20,0x0d21,0x0d22,0x0d23,
|
sl@0
|
271 |
0x0d24,0x0d25,0x0d26,0x0d27,0x0d28,0x0d2a,0x0d2b,0x0d2c,0x0d2d,0x0d2e,
|
sl@0
|
272 |
0x0d2f,0x0d30,0x0d31,0x0d32,0x0d33,0x0d34,0x0d35,0x0d36,0x0d37,0x0d38,
|
sl@0
|
273 |
0x0d39,0x0d60,0x0d61,0x0d66,0x0d67,0x0d68,0x0d69,0x0d6a,0x0d6b,0x0d6c,
|
sl@0
|
274 |
0x0d6d,0x0d6e,0x0d6f,0x0d85,0x0d86,0x0d87,0x0d88,0x0d89,0x0d8a,0x0d8b,
|
sl@0
|
275 |
0x0d8c,0x0d8d,0x0d8e,0x0d8f,0x0d90,0x0d91,0x0d92,0x0d93,0x0d94,0x0d95,
|
sl@0
|
276 |
0x0d96,0x0d9a,0x0d9b,0x0d9c,0x0d9d,0x0d9e,0x0d9f,0x0da0,0x0da1,0x0da2,
|
sl@0
|
277 |
0x0da3,0x0da4,0x0da5,0x0da6,0x0da7,0x0da8,0x0da9,0x0daa,0x0dab,0x0dac,
|
sl@0
|
278 |
0x0dad,0x0dae,0x0daf,0x0db0,0x0db1,0x0db3,0x0db4,0x0db5,0x0db6,0x0db7,
|
sl@0
|
279 |
0x0db8,0x0db9,0x0dba,0x0dbb,0x0dbd,0x0dc0,0x0dc1,0x0dc2,0x0dc3,0x0dc4,
|
sl@0
|
280 |
0x0dc5,0x0dc6,0x0df4,0x0e01,0x0e02,0x0e03,0x0e04,0x0e05,0x0e06,0x0e07,
|
sl@0
|
281 |
0x0e08,0x0e09,0x0e0a,0x0e0b,0x0e0c,0x0e0d,0x0e0e,0x0e0f,0x0e10,0x0e11,
|
sl@0
|
282 |
0x0e12,0x0e13,0x0e14,0x0e15,0x0e16,0x0e17,0x0e18,0x0e19,0x0e1a,0x0e1b,
|
sl@0
|
283 |
0x0e1c,0x0e1d,0x0e1e,0x0e1f,0x0e20,0x0e21,0x0e22,0x0e23,0x0e24,0x0e25,
|
sl@0
|
284 |
0x0e26,0x0e27,0x0e28,0x0e29,0x0e2a,0x0e2b,0x0e2c,0x0e2d,0x0e2e,0x0e2f,
|
sl@0
|
285 |
0x0e30,0x0e32,0x0e33,0x0e40,0x0e41,0x0e42,0x0e43,0x0e44,0x0e45,0x0e46,
|
sl@0
|
286 |
0x0e4f,0x0e50,0x0e51,0x0e52,0x0e53,0x0e54,0x0e55,0x0e56,0x0e57,0x0e58,
|
sl@0
|
287 |
0x0e59,0x0e5a,0x0e5b,0x0e81,0x0e82,0x0e84,0x0e87,0x0e88,0x0e8a,0x0e8d,
|
sl@0
|
288 |
0x0e94,0x0e95,0x0e96,0x0e97,0x0e99,0x0e9a,0x0e9b,0x0e9c,0x0e9d,0x0e9e,
|
sl@0
|
289 |
0x0e9f,0x0ea1,0x0ea2,0x0ea3,0x0ea5,0x0ea7,0x0eaa,0x0eab,0x0ead,0x0eae,
|
sl@0
|
290 |
0x0eaf,0x0eb0,0x0eb2,0x0eb3,0x0ebd,0x0ec0,0x0ec1,0x0ec2,0x0ec3,0x0ec4,
|
sl@0
|
291 |
0x0ec6,0x0ed0,0x0ed1,0x0ed2,0x0ed3,0x0ed4,0x0ed5,0x0ed6,0x0ed7,0x0ed8,
|
sl@0
|
292 |
0x0ed9,0x0edc,0x0edd,0x0f00,0x0f01,0x0f02,0x0f03,0x0f04,0x0f05,0x0f06,
|
sl@0
|
293 |
0x0f07,0x0f08,0x0f09,0x0f0a,0x0f0b,0x0f0c,0x0f0d,0x0f0e,0x0f0f,0x0f10,
|
sl@0
|
294 |
0x0f11,0x0f12,0x0f13,0x0f14,0x0f15,0x0f16,0x0f17,0x0f1a,0x0f1b,0x0f1c,
|
sl@0
|
295 |
0x0f1d,0x0f1e,0x0f1f,0x0f20,0x0f21,0x0f22,0x0f23,0x0f24,0x0f25,0x0f26,
|
sl@0
|
296 |
0x0f27,0x0f28,0x0f29,0x0f2a,0x0f2b,0x0f2c,0x0f2d,0x0f2e,0x0f2f,0x0f30,
|
sl@0
|
297 |
0x0f31,0x0f32,0x0f33,0x0f34,0x0f36,0x0f38,0x0f40,0x0f41,0x0f42,0x0f43,
|
sl@0
|
298 |
0x0f44,0x0f45,0x0f46,0x0f47,0x0f49,0x0f4a,0x0f4b,0x0f4c,0x0f4d,0x0f4e,
|
sl@0
|
299 |
0x0f4f,0x0f50,0x0f51,0x0f52,0x0f53,0x0f54,0x0f55,0x0f56,0x0f57,0x0f58,
|
sl@0
|
300 |
0x0f59,0x0f5a,0x0f5b,0x0f5c,0x0f5d,0x0f5e,0x0f5f,0x0f60,0x0f61,0x0f62,
|
sl@0
|
301 |
0x0f63,0x0f64,0x0f65,0x0f66,0x0f67,0x0f68,0x0f69,0x0f6a,0x0f85,0x0f88,
|
sl@0
|
302 |
0x0f89,0x0f8a,0x0f8b,0x0fbe,0x0fbf,0x0fc0,0x0fc1,0x0fc2,0x0fc3,0x0fc4,
|
sl@0
|
303 |
0x0fc5,0x0fc7,0x0fc8,0x0fc9,0x0fca,0x0fcb,0x0fcc,0x0fcf,0x0fd0,0x0fd1,
|
sl@0
|
304 |
0x1000,0x1001,0x1002,0x1003,0x1004,0x1005,0x1006,0x1007,0x1008,0x1009,
|
sl@0
|
305 |
0x100a,0x100b,0x100c,0x100d,0x100e,0x100f,0x1010,0x1011,0x1012,0x1013,
|
sl@0
|
306 |
0x1014,0x1015,0x1016,0x1017,0x1018,0x1019,0x101a,0x101b,0x101c,0x101d,
|
sl@0
|
307 |
0x101e,0x101f,0x1020,0x1021,0x1023,0x1024,0x1025,0x1026,0x1027,0x1029,
|
sl@0
|
308 |
0x102a,0x1040,0x1041,0x1042,0x1043,0x1044,0x1045,0x1046,0x1047,0x1048,
|
sl@0
|
309 |
0x1049,0x104a,0x104b,0x104c,0x104d,0x104e,0x104f,0x1050,0x1051,0x1052,
|
sl@0
|
310 |
0x1053,0x1054,0x1055,0x10a0,0x10a1,0x10a2,0x10a3,0x10a4,0x10a5,0x10a6,
|
sl@0
|
311 |
0x10a7,0x10a8,0x10a9,0x10aa,0x10ab,0x10ac,0x10ad,0x10ae,0x10af,0x10b0,
|
sl@0
|
312 |
0x10b1,0x10b2,0x10b3,0x10b4,0x10b5,0x10b6,0x10b7,0x10b8,0x10b9,0x10ba,
|
sl@0
|
313 |
0x10bb,0x10bc,0x10bd,0x10be,0x10bf,0x10c0,0x10c1,0x10c2,0x10c3,0x10c4,
|
sl@0
|
314 |
0x10c5,0x10d0,0x10d1,0x10d2,0x10d3,0x10d4,0x10d5,0x10d6,0x10d7,0x10d8,
|
sl@0
|
315 |
0x10d9,0x10da,0x10db,0x10dc,0x10dd,0x10de,0x10df,0x10e0,0x10e1,0x10e2,
|
sl@0
|
316 |
0x10e3,0x10e4,0x10e5,0x10e6,0x10e7,0x10e8,0x10e9,0x10ea,0x10eb,0x10ec,
|
sl@0
|
317 |
0x10ed,0x10ee,0x10ef,0x10f0,0x10f1,0x10f2,0x10f3,0x10f4,0x10f5,0x10f6,
|
sl@0
|
318 |
0x10f7,0x10f8,0x10f9,0x10fa,0x10fb,0x10fc,0x1100,0x1101,0x1102,0x1103,
|
sl@0
|
319 |
0x1104,0x1105,0x1106,0x1107,0x1108,0x1109,0x110a,0x110b,0x110c,0x110d,
|
sl@0
|
320 |
0x110e,0x110f,0x1110,0x1111,0x1112,0x1113,0x1114,0x1115,0x1116,0x1117,
|
sl@0
|
321 |
0x1118,0x1119,0x111a,0x111b,0x111c,0x111d,0x111e,0x111f,0x1120,0x1121,
|
sl@0
|
322 |
0x1122,0x1123,0x1124,0x1125,0x1126,0x1127,0x1128,0x1129,0x112a,0x112b,
|
sl@0
|
323 |
0x112c,0x112d,0x112e,0x112f,0x1130,0x1131,0x1132,0x1133,0x1134,0x1135,
|
sl@0
|
324 |
0x1136,0x1137,0x1138,0x1139,0x113a,0x113b,0x113c,0x113d,0x113e,0x113f,
|
sl@0
|
325 |
0x1140,0x1141,0x1142,0x1143,0x1144,0x1145,0x1146,0x1147,0x1148,0x1149,
|
sl@0
|
326 |
0x114a,0x114b,0x114c,0x114d,0x114e,0x114f,0x1150,0x1151,0x1152,0x1153,
|
sl@0
|
327 |
0x1154,0x1155,0x1156,0x1157,0x1158,0x1159,0x115f,0x1160,0x1161,0x1162,
|
sl@0
|
328 |
0x1163,0x1164,0x1165,0x1166,0x1167,0x1168,0x1169,0x116a,0x116b,0x116c,
|
sl@0
|
329 |
0x116d,0x116e,0x116f,0x1170,0x1171,0x1172,0x1173,0x1174,0x1175,0x1176,
|
sl@0
|
330 |
0x1177,0x1178,0x1179,0x117a,0x117b,0x117c,0x117d,0x117e,0x117f,0x1180,
|
sl@0
|
331 |
0x1181,0x1182,0x1183,0x1184,0x1185,0x1186,0x1187,0x1188,0x1189,0x118a,
|
sl@0
|
332 |
0x118b,0x118c,0x118d,0x118e,0x118f,0x1190,0x1191,0x1192,0x1193,0x1194,
|
sl@0
|
333 |
0x1195,0x1196,0x1197,0x1198,0x1199,0x119a,0x119b,0x119c,0x119d,0x119e,
|
sl@0
|
334 |
0x119f,0x11a0,0x11a1,0x11a2,0x11a8,0x11a9,0x11aa,0x11ab,0x11ac,0x11ad,
|
sl@0
|
335 |
0x11ae,0x11af,0x11b0,0x11b1,0x11b2,0x11b3,0x11b4,0x11b5,0x11b6,0x11b7,
|
sl@0
|
336 |
0x11b8,0x11b9,0x11ba,0x11bb,0x11bc,0x11bd,0x11be,0x11bf,0x11c0,0x11c1,
|
sl@0
|
337 |
0x11c2,0x11c3,0x11c4,0x11c5,0x11c6,0x11c7,0x11c8,0x11c9,0x11ca,0x11cb,
|
sl@0
|
338 |
0x11cc,0x11cd,0x11ce,0x11cf,0x11d0,0x11d1,0x11d2,0x11d3,0x11d4,0x11d5,
|
sl@0
|
339 |
0x11d6,0x11d7,0x11d8,0x11d9,0x11da,0x11db,0x11dc,0x11dd,0x11de,0x11df,
|
sl@0
|
340 |
0x11e0,0x11e1,0x11e2,0x11e3,0x11e4,0x11e5,0x11e6,0x11e7,0x11e8,0x11e9,
|
sl@0
|
341 |
0x11ea,0x11eb,0x11ec,0x11ed,0x11ee,0x11ef,0x11f0,0x11f1,0x11f2,0x11f3,
|
sl@0
|
342 |
0x11f4,0x11f5,0x11f6,0x11f7,0x11f8,0x11f9,0x1200,0x1201,0x1202,0x1203,
|
sl@0
|
343 |
0x1204,0x1205,0x1206,0x1207,0x1208,0x1209,0x120a,0x120b,0x120c,0x120d,
|
sl@0
|
344 |
0x120e,0x120f,0x1210,0x1211,0x1212,0x1213,0x1214,0x1215,0x1216,0x1217,
|
sl@0
|
345 |
0x1218,0x1219,0x121a,0x121b,0x121c,0x121d,0x121e,0x121f,0x1220,0x1221,
|
sl@0
|
346 |
0x1222,0x1223,0x1224,0x1225,0x1226,0x1227,0x1228,0x1229,0x122a,0x122b,
|
sl@0
|
347 |
0x122c,0x122d,0x122e,0x122f,0x1230,0x1231,0x1232,0x1233,0x1234,0x1235,
|
sl@0
|
348 |
0x1236,0x1237,0x1238,0x1239,0x123a,0x123b,0x123c,0x123d,0x123e,0x123f,
|
sl@0
|
349 |
0x1240,0x1241,0x1242,0x1243,0x1244,0x1245,0x1246,0x1247,0x1248,0x124a,
|
sl@0
|
350 |
0x124b,0x124c,0x124d,0x1250,0x1251,0x1252,0x1253,0x1254,0x1255,0x1256,
|
sl@0
|
351 |
0x1258,0x125a,0x125b,0x125c,0x125d,0x1260,0x1261,0x1262,0x1263,0x1264,
|
sl@0
|
352 |
0x1265,0x1266,0x1267,0x1268,0x1269,0x126a,0x126b,0x126c,0x126d,0x126e,
|
sl@0
|
353 |
0x126f,0x1270,0x1271,0x1272,0x1273,0x1274,0x1275,0x1276,0x1277,0x1278,
|
sl@0
|
354 |
0x1279,0x127a,0x127b,0x127c,0x127d,0x127e,0x127f,0x1280,0x1281,0x1282,
|
sl@0
|
355 |
0x1283,0x1284,0x1285,0x1286,0x1287,0x1288,0x128a,0x128b,0x128c,0x128d,
|
sl@0
|
356 |
0x1290,0x1291,0x1292,0x1293,0x1294,0x1295,0x1296,0x1297,0x1298,0x1299,
|
sl@0
|
357 |
0x129a,0x129b,0x129c,0x129d,0x129e,0x129f,0x12a0,0x12a1,0x12a2,0x12a3,
|
sl@0
|
358 |
0x12a4,0x12a5,0x12a6,0x12a7,0x12a8,0x12a9,0x12aa,0x12ab,0x12ac,0x12ad,
|
sl@0
|
359 |
0x12ae,0x12af,0x12b0,0x12b2,0x12b3,0x12b4,0x12b5,0x12b8,0x12b9,0x12ba,
|
sl@0
|
360 |
0x12bb,0x12bc,0x12bd,0x12be,0x12c0,0x12c2,0x12c3,0x12c4,0x12c5,0x12c8,
|
sl@0
|
361 |
0x12c9,0x12ca,0x12cb,0x12cc,0x12cd,0x12ce,0x12cf,0x12d0,0x12d1,0x12d2,
|
sl@0
|
362 |
0x12d3,0x12d4,0x12d5,0x12d6,0x12d8,0x12d9,0x12da,0x12db,0x12dc,0x12dd,
|
sl@0
|
363 |
0x12de,0x12df,0x12e0,0x12e1,0x12e2,0x12e3,0x12e4,0x12e5,0x12e6,0x12e7,
|
sl@0
|
364 |
0x12e8,0x12e9,0x12ea,0x12eb,0x12ec,0x12ed,0x12ee,0x12ef,0x12f0,0x12f1,
|
sl@0
|
365 |
0x12f2,0x12f3,0x12f4,0x12f5,0x12f6,0x12f7,0x12f8,0x12f9,0x12fa,0x12fb,
|
sl@0
|
366 |
0x12fc,0x12fd,0x12fe,0x12ff,0x1300,0x1301,0x1302,0x1303,0x1304,0x1305,
|
sl@0
|
367 |
0x1306,0x1307,0x1308,0x1309,0x130a,0x130b,0x130c,0x130d,0x130e,0x130f,
|
sl@0
|
368 |
0x1310,0x1312,0x1313,0x1314,0x1315,0x1318,0x1319,0x131a,0x131b,0x131c,
|
sl@0
|
369 |
0x131d,0x131e,0x131f,0x1320,0x1321,0x1322,0x1323,0x1324,0x1325,0x1326,
|
sl@0
|
370 |
0x1327,0x1328,0x1329,0x132a,0x132b,0x132c,0x132d,0x132e,0x132f,0x1330,
|
sl@0
|
371 |
0x1331,0x1332,0x1333,0x1334,0x1335,0x1336,0x1337,0x1338,0x1339,0x133a,
|
sl@0
|
372 |
0x133b,0x133c,0x133d,0x133e,0x133f,0x1340,0x1341,0x1342,0x1343,0x1344,
|
sl@0
|
373 |
0x1345,0x1346,0x1347,0x1348,0x1349,0x134a,0x134b,0x134c,0x134d,0x134e,
|
sl@0
|
374 |
0x134f,0x1350,0x1351,0x1352,0x1353,0x1354,0x1355,0x1356,0x1357,0x1358,
|
sl@0
|
375 |
0x1359,0x135a,0x1360,0x1361,0x1362,0x1363,0x1364,0x1365,0x1366,0x1367,
|
sl@0
|
376 |
0x1368,0x1369,0x136a,0x136b,0x136c,0x136d,0x136e,0x136f,0x1370,0x1371,
|
sl@0
|
377 |
0x1372,0x1373,0x1374,0x1375,0x1376,0x1377,0x1378,0x1379,0x137a,0x137b,
|
sl@0
|
378 |
0x137c,0x1380,0x1381,0x1382,0x1383,0x1384,0x1385,0x1386,0x1387,0x1388,
|
sl@0
|
379 |
0x1389,0x138a,0x138b,0x138c,0x138d,0x138e,0x138f,0x13a0,0x13a1,0x13a2,
|
sl@0
|
380 |
0x13a3,0x13a4,0x13a5,0x13a6,0x13a7,0x13a8,0x13a9,0x13aa,0x13ab,0x13ac,
|
sl@0
|
381 |
0x13ad,0x13ae,0x13af,0x13b0,0x13b1,0x13b2,0x13b3,0x13b4,0x13b5,0x13b6,
|
sl@0
|
382 |
0x13b7,0x13b8,0x13b9,0x13ba,0x13bb,0x13bc,0x13bd,0x13be,0x13bf,0x13c0,
|
sl@0
|
383 |
0x13c1,0x13c2,0x13c3,0x13c4,0x13c5,0x13c6,0x13c7,0x13c8,0x13c9,0x13ca,
|
sl@0
|
384 |
0x13cb,0x13cc,0x13cd,0x13ce,0x13cf,0x13d0,0x13d1,0x13d2,0x13d3,0x13d4,
|
sl@0
|
385 |
0x13d5,0x13d6,0x13d7,0x13d8,0x13d9,0x13da,0x13db,0x13dc,0x13dd,0x13de,
|
sl@0
|
386 |
0x13df,0x13e0,0x13e1,0x13e2,0x13e3,0x13e4,0x13e5,0x13e6,0x13e7,0x13e8,
|
sl@0
|
387 |
0x13e9,0x13ea,0x13eb,0x13ec,0x13ed,0x13ee,0x13ef,0x13f0,0x13f1,0x13f2,
|
sl@0
|
388 |
0x13f3,0x13f4,0x1401,0x1402,0x1403,0x1404,0x1405,0x1406,0x1407,0x1408,
|
sl@0
|
389 |
0x1409,0x140a,0x140b,0x140c,0x140d,0x140e,0x140f,0x1410,0x1411,0x1412,
|
sl@0
|
390 |
0x1413,0x1414,0x1415,0x1416,0x1417,0x1418,0x1419,0x141a,0x141b,0x141c,
|
sl@0
|
391 |
0x141d,0x141e,0x141f,0x1420,0x1421,0x1422,0x1423,0x1424,0x1425,0x1426,
|
sl@0
|
392 |
0x1427,0x1428,0x1429,0x142a,0x142b,0x142c,0x142d,0x142e,0x142f,0x1430,
|
sl@0
|
393 |
0x1431,0x1432,0x1433,0x1434,0x1435,0x1436,0x1437,0x1438,0x1439,0x143a,
|
sl@0
|
394 |
0x143b,0x143c,0x143d,0x143e,0x143f,0x1440,0x1441,0x1442,0x1443,0x1444,
|
sl@0
|
395 |
0x1445,0x1446,0x1447,0x1448,0x1449,0x144a,0x144b,0x144c,0x144d,0x144e,
|
sl@0
|
396 |
0x144f,0x1450,0x1451,0x1452,0x1453,0x1454,0x1455,0x1456,0x1457,0x1458,
|
sl@0
|
397 |
0x1459,0x145a,0x145b,0x145c,0x145d,0x145e,0x145f,0x1460,0x1461,0x1462,
|
sl@0
|
398 |
0x1463,0x1464,0x1465,0x1466,0x1467,0x1468,0x1469,0x146a,0x146b,0x146c,
|
sl@0
|
399 |
0x146d,0x146e,0x146f,0x1470,0x1471,0x1472,0x1473,0x1474,0x1475,0x1476,
|
sl@0
|
400 |
0x1477,0x1478,0x1479,0x147a,0x147b,0x147c,0x147d,0x147e,0x147f,0x1480,
|
sl@0
|
401 |
0x1481,0x1482,0x1483,0x1484,0x1485,0x1486,0x1487,0x1488,0x1489,0x148a,
|
sl@0
|
402 |
0x148b,0x148c,0x148d,0x148e,0x148f,0x1490,0x1491,0x1492,0x1493,0x1494,
|
sl@0
|
403 |
0x1495,0x1496,0x1497,0x1498,0x1499,0x149a,0x149b,0x149c,0x149d,0x149e,
|
sl@0
|
404 |
0x149f,0x14a0,0x14a1,0x14a2,0x14a3,0x14a4,0x14a5,0x14a6,0x14a7,0x14a8,
|
sl@0
|
405 |
0x14a9,0x14aa,0x14ab,0x14ac,0x14ad,0x14ae,0x14af,0x14b0,0x14b1,0x14b2,
|
sl@0
|
406 |
0x14b3,0x14b4,0x14b5,0x14b6,0x14b7,0x14b8,0x14b9,0x14ba,0x14bb,0x14bc,
|
sl@0
|
407 |
0x14bd,0x14be,0x14bf,0x14c0,0x14c1,0x14c2,0x14c3,0x14c4,0x14c5,0x14c6,
|
sl@0
|
408 |
0x14c7,0x14c8,0x14c9,0x14ca,0x14cb,0x14cc,0x14cd,0x14ce,0x14cf,0x14d0,
|
sl@0
|
409 |
0x14d1,0x14d2,0x14d3,0x14d4,0x14d5,0x14d6,0x14d7,0x14d8,0x14d9,0x14da,
|
sl@0
|
410 |
0x14db,0x14dc,0x14dd,0x14de,0x14df,0x14e0,0x14e1,0x14e2,0x14e3,0x14e4,
|
sl@0
|
411 |
0x14e5,0x14e6,0x14e7,0x14e8,0x14e9,0x14ea,0x14eb,0x14ec,0x14ed,0x14ee,
|
sl@0
|
412 |
0x14ef,0x14f0,0x14f1,0x14f2,0x14f3,0x14f4,0x14f5,0x14f6,0x14f7,0x14f8,
|
sl@0
|
413 |
0x14f9,0x14fa,0x14fb,0x14fc,0x14fd,0x14fe,0x14ff,0x1500,0x1501,0x1502,
|
sl@0
|
414 |
0x1503,0x1504,0x1505,0x1506,0x1507,0x1508,0x1509,0x150a,0x150b,0x150c,
|
sl@0
|
415 |
0x150d,0x150e,0x150f,0x1510,0x1511,0x1512,0x1513,0x1514,0x1515,0x1516,
|
sl@0
|
416 |
0x1517,0x1518,0x1519,0x151a,0x151b,0x151c,0x151d,0x151e,0x151f,0x1520,
|
sl@0
|
417 |
0x1521,0x1522,0x1523,0x1524,0x1525,0x1526,0x1527,0x1528,0x1529,0x152a,
|
sl@0
|
418 |
0x152b,0x152c,0x152d,0x152e,0x152f,0x1530,0x1531,0x1532,0x1533,0x1534,
|
sl@0
|
419 |
0x1535,0x1536,0x1537,0x1538,0x1539,0x153a,0x153b,0x153c,0x153d,0x153e,
|
sl@0
|
420 |
0x153f,0x1540,0x1541,0x1542,0x1543,0x1544,0x1545,0x1546,0x1547,0x1548,
|
sl@0
|
421 |
0x1549,0x154a,0x154b,0x154c,0x154d,0x154e,0x154f,0x1550,0x1551,0x1552,
|
sl@0
|
422 |
0x1553,0x1554,0x1555,0x1556,0x1557,0x1558,0x1559,0x155a,0x155b,0x155c,
|
sl@0
|
423 |
0x155d,0x155e,0x155f,0x1560,0x1561,0x1562,0x1563,0x1564,0x1565,0x1566,
|
sl@0
|
424 |
0x1567,0x1568,0x1569,0x156a,0x156b,0x156c,0x156d,0x156e,0x156f,0x1570,
|
sl@0
|
425 |
0x1571,0x1572,0x1573,0x1574,0x1575,0x1576,0x1577,0x1578,0x1579,0x157a,
|
sl@0
|
426 |
0x157b,0x157c,0x157d,0x157e,0x157f,0x1580,0x1581,0x1582,0x1583,0x1584,
|
sl@0
|
427 |
0x1585,0x1586,0x1587,0x1588,0x1589,0x158a,0x158b,0x158c,0x158d,0x158e,
|
sl@0
|
428 |
0x158f,0x1590,0x1591,0x1592,0x1593,0x1594,0x1595,0x1596,0x1597,0x1598,
|
sl@0
|
429 |
0x1599,0x159a,0x159b,0x159c,0x159d,0x159e,0x159f,0x15a0,0x15a1,0x15a2,
|
sl@0
|
430 |
0x15a3,0x15a4,0x15a5,0x15a6,0x15a7,0x15a8,0x15a9,0x15aa,0x15ab,0x15ac,
|
sl@0
|
431 |
0x15ad,0x15ae,0x15af,0x15b0,0x15b1,0x15b2,0x15b3,0x15b4,0x15b5,0x15b6,
|
sl@0
|
432 |
0x15b7,0x15b8,0x15b9,0x15ba,0x15bb,0x15bc,0x15bd,0x15be,0x15bf,0x15c0,
|
sl@0
|
433 |
0x15c1,0x15c2,0x15c3,0x15c4,0x15c5,0x15c6,0x15c7,0x15c8,0x15c9,0x15ca,
|
sl@0
|
434 |
0x15cb,0x15cc,0x15cd,0x15ce,0x15cf,0x15d0,0x15d1,0x15d2,0x15d3,0x15d4,
|
sl@0
|
435 |
0x15d5,0x15d6,0x15d7,0x15d8,0x15d9,0x15da,0x15db,0x15dc,0x15dd,0x15de,
|
sl@0
|
436 |
0x15df,0x15e0,0x15e1,0x15e2,0x15e3,0x15e4,0x15e5,0x15e6,0x15e7,0x15e8,
|
sl@0
|
437 |
0x15e9,0x15ea,0x15eb,0x15ec,0x15ed,0x15ee,0x15ef,0x15f0,0x15f1,0x15f2,
|
sl@0
|
438 |
0x15f3,0x15f4,0x15f5,0x15f6,0x15f7,0x15f8,0x15f9,0x15fa,0x15fb,0x15fc,
|
sl@0
|
439 |
0x15fd,0x15fe,0x15ff,0x1600,0x1601,0x1602,0x1603,0x1604,0x1605,0x1606,
|
sl@0
|
440 |
0x1607,0x1608,0x1609,0x160a,0x160b,0x160c,0x160d,0x160e,0x160f,0x1610,
|
sl@0
|
441 |
0x1611,0x1612,0x1613,0x1614,0x1615,0x1616,0x1617,0x1618,0x1619,0x161a,
|
sl@0
|
442 |
0x161b,0x161c,0x161d,0x161e,0x161f,0x1620,0x1621,0x1622,0x1623,0x1624,
|
sl@0
|
443 |
0x1625,0x1626,0x1627,0x1628,0x1629,0x162a,0x162b,0x162c,0x162d,0x162e,
|
sl@0
|
444 |
0x162f,0x1630,0x1631,0x1632,0x1633,0x1634,0x1635,0x1636,0x1637,0x1638,
|
sl@0
|
445 |
0x1639,0x163a,0x163b,0x163c,0x163d,0x163e,0x163f,0x1640,0x1641,0x1642,
|
sl@0
|
446 |
0x1643,0x1644,0x1645,0x1646,0x1647,0x1648,0x1649,0x164a,0x164b,0x164c,
|
sl@0
|
447 |
0x164d,0x164e,0x164f,0x1650,0x1651,0x1652,0x1653,0x1654,0x1655,0x1656,
|
sl@0
|
448 |
0x1657,0x1658,0x1659,0x165a,0x165b,0x165c,0x165d,0x165e,0x165f,0x1660,
|
sl@0
|
449 |
0x1661,0x1662,0x1663,0x1664,0x1665,0x1666,0x1667,0x1668,0x1669,0x166a,
|
sl@0
|
450 |
0x166b,0x166c,0x166d,0x166e,0x166f,0x1670,0x1671,0x1672,0x1673,0x1674,
|
sl@0
|
451 |
0x1675,0x1676,0x1681,0x1682,0x1683,0x1684,0x1685,0x1686,0x1687,0x1688,
|
sl@0
|
452 |
0x1689,0x168a,0x168b,0x168c,0x168d,0x168e,0x168f,0x1690,0x1691,0x1692,
|
sl@0
|
453 |
0x1693,0x1694,0x1695,0x1696,0x1697,0x1698,0x1699,0x169a,0x16a0,0x16a1,
|
sl@0
|
454 |
0x16a2,0x16a3,0x16a4,0x16a5,0x16a6,0x16a7,0x16a8,0x16a9,0x16aa,0x16ab,
|
sl@0
|
455 |
0x16ac,0x16ad,0x16ae,0x16af,0x16b0,0x16b1,0x16b2,0x16b3,0x16b4,0x16b5,
|
sl@0
|
456 |
0x16b6,0x16b7,0x16b8,0x16b9,0x16ba,0x16bb,0x16bc,0x16bd,0x16be,0x16bf,
|
sl@0
|
457 |
0x16c0,0x16c1,0x16c2,0x16c3,0x16c4,0x16c5,0x16c6,0x16c7,0x16c8,0x16c9,
|
sl@0
|
458 |
0x16ca,0x16cb,0x16cc,0x16cd,0x16ce,0x16cf,0x16d0,0x16d1,0x16d2,0x16d3,
|
sl@0
|
459 |
0x16d4,0x16d5,0x16d6,0x16d7,0x16d8,0x16d9,0x16da,0x16db,0x16dc,0x16dd,
|
sl@0
|
460 |
0x16de,0x16df,0x16e0,0x16e1,0x16e2,0x16e3,0x16e4,0x16e5,0x16e6,0x16e7,
|
sl@0
|
461 |
0x16e8,0x16e9,0x16ea,0x16eb,0x16ec,0x16ed,0x16ee,0x16ef,0x16f0,0x1700,
|
sl@0
|
462 |
0x1701,0x1702,0x1703,0x1704,0x1705,0x1706,0x1707,0x1708,0x1709,0x170a,
|
sl@0
|
463 |
0x170b,0x170c,0x170e,0x170f,0x1710,0x1711,0x1720,0x1721,0x1722,0x1723,
|
sl@0
|
464 |
0x1724,0x1725,0x1726,0x1727,0x1728,0x1729,0x172a,0x172b,0x172c,0x172d,
|
sl@0
|
465 |
0x172e,0x172f,0x1730,0x1731,0x1735,0x1736,0x1740,0x1741,0x1742,0x1743,
|
sl@0
|
466 |
0x1744,0x1745,0x1746,0x1747,0x1748,0x1749,0x174a,0x174b,0x174c,0x174d,
|
sl@0
|
467 |
0x174e,0x174f,0x1750,0x1751,0x1760,0x1761,0x1762,0x1763,0x1764,0x1765,
|
sl@0
|
468 |
0x1766,0x1767,0x1768,0x1769,0x176a,0x176b,0x176c,0x176e,0x176f,0x1770,
|
sl@0
|
469 |
0x1780,0x1781,0x1782,0x1783,0x1784,0x1785,0x1786,0x1787,0x1788,0x1789,
|
sl@0
|
470 |
0x178a,0x178b,0x178c,0x178d,0x178e,0x178f,0x1790,0x1791,0x1792,0x1793,
|
sl@0
|
471 |
0x1794,0x1795,0x1796,0x1797,0x1798,0x1799,0x179a,0x179b,0x179c,0x179d,
|
sl@0
|
472 |
0x179e,0x179f,0x17a0,0x17a1,0x17a2,0x17a3,0x17a4,0x17a5,0x17a6,0x17a7,
|
sl@0
|
473 |
0x17a8,0x17a9,0x17aa,0x17ab,0x17ac,0x17ad,0x17ae,0x17af,0x17b0,0x17b1,
|
sl@0
|
474 |
0x17b2,0x17b3,0x17b4,0x17b5,0x17d4,0x17d5,0x17d6,0x17d7,0x17d8,0x17d9,
|
sl@0
|
475 |
0x17da,0x17dc,0x17e0,0x17e1,0x17e2,0x17e3,0x17e4,0x17e5,0x17e6,0x17e7,
|
sl@0
|
476 |
0x17e8,0x17e9,0x1810,0x1811,0x1812,0x1813,0x1814,0x1815,0x1816,0x1817,
|
sl@0
|
477 |
0x1818,0x1819,0x1820,0x1821,0x1822,0x1823,0x1824,0x1825,0x1826,0x1827,
|
sl@0
|
478 |
0x1828,0x1829,0x182a,0x182b,0x182c,0x182d,0x182e,0x182f,0x1830,0x1831,
|
sl@0
|
479 |
0x1832,0x1833,0x1834,0x1835,0x1836,0x1837,0x1838,0x1839,0x183a,0x183b,
|
sl@0
|
480 |
0x183c,0x183d,0x183e,0x183f,0x1840,0x1841,0x1842,0x1843,0x1844,0x1845,
|
sl@0
|
481 |
0x1846,0x1847,0x1848,0x1849,0x184a,0x184b,0x184c,0x184d,0x184e,0x184f,
|
sl@0
|
482 |
0x1850,0x1851,0x1852,0x1853,0x1854,0x1855,0x1856,0x1857,0x1858,0x1859,
|
sl@0
|
483 |
0x185a,0x185b,0x185c,0x185d,0x185e,0x185f,0x1860,0x1861,0x1862,0x1863,
|
sl@0
|
484 |
0x1864,0x1865,0x1866,0x1867,0x1868,0x1869,0x186a,0x186b,0x186c,0x186d,
|
sl@0
|
485 |
0x186e,0x186f,0x1870,0x1871,0x1872,0x1873,0x1874,0x1875,0x1876,0x1877,
|
sl@0
|
486 |
0x1880,0x1881,0x1882,0x1883,0x1884,0x1885,0x1886,0x1887,0x1888,0x1889,
|
sl@0
|
487 |
0x188a,0x188b,0x188c,0x188d,0x188e,0x188f,0x1890,0x1891,0x1892,0x1893,
|
sl@0
|
488 |
0x1894,0x1895,0x1896,0x1897,0x1898,0x1899,0x189a,0x189b,0x189c,0x189d,
|
sl@0
|
489 |
0x189e,0x189f,0x18a0,0x18a1,0x18a2,0x18a3,0x18a4,0x18a5,0x18a6,0x18a7,
|
sl@0
|
490 |
0x18a8,0x1900,0x1901,0x1902,0x1903,0x1904,0x1905,0x1906,0x1907,0x1908,
|
sl@0
|
491 |
0x1909,0x190a,0x190b,0x190c,0x190d,0x190e,0x190f,0x1910,0x1911,0x1912,
|
sl@0
|
492 |
0x1913,0x1914,0x1915,0x1916,0x1917,0x1918,0x1919,0x191a,0x191b,0x191c,
|
sl@0
|
493 |
0x1946,0x1947,0x1948,0x1949,0x194a,0x194b,0x194c,0x194d,0x194e,0x194f,
|
sl@0
|
494 |
0x1950,0x1951,0x1952,0x1953,0x1954,0x1955,0x1956,0x1957,0x1958,0x1959,
|
sl@0
|
495 |
0x195a,0x195b,0x195c,0x195d,0x195e,0x195f,0x1960,0x1961,0x1962,0x1963,
|
sl@0
|
496 |
0x1964,0x1965,0x1966,0x1967,0x1968,0x1969,0x196a,0x196b,0x196c,0x196d,
|
sl@0
|
497 |
0x1970,0x1971,0x1972,0x1973,0x1974,0x1980,0x1981,0x1982,0x1983,0x1984,
|
sl@0
|
498 |
0x1985,0x1986,0x1987,0x1988,0x1989,0x198a,0x198b,0x198c,0x198d,0x198e,
|
sl@0
|
499 |
0x198f,0x1990,0x1991,0x1992,0x1993,0x1994,0x1995,0x1996,0x1997,0x1998,
|
sl@0
|
500 |
0x1999,0x199a,0x199b,0x199c,0x199d,0x199e,0x199f,0x19a0,0x19a1,0x19a2,
|
sl@0
|
501 |
0x19a3,0x19a4,0x19a5,0x19a6,0x19a7,0x19a8,0x19a9,0x19c1,0x19c2,0x19c3,
|
sl@0
|
502 |
0x19c4,0x19c5,0x19c6,0x19c7,0x19d0,0x19d1,0x19d2,0x19d3,0x19d4,0x19d5,
|
sl@0
|
503 |
0x19d6,0x19d7,0x19d8,0x19d9,0x1a00,0x1a01,0x1a02,0x1a03,0x1a04,0x1a05,
|
sl@0
|
504 |
0x1a06,0x1a07,0x1a08,0x1a09,0x1a0a,0x1a0b,0x1a0c,0x1a0d,0x1a0e,0x1a0f,
|
sl@0
|
505 |
0x1a10,0x1a11,0x1a12,0x1a13,0x1a14,0x1a15,0x1a16,0x1a1e,0x1a1f,0x1b05,
|
sl@0
|
506 |
0x1b06,0x1b07,0x1b08,0x1b09,0x1b0a,0x1b0b,0x1b0c,0x1b0d,0x1b0e,0x1b0f,
|
sl@0
|
507 |
0x1b10,0x1b11,0x1b12,0x1b13,0x1b14,0x1b15,0x1b16,0x1b17,0x1b18,0x1b19,
|
sl@0
|
508 |
0x1b1a,0x1b1b,0x1b1c,0x1b1d,0x1b1e,0x1b1f,0x1b20,0x1b21,0x1b22,0x1b23,
|
sl@0
|
509 |
0x1b24,0x1b25,0x1b26,0x1b27,0x1b28,0x1b29,0x1b2a,0x1b2b,0x1b2c,0x1b2d,
|
sl@0
|
510 |
0x1b2e,0x1b2f,0x1b30,0x1b31,0x1b32,0x1b33,0x1b45,0x1b46,0x1b47,0x1b48,
|
sl@0
|
511 |
0x1b49,0x1b4a,0x1b4b,0x1b50,0x1b51,0x1b52,0x1b53,0x1b54,0x1b55,0x1b56,
|
sl@0
|
512 |
0x1b57,0x1b58,0x1b59,0x1b5a,0x1b5b,0x1b5c,0x1b5d,0x1b5e,0x1b5f,0x1b60,
|
sl@0
|
513 |
0x1b61,0x1b62,0x1b63,0x1b64,0x1b65,0x1b66,0x1b67,0x1b68,0x1b69,0x1b6a,
|
sl@0
|
514 |
0x1b74,0x1b75,0x1b76,0x1b77,0x1b78,0x1b79,0x1b7a,0x1b7b,0x1b7c,0x1d00,
|
sl@0
|
515 |
0x1d01,0x1d02,0x1d03,0x1d04,0x1d05,0x1d06,0x1d07,0x1d08,0x1d09,0x1d0a,
|
sl@0
|
516 |
0x1d0b,0x1d0c,0x1d0d,0x1d0e,0x1d0f,0x1d10,0x1d11,0x1d12,0x1d13,0x1d14,
|
sl@0
|
517 |
0x1d15,0x1d16,0x1d17,0x1d18,0x1d19,0x1d1a,0x1d1b,0x1d1c,0x1d1d,0x1d1e,
|
sl@0
|
518 |
0x1d1f,0x1d20,0x1d21,0x1d22,0x1d23,0x1d24,0x1d25,0x1d26,0x1d27,0x1d28,
|
sl@0
|
519 |
0x1d29,0x1d2a,0x1d2b,0x1d2c,0x1d2d,0x1d2e,0x1d2f,0x1d30,0x1d31,0x1d32,
|
sl@0
|
520 |
0x1d33,0x1d34,0x1d35,0x1d36,0x1d37,0x1d38,0x1d39,0x1d3a,0x1d3b,0x1d3c,
|
sl@0
|
521 |
0x1d3d,0x1d3e,0x1d3f,0x1d40,0x1d41,0x1d42,0x1d43,0x1d44,0x1d45,0x1d46,
|
sl@0
|
522 |
0x1d47,0x1d48,0x1d49,0x1d4a,0x1d4b,0x1d4c,0x1d4d,0x1d4e,0x1d4f,0x1d50,
|
sl@0
|
523 |
0x1d51,0x1d52,0x1d53,0x1d54,0x1d55,0x1d56,0x1d57,0x1d58,0x1d59,0x1d5a,
|
sl@0
|
524 |
0x1d5b,0x1d5c,0x1d5d,0x1d5e,0x1d5f,0x1d60,0x1d61,0x1d62,0x1d63,0x1d64,
|
sl@0
|
525 |
0x1d65,0x1d66,0x1d67,0x1d68,0x1d69,0x1d6a,0x1d6b,0x1d6c,0x1d6d,0x1d6e,
|
sl@0
|
526 |
0x1d6f,0x1d70,0x1d71,0x1d72,0x1d73,0x1d74,0x1d75,0x1d76,0x1d77,0x1d78,
|
sl@0
|
527 |
0x1d79,0x1d7a,0x1d7b,0x1d7c,0x1d7d,0x1d7e,0x1d7f,0x1d80,0x1d81,0x1d82,
|
sl@0
|
528 |
0x1d83,0x1d84,0x1d85,0x1d86,0x1d87,0x1d88,0x1d89,0x1d8a,0x1d8b,0x1d8c,
|
sl@0
|
529 |
0x1d8d,0x1d8e,0x1d8f,0x1d90,0x1d91,0x1d92,0x1d93,0x1d94,0x1d95,0x1d96,
|
sl@0
|
530 |
0x1d97,0x1d98,0x1d99,0x1d9a,0x1d9b,0x1d9c,0x1d9d,0x1d9e,0x1d9f,0x1da0,
|
sl@0
|
531 |
0x1da1,0x1da2,0x1da3,0x1da4,0x1da5,0x1da6,0x1da7,0x1da8,0x1da9,0x1daa,
|
sl@0
|
532 |
0x1dab,0x1dac,0x1dad,0x1dae,0x1daf,0x1db0,0x1db1,0x1db2,0x1db3,0x1db4,
|
sl@0
|
533 |
0x1db5,0x1db6,0x1db7,0x1db8,0x1db9,0x1dba,0x1dbb,0x1dbc,0x1dbd,0x1dbe,
|
sl@0
|
534 |
0x1dbf,0x1e00,0x1e01,0x1e02,0x1e03,0x1e04,0x1e05,0x1e06,0x1e07,0x1e08,
|
sl@0
|
535 |
0x1e09,0x1e0a,0x1e0b,0x1e0c,0x1e0d,0x1e0e,0x1e0f,0x1e10,0x1e11,0x1e12,
|
sl@0
|
536 |
0x1e13,0x1e14,0x1e15,0x1e16,0x1e17,0x1e18,0x1e19,0x1e1a,0x1e1b,0x1e1c,
|
sl@0
|
537 |
0x1e1d,0x1e1e,0x1e1f,0x1e20,0x1e21,0x1e22,0x1e23,0x1e24,0x1e25,0x1e26,
|
sl@0
|
538 |
0x1e27,0x1e28,0x1e29,0x1e2a,0x1e2b,0x1e2c,0x1e2d,0x1e2e,0x1e2f,0x1e30,
|
sl@0
|
539 |
0x1e31,0x1e32,0x1e33,0x1e34,0x1e35,0x1e36,0x1e37,0x1e38,0x1e39,0x1e3a,
|
sl@0
|
540 |
0x1e3b,0x1e3c,0x1e3d,0x1e3e,0x1e3f,0x1e40,0x1e41,0x1e42,0x1e43,0x1e44,
|
sl@0
|
541 |
0x1e45,0x1e46,0x1e47,0x1e48,0x1e49,0x1e4a,0x1e4b,0x1e4c,0x1e4d,0x1e4e,
|
sl@0
|
542 |
0x1e4f,0x1e50,0x1e51,0x1e52,0x1e53,0x1e54,0x1e55,0x1e56,0x1e57,0x1e58,
|
sl@0
|
543 |
0x1e59,0x1e5a,0x1e5b,0x1e5c,0x1e5d,0x1e5e,0x1e5f,0x1e60,0x1e61,0x1e62,
|
sl@0
|
544 |
0x1e63,0x1e64,0x1e65,0x1e66,0x1e67,0x1e68,0x1e69,0x1e6a,0x1e6b,0x1e6c,
|
sl@0
|
545 |
0x1e6d,0x1e6e,0x1e6f,0x1e70,0x1e71,0x1e72,0x1e73,0x1e74,0x1e75,0x1e76,
|
sl@0
|
546 |
0x1e77,0x1e78,0x1e79,0x1e7a,0x1e7b,0x1e7c,0x1e7d,0x1e7e,0x1e7f,0x1e80,
|
sl@0
|
547 |
0x1e81,0x1e82,0x1e83,0x1e84,0x1e85,0x1e86,0x1e87,0x1e88,0x1e89,0x1e8a,
|
sl@0
|
548 |
0x1e8b,0x1e8c,0x1e8d,0x1e8e,0x1e8f,0x1e90,0x1e91,0x1e92,0x1e93,0x1e94,
|
sl@0
|
549 |
0x1e95,0x1e96,0x1e97,0x1e98,0x1e99,0x1e9a,0x1e9b,0x1ea0,0x1ea1,0x1ea2,
|
sl@0
|
550 |
0x1ea3,0x1ea4,0x1ea5,0x1ea6,0x1ea7,0x1ea8,0x1ea9,0x1eaa,0x1eab,0x1eac,
|
sl@0
|
551 |
0x1ead,0x1eae,0x1eaf,0x1eb0,0x1eb1,0x1eb2,0x1eb3,0x1eb4,0x1eb5,0x1eb6,
|
sl@0
|
552 |
0x1eb7,0x1eb8,0x1eb9,0x1eba,0x1ebb,0x1ebc,0x1ebd,0x1ebe,0x1ebf,0x1ec0,
|
sl@0
|
553 |
0x1ec1,0x1ec2,0x1ec3,0x1ec4,0x1ec5,0x1ec6,0x1ec7,0x1ec8,0x1ec9,0x1eca,
|
sl@0
|
554 |
0x1ecb,0x1ecc,0x1ecd,0x1ece,0x1ecf,0x1ed0,0x1ed1,0x1ed2,0x1ed3,0x1ed4,
|
sl@0
|
555 |
0x1ed5,0x1ed6,0x1ed7,0x1ed8,0x1ed9,0x1eda,0x1edb,0x1edc,0x1edd,0x1ede,
|
sl@0
|
556 |
0x1edf,0x1ee0,0x1ee1,0x1ee2,0x1ee3,0x1ee4,0x1ee5,0x1ee6,0x1ee7,0x1ee8,
|
sl@0
|
557 |
0x1ee9,0x1eea,0x1eeb,0x1eec,0x1eed,0x1eee,0x1eef,0x1ef0,0x1ef1,0x1ef2,
|
sl@0
|
558 |
0x1ef3,0x1ef4,0x1ef5,0x1ef6,0x1ef7,0x1ef8,0x1ef9,0x1f00,0x1f01,0x1f02,
|
sl@0
|
559 |
0x1f03,0x1f04,0x1f05,0x1f06,0x1f07,0x1f08,0x1f09,0x1f0a,0x1f0b,0x1f0c,
|
sl@0
|
560 |
0x1f0d,0x1f0e,0x1f0f,0x1f10,0x1f11,0x1f12,0x1f13,0x1f14,0x1f15,0x1f18,
|
sl@0
|
561 |
0x1f19,0x1f1a,0x1f1b,0x1f1c,0x1f1d,0x1f20,0x1f21,0x1f22,0x1f23,0x1f24,
|
sl@0
|
562 |
0x1f25,0x1f26,0x1f27,0x1f28,0x1f29,0x1f2a,0x1f2b,0x1f2c,0x1f2d,0x1f2e,
|
sl@0
|
563 |
0x1f2f,0x1f30,0x1f31,0x1f32,0x1f33,0x1f34,0x1f35,0x1f36,0x1f37,0x1f38,
|
sl@0
|
564 |
0x1f39,0x1f3a,0x1f3b,0x1f3c,0x1f3d,0x1f3e,0x1f3f,0x1f40,0x1f41,0x1f42,
|
sl@0
|
565 |
0x1f43,0x1f44,0x1f45,0x1f48,0x1f49,0x1f4a,0x1f4b,0x1f4c,0x1f4d,0x1f50,
|
sl@0
|
566 |
0x1f51,0x1f52,0x1f53,0x1f54,0x1f55,0x1f56,0x1f57,0x1f59,0x1f5b,0x1f5d,
|
sl@0
|
567 |
0x1f5f,0x1f60,0x1f61,0x1f62,0x1f63,0x1f64,0x1f65,0x1f66,0x1f67,0x1f68,
|
sl@0
|
568 |
0x1f69,0x1f6a,0x1f6b,0x1f6c,0x1f6d,0x1f6e,0x1f6f,0x1f70,0x1f71,0x1f72,
|
sl@0
|
569 |
0x1f73,0x1f74,0x1f75,0x1f76,0x1f77,0x1f78,0x1f79,0x1f7a,0x1f7b,0x1f7c,
|
sl@0
|
570 |
0x1f7d,0x1f80,0x1f81,0x1f82,0x1f83,0x1f84,0x1f85,0x1f86,0x1f87,0x1f88,
|
sl@0
|
571 |
0x1f89,0x1f8a,0x1f8b,0x1f8c,0x1f8d,0x1f8e,0x1f8f,0x1f90,0x1f91,0x1f92,
|
sl@0
|
572 |
0x1f93,0x1f94,0x1f95,0x1f96,0x1f97,0x1f98,0x1f99,0x1f9a,0x1f9b,0x1f9c,
|
sl@0
|
573 |
0x1f9d,0x1f9e,0x1f9f,0x1fa0,0x1fa1,0x1fa2,0x1fa3,0x1fa4,0x1fa5,0x1fa6,
|
sl@0
|
574 |
0x1fa7,0x1fa8,0x1fa9,0x1faa,0x1fab,0x1fac,0x1fad,0x1fae,0x1faf,0x1fb0,
|
sl@0
|
575 |
0x1fb1,0x1fb2,0x1fb3,0x1fb4,0x1fb6,0x1fb7,0x1fb8,0x1fb9,0x1fba,0x1fbb,
|
sl@0
|
576 |
0x1fbc,0x1fbe,0x1fc2,0x1fc3,0x1fc4,0x1fc6,0x1fc7,0x1fc8,0x1fc9,0x1fca,
|
sl@0
|
577 |
0x1fcb,0x1fcc,0x1fd0,0x1fd1,0x1fd2,0x1fd3,0x1fd6,0x1fd7,0x1fd8,0x1fd9,
|
sl@0
|
578 |
0x1fda,0x1fdb,0x1fe0,0x1fe1,0x1fe2,0x1fe3,0x1fe4,0x1fe5,0x1fe6,0x1fe7,
|
sl@0
|
579 |
0x1fe8,0x1fe9,0x1fea,0x1feb,0x1fec,0x1ff2,0x1ff3,0x1ff4,0x1ff6,0x1ff7,
|
sl@0
|
580 |
0x1ff8,0x1ff9,0x1ffa,0x1ffb,0x1ffc,0x200e,0x2071,0x207f,0x2090,0x2091,
|
sl@0
|
581 |
0x2092,0x2093,0x2094,0x2102,0x2107,0x210a,0x210b,0x210c,0x210d,0x210e,
|
sl@0
|
582 |
0x210f,0x2110,0x2111,0x2112,0x2113,0x2115,0x2119,0x211a,0x211b,0x211c,
|
sl@0
|
583 |
0x211d,0x2124,0x2126,0x2128,0x212a,0x212b,0x212c,0x212d,0x212f,0x2130,
|
sl@0
|
584 |
0x2131,0x2132,0x2133,0x2134,0x2135,0x2136,0x2137,0x2138,0x2139,0x213c,
|
sl@0
|
585 |
0x213d,0x213e,0x213f,0x2145,0x2146,0x2147,0x2148,0x2149,0x214e,0x2160,
|
sl@0
|
586 |
0x2161,0x2162,0x2163,0x2164,0x2165,0x2166,0x2167,0x2168,0x2169,0x216a,
|
sl@0
|
587 |
0x216b,0x216c,0x216d,0x216e,0x216f,0x2170,0x2171,0x2172,0x2173,0x2174,
|
sl@0
|
588 |
0x2175,0x2176,0x2177,0x2178,0x2179,0x217a,0x217b,0x217c,0x217d,0x217e,
|
sl@0
|
589 |
0x217f,0x2180,0x2181,0x2182,0x2183,0x2184,0x2336,0x2337,0x2338,0x2339,
|
sl@0
|
590 |
0x233a,0x233b,0x233c,0x233d,0x233e,0x233f,0x2340,0x2341,0x2342,0x2343,
|
sl@0
|
591 |
0x2344,0x2345,0x2346,0x2347,0x2348,0x2349,0x234a,0x234b,0x234c,0x234d,
|
sl@0
|
592 |
0x234e,0x234f,0x2350,0x2351,0x2352,0x2353,0x2354,0x2355,0x2356,0x2357,
|
sl@0
|
593 |
0x2358,0x2359,0x235a,0x235b,0x235c,0x235d,0x235e,0x235f,0x2360,0x2361,
|
sl@0
|
594 |
0x2362,0x2363,0x2364,0x2365,0x2366,0x2367,0x2368,0x2369,0x236a,0x236b,
|
sl@0
|
595 |
0x236c,0x236d,0x236e,0x236f,0x2370,0x2371,0x2372,0x2373,0x2374,0x2375,
|
sl@0
|
596 |
0x2376,0x2377,0x2378,0x2379,0x237a,0x2395,0x249c,0x249d,0x249e,0x249f,
|
sl@0
|
597 |
0x24a0,0x24a1,0x24a2,0x24a3,0x24a4,0x24a5,0x24a6,0x24a7,0x24a8,0x24a9,
|
sl@0
|
598 |
0x24aa,0x24ab,0x24ac,0x24ad,0x24ae,0x24af,0x24b0,0x24b1,0x24b2,0x24b3,
|
sl@0
|
599 |
0x24b4,0x24b5,0x24b6,0x24b7,0x24b8,0x24b9,0x24ba,0x24bb,0x24bc,0x24bd,
|
sl@0
|
600 |
0x24be,0x24bf,0x24c0,0x24c1,0x24c2,0x24c3,0x24c4,0x24c5,0x24c6,0x24c7,
|
sl@0
|
601 |
0x24c8,0x24c9,0x24ca,0x24cb,0x24cc,0x24cd,0x24ce,0x24cf,0x24d0,0x24d1,
|
sl@0
|
602 |
0x24d2,0x24d3,0x24d4,0x24d5,0x24d6,0x24d7,0x24d8,0x24d9,0x24da,0x24db,
|
sl@0
|
603 |
0x24dc,0x24dd,0x24de,0x24df,0x24e0,0x24e1,0x24e2,0x24e3,0x24e4,0x24e5,
|
sl@0
|
604 |
0x24e6,0x24e7,0x24e8,0x24e9,0x26ac,0x2800,0x2801,0x2802,0x2803,0x2804,
|
sl@0
|
605 |
0x2805,0x2806,0x2807,0x2808,0x2809,0x280a,0x280b,0x280c,0x280d,0x280e,
|
sl@0
|
606 |
0x280f,0x2810,0x2811,0x2812,0x2813,0x2814,0x2815,0x2816,0x2817,0x2818,
|
sl@0
|
607 |
0x2819,0x281a,0x281b,0x281c,0x281d,0x281e,0x281f,0x2820,0x2821,0x2822,
|
sl@0
|
608 |
0x2823,0x2824,0x2825,0x2826,0x2827,0x2828,0x2829,0x282a,0x282b,0x282c,
|
sl@0
|
609 |
0x282d,0x282e,0x282f,0x2830,0x2831,0x2832,0x2833,0x2834,0x2835,0x2836,
|
sl@0
|
610 |
0x2837,0x2838,0x2839,0x283a,0x283b,0x283c,0x283d,0x283e,0x283f,0x2840,
|
sl@0
|
611 |
0x2841,0x2842,0x2843,0x2844,0x2845,0x2846,0x2847,0x2848,0x2849,0x284a,
|
sl@0
|
612 |
0x284b,0x284c,0x284d,0x284e,0x284f,0x2850,0x2851,0x2852,0x2853,0x2854,
|
sl@0
|
613 |
0x2855,0x2856,0x2857,0x2858,0x2859,0x285a,0x285b,0x285c,0x285d,0x285e,
|
sl@0
|
614 |
0x285f,0x2860,0x2861,0x2862,0x2863,0x2864,0x2865,0x2866,0x2867,0x2868,
|
sl@0
|
615 |
0x2869,0x286a,0x286b,0x286c,0x286d,0x286e,0x286f,0x2870,0x2871,0x2872,
|
sl@0
|
616 |
0x2873,0x2874,0x2875,0x2876,0x2877,0x2878,0x2879,0x287a,0x287b,0x287c,
|
sl@0
|
617 |
0x287d,0x287e,0x287f,0x2880,0x2881,0x2882,0x2883,0x2884,0x2885,0x2886,
|
sl@0
|
618 |
0x2887,0x2888,0x2889,0x288a,0x288b,0x288c,0x288d,0x288e,0x288f,0x2890,
|
sl@0
|
619 |
0x2891,0x2892,0x2893,0x2894,0x2895,0x2896,0x2897,0x2898,0x2899,0x289a,
|
sl@0
|
620 |
0x289b,0x289c,0x289d,0x289e,0x289f,0x28a0,0x28a1,0x28a2,0x28a3,0x28a4,
|
sl@0
|
621 |
0x28a5,0x28a6,0x28a7,0x28a8,0x28a9,0x28aa,0x28ab,0x28ac,0x28ad,0x28ae,
|
sl@0
|
622 |
0x28af,0x28b0,0x28b1,0x28b2,0x28b3,0x28b4,0x28b5,0x28b6,0x28b7,0x28b8,
|
sl@0
|
623 |
0x28b9,0x28ba,0x28bb,0x28bc,0x28bd,0x28be,0x28bf,0x28c0,0x28c1,0x28c2,
|
sl@0
|
624 |
0x28c3,0x28c4,0x28c5,0x28c6,0x28c7,0x28c8,0x28c9,0x28ca,0x28cb,0x28cc,
|
sl@0
|
625 |
0x28cd,0x28ce,0x28cf,0x28d0,0x28d1,0x28d2,0x28d3,0x28d4,0x28d5,0x28d6,
|
sl@0
|
626 |
0x28d7,0x28d8,0x28d9,0x28da,0x28db,0x28dc,0x28dd,0x28de,0x28df,0x28e0,
|
sl@0
|
627 |
0x28e1,0x28e2,0x28e3,0x28e4,0x28e5,0x28e6,0x28e7,0x28e8,0x28e9,0x28ea,
|
sl@0
|
628 |
0x28eb,0x28ec,0x28ed,0x28ee,0x28ef,0x28f0,0x28f1,0x28f2,0x28f3,0x28f4,
|
sl@0
|
629 |
0x28f5,0x28f6,0x28f7,0x28f8,0x28f9,0x28fa,0x28fb,0x28fc,0x28fd,0x28fe,
|
sl@0
|
630 |
0x28ff,0x2c00,0x2c01,0x2c02,0x2c03,0x2c04,0x2c05,0x2c06,0x2c07,0x2c08,
|
sl@0
|
631 |
0x2c09,0x2c0a,0x2c0b,0x2c0c,0x2c0d,0x2c0e,0x2c0f,0x2c10,0x2c11,0x2c12,
|
sl@0
|
632 |
0x2c13,0x2c14,0x2c15,0x2c16,0x2c17,0x2c18,0x2c19,0x2c1a,0x2c1b,0x2c1c,
|
sl@0
|
633 |
0x2c1d,0x2c1e,0x2c1f,0x2c20,0x2c21,0x2c22,0x2c23,0x2c24,0x2c25,0x2c26,
|
sl@0
|
634 |
0x2c27,0x2c28,0x2c29,0x2c2a,0x2c2b,0x2c2c,0x2c2d,0x2c2e,0x2c30,0x2c31,
|
sl@0
|
635 |
0x2c32,0x2c33,0x2c34,0x2c35,0x2c36,0x2c37,0x2c38,0x2c39,0x2c3a,0x2c3b,
|
sl@0
|
636 |
0x2c3c,0x2c3d,0x2c3e,0x2c3f,0x2c40,0x2c41,0x2c42,0x2c43,0x2c44,0x2c45,
|
sl@0
|
637 |
0x2c46,0x2c47,0x2c48,0x2c49,0x2c4a,0x2c4b,0x2c4c,0x2c4d,0x2c4e,0x2c4f,
|
sl@0
|
638 |
0x2c50,0x2c51,0x2c52,0x2c53,0x2c54,0x2c55,0x2c56,0x2c57,0x2c58,0x2c59,
|
sl@0
|
639 |
0x2c5a,0x2c5b,0x2c5c,0x2c5d,0x2c5e,0x2c60,0x2c61,0x2c62,0x2c63,0x2c64,
|
sl@0
|
640 |
0x2c65,0x2c66,0x2c67,0x2c68,0x2c69,0x2c6a,0x2c6b,0x2c6c,0x2c74,0x2c75,
|
sl@0
|
641 |
0x2c76,0x2c77,0x2c80,0x2c81,0x2c82,0x2c83,0x2c84,0x2c85,0x2c86,0x2c87,
|
sl@0
|
642 |
0x2c88,0x2c89,0x2c8a,0x2c8b,0x2c8c,0x2c8d,0x2c8e,0x2c8f,0x2c90,0x2c91,
|
sl@0
|
643 |
0x2c92,0x2c93,0x2c94,0x2c95,0x2c96,0x2c97,0x2c98,0x2c99,0x2c9a,0x2c9b,
|
sl@0
|
644 |
0x2c9c,0x2c9d,0x2c9e,0x2c9f,0x2ca0,0x2ca1,0x2ca2,0x2ca3,0x2ca4,0x2ca5,
|
sl@0
|
645 |
0x2ca6,0x2ca7,0x2ca8,0x2ca9,0x2caa,0x2cab,0x2cac,0x2cad,0x2cae,0x2caf,
|
sl@0
|
646 |
0x2cb0,0x2cb1,0x2cb2,0x2cb3,0x2cb4,0x2cb5,0x2cb6,0x2cb7,0x2cb8,0x2cb9,
|
sl@0
|
647 |
0x2cba,0x2cbb,0x2cbc,0x2cbd,0x2cbe,0x2cbf,0x2cc0,0x2cc1,0x2cc2,0x2cc3,
|
sl@0
|
648 |
0x2cc4,0x2cc5,0x2cc6,0x2cc7,0x2cc8,0x2cc9,0x2cca,0x2ccb,0x2ccc,0x2ccd,
|
sl@0
|
649 |
0x2cce,0x2ccf,0x2cd0,0x2cd1,0x2cd2,0x2cd3,0x2cd4,0x2cd5,0x2cd6,0x2cd7,
|
sl@0
|
650 |
0x2cd8,0x2cd9,0x2cda,0x2cdb,0x2cdc,0x2cdd,0x2cde,0x2cdf,0x2ce0,0x2ce1,
|
sl@0
|
651 |
0x2ce2,0x2ce3,0x2ce4,0x2d00,0x2d01,0x2d02,0x2d03,0x2d04,0x2d05,0x2d06,
|
sl@0
|
652 |
0x2d07,0x2d08,0x2d09,0x2d0a,0x2d0b,0x2d0c,0x2d0d,0x2d0e,0x2d0f,0x2d10,
|
sl@0
|
653 |
0x2d11,0x2d12,0x2d13,0x2d14,0x2d15,0x2d16,0x2d17,0x2d18,0x2d19,0x2d1a,
|
sl@0
|
654 |
0x2d1b,0x2d1c,0x2d1d,0x2d1e,0x2d1f,0x2d20,0x2d21,0x2d22,0x2d23,0x2d24,
|
sl@0
|
655 |
0x2d25,0x2d30,0x2d31,0x2d32,0x2d33,0x2d34,0x2d35,0x2d36,0x2d37,0x2d38,
|
sl@0
|
656 |
0x2d39,0x2d3a,0x2d3b,0x2d3c,0x2d3d,0x2d3e,0x2d3f,0x2d40,0x2d41,0x2d42,
|
sl@0
|
657 |
0x2d43,0x2d44,0x2d45,0x2d46,0x2d47,0x2d48,0x2d49,0x2d4a,0x2d4b,0x2d4c,
|
sl@0
|
658 |
0x2d4d,0x2d4e,0x2d4f,0x2d50,0x2d51,0x2d52,0x2d53,0x2d54,0x2d55,0x2d56,
|
sl@0
|
659 |
0x2d57,0x2d58,0x2d59,0x2d5a,0x2d5b,0x2d5c,0x2d5d,0x2d5e,0x2d5f,0x2d60,
|
sl@0
|
660 |
0x2d61,0x2d62,0x2d63,0x2d64,0x2d65,0x2d6f,0x2d80,0x2d81,0x2d82,0x2d83,
|
sl@0
|
661 |
0x2d84,0x2d85,0x2d86,0x2d87,0x2d88,0x2d89,0x2d8a,0x2d8b,0x2d8c,0x2d8d,
|
sl@0
|
662 |
0x2d8e,0x2d8f,0x2d90,0x2d91,0x2d92,0x2d93,0x2d94,0x2d95,0x2d96,0x2da0,
|
sl@0
|
663 |
0x2da1,0x2da2,0x2da3,0x2da4,0x2da5,0x2da6,0x2da8,0x2da9,0x2daa,0x2dab,
|
sl@0
|
664 |
0x2dac,0x2dad,0x2dae,0x2db0,0x2db1,0x2db2,0x2db3,0x2db4,0x2db5,0x2db6,
|
sl@0
|
665 |
0x2db8,0x2db9,0x2dba,0x2dbb,0x2dbc,0x2dbd,0x2dbe,0x2dc0,0x2dc1,0x2dc2,
|
sl@0
|
666 |
0x2dc3,0x2dc4,0x2dc5,0x2dc6,0x2dc8,0x2dc9,0x2dca,0x2dcb,0x2dcc,0x2dcd,
|
sl@0
|
667 |
0x2dce,0x2dd0,0x2dd1,0x2dd2,0x2dd3,0x2dd4,0x2dd5,0x2dd6,0x2dd8,0x2dd9,
|
sl@0
|
668 |
0x2dda,0x2ddb,0x2ddc,0x2ddd,0x2dde,0x3005,0x3006,0x3007,0x3021,0x3022,
|
sl@0
|
669 |
0x3023,0x3024,0x3025,0x3026,0x3027,0x3028,0x3029,0x3031,0x3032,0x3033,
|
sl@0
|
670 |
0x3034,0x3035,0x3038,0x3039,0x303a,0x303b,0x303c,0x3041,0x3042,0x3043,
|
sl@0
|
671 |
0x3044,0x3045,0x3046,0x3047,0x3048,0x3049,0x304a,0x304b,0x304c,0x304d,
|
sl@0
|
672 |
0x304e,0x304f,0x3050,0x3051,0x3052,0x3053,0x3054,0x3055,0x3056,0x3057,
|
sl@0
|
673 |
0x3058,0x3059,0x305a,0x305b,0x305c,0x305d,0x305e,0x305f,0x3060,0x3061,
|
sl@0
|
674 |
0x3062,0x3063,0x3064,0x3065,0x3066,0x3067,0x3068,0x3069,0x306a,0x306b,
|
sl@0
|
675 |
0x306c,0x306d,0x306e,0x306f,0x3070,0x3071,0x3072,0x3073,0x3074,0x3075,
|
sl@0
|
676 |
0x3076,0x3077,0x3078,0x3079,0x307a,0x307b,0x307c,0x307d,0x307e,0x307f,
|
sl@0
|
677 |
0x3080,0x3081,0x3082,0x3083,0x3084,0x3085,0x3086,0x3087,0x3088,0x3089,
|
sl@0
|
678 |
0x308a,0x308b,0x308c,0x308d,0x308e,0x308f,0x3090,0x3091,0x3092,0x3093,
|
sl@0
|
679 |
0x3094,0x3095,0x3096,0x309d,0x309e,0x309f,0x30a1,0x30a2,0x30a3,0x30a4,
|
sl@0
|
680 |
0x30a5,0x30a6,0x30a7,0x30a8,0x30a9,0x30aa,0x30ab,0x30ac,0x30ad,0x30ae,
|
sl@0
|
681 |
0x30af,0x30b0,0x30b1,0x30b2,0x30b3,0x30b4,0x30b5,0x30b6,0x30b7,0x30b8,
|
sl@0
|
682 |
0x30b9,0x30ba,0x30bb,0x30bc,0x30bd,0x30be,0x30bf,0x30c0,0x30c1,0x30c2,
|
sl@0
|
683 |
0x30c3,0x30c4,0x30c5,0x30c6,0x30c7,0x30c8,0x30c9,0x30ca,0x30cb,0x30cc,
|
sl@0
|
684 |
0x30cd,0x30ce,0x30cf,0x30d0,0x30d1,0x30d2,0x30d3,0x30d4,0x30d5,0x30d6,
|
sl@0
|
685 |
0x30d7,0x30d8,0x30d9,0x30da,0x30db,0x30dc,0x30dd,0x30de,0x30df,0x30e0,
|
sl@0
|
686 |
0x30e1,0x30e2,0x30e3,0x30e4,0x30e5,0x30e6,0x30e7,0x30e8,0x30e9,0x30ea,
|
sl@0
|
687 |
0x30eb,0x30ec,0x30ed,0x30ee,0x30ef,0x30f0,0x30f1,0x30f2,0x30f3,0x30f4,
|
sl@0
|
688 |
0x30f5,0x30f6,0x30f7,0x30f8,0x30f9,0x30fa,0x30fc,0x30fd,0x30fe,0x30ff,
|
sl@0
|
689 |
0x3105,0x3106,0x3107,0x3108,0x3109,0x310a,0x310b,0x310c,0x310d,0x310e,
|
sl@0
|
690 |
0x310f,0x3110,0x3111,0x3112,0x3113,0x3114,0x3115,0x3116,0x3117,0x3118,
|
sl@0
|
691 |
0x3119,0x311a,0x311b,0x311c,0x311d,0x311e,0x311f,0x3120,0x3121,0x3122,
|
sl@0
|
692 |
0x3123,0x3124,0x3125,0x3126,0x3127,0x3128,0x3129,0x312a,0x312b,0x312c,
|
sl@0
|
693 |
0x3131,0x3132,0x3133,0x3134,0x3135,0x3136,0x3137,0x3138,0x3139,0x313a,
|
sl@0
|
694 |
0x313b,0x313c,0x313d,0x313e,0x313f,0x3140,0x3141,0x3142,0x3143,0x3144,
|
sl@0
|
695 |
0x3145,0x3146,0x3147,0x3148,0x3149,0x314a,0x314b,0x314c,0x314d,0x314e,
|
sl@0
|
696 |
0x314f,0x3150,0x3151,0x3152,0x3153,0x3154,0x3155,0x3156,0x3157,0x3158,
|
sl@0
|
697 |
0x3159,0x315a,0x315b,0x315c,0x315d,0x315e,0x315f,0x3160,0x3161,0x3162,
|
sl@0
|
698 |
0x3163,0x3164,0x3165,0x3166,0x3167,0x3168,0x3169,0x316a,0x316b,0x316c,
|
sl@0
|
699 |
0x316d,0x316e,0x316f,0x3170,0x3171,0x3172,0x3173,0x3174,0x3175,0x3176,
|
sl@0
|
700 |
0x3177,0x3178,0x3179,0x317a,0x317b,0x317c,0x317d,0x317e,0x317f,0x3180,
|
sl@0
|
701 |
0x3181,0x3182,0x3183,0x3184,0x3185,0x3186,0x3187,0x3188,0x3189,0x318a,
|
sl@0
|
702 |
0x318b,0x318c,0x318d,0x318e,0x3190,0x3191,0x3192,0x3193,0x3194,0x3195,
|
sl@0
|
703 |
0x3196,0x3197,0x3198,0x3199,0x319a,0x319b,0x319c,0x319d,0x319e,0x319f,
|
sl@0
|
704 |
0x31a0,0x31a1,0x31a2,0x31a3,0x31a4,0x31a5,0x31a6,0x31a7,0x31a8,0x31a9,
|
sl@0
|
705 |
0x31aa,0x31ab,0x31ac,0x31ad,0x31ae,0x31af,0x31b0,0x31b1,0x31b2,0x31b3,
|
sl@0
|
706 |
0x31b4,0x31b5,0x31b6,0x31b7,0x31f0,0x31f1,0x31f2,0x31f3,0x31f4,0x31f5,
|
sl@0
|
707 |
0x31f6,0x31f7,0x31f8,0x31f9,0x31fa,0x31fb,0x31fc,0x31fd,0x31fe,0x31ff,
|
sl@0
|
708 |
0x3200,0x3201,0x3202,0x3203,0x3204,0x3205,0x3206,0x3207,0x3208,0x3209,
|
sl@0
|
709 |
0x320a,0x320b,0x320c,0x320d,0x320e,0x320f,0x3210,0x3211,0x3212,0x3213,
|
sl@0
|
710 |
0x3214,0x3215,0x3216,0x3217,0x3218,0x3219,0x321a,0x321b,0x321c,0x3220,
|
sl@0
|
711 |
0x3221,0x3222,0x3223,0x3224,0x3225,0x3226,0x3227,0x3228,0x3229,0x322a,
|
sl@0
|
712 |
0x322b,0x322c,0x322d,0x322e,0x322f,0x3230,0x3231,0x3232,0x3233,0x3234,
|
sl@0
|
713 |
0x3235,0x3236,0x3237,0x3238,0x3239,0x323a,0x323b,0x323c,0x323d,0x323e,
|
sl@0
|
714 |
0x323f,0x3240,0x3241,0x3242,0x3243,0x3260,0x3261,0x3262,0x3263,0x3264,
|
sl@0
|
715 |
0x3265,0x3266,0x3267,0x3268,0x3269,0x326a,0x326b,0x326c,0x326d,0x326e,
|
sl@0
|
716 |
0x326f,0x3270,0x3271,0x3272,0x3273,0x3274,0x3275,0x3276,0x3277,0x3278,
|
sl@0
|
717 |
0x3279,0x327a,0x327b,0x327f,0x3280,0x3281,0x3282,0x3283,0x3284,0x3285,
|
sl@0
|
718 |
0x3286,0x3287,0x3288,0x3289,0x328a,0x328b,0x328c,0x328d,0x328e,0x328f,
|
sl@0
|
719 |
0x3290,0x3291,0x3292,0x3293,0x3294,0x3295,0x3296,0x3297,0x3298,0x3299,
|
sl@0
|
720 |
0x329a,0x329b,0x329c,0x329d,0x329e,0x329f,0x32a0,0x32a1,0x32a2,0x32a3,
|
sl@0
|
721 |
0x32a4,0x32a5,0x32a6,0x32a7,0x32a8,0x32a9,0x32aa,0x32ab,0x32ac,0x32ad,
|
sl@0
|
722 |
0x32ae,0x32af,0x32b0,0x32c0,0x32c1,0x32c2,0x32c3,0x32c4,0x32c5,0x32c6,
|
sl@0
|
723 |
0x32c7,0x32c8,0x32c9,0x32ca,0x32cb,0x32d0,0x32d1,0x32d2,0x32d3,0x32d4,
|
sl@0
|
724 |
0x32d5,0x32d6,0x32d7,0x32d8,0x32d9,0x32da,0x32db,0x32dc,0x32dd,0x32de,
|
sl@0
|
725 |
0x32df,0x32e0,0x32e1,0x32e2,0x32e3,0x32e4,0x32e5,0x32e6,0x32e7,0x32e8,
|
sl@0
|
726 |
0x32e9,0x32ea,0x32eb,0x32ec,0x32ed,0x32ee,0x32ef,0x32f0,0x32f1,0x32f2,
|
sl@0
|
727 |
0x32f3,0x32f4,0x32f5,0x32f6,0x32f7,0x32f8,0x32f9,0x32fa,0x32fb,0x32fc,
|
sl@0
|
728 |
0x32fd,0x32fe,0x3300,0x3301,0x3302,0x3303,0x3304,0x3305,0x3306,0x3307,
|
sl@0
|
729 |
0x3308,0x3309,0x330a,0x330b,0x330c,0x330d,0x330e,0x330f,0x3310,0x3311,
|
sl@0
|
730 |
0x3312,0x3313,0x3314,0x3315,0x3316,0x3317,0x3318,0x3319,0x331a,0x331b,
|
sl@0
|
731 |
0x331c,0x331d,0x331e,0x331f,0x3320,0x3321,0x3322,0x3323,0x3324,0x3325,
|
sl@0
|
732 |
0x3326,0x3327,0x3328,0x3329,0x332a,0x332b,0x332c,0x332d,0x332e,0x332f,
|
sl@0
|
733 |
0x3330,0x3331,0x3332,0x3333,0x3334,0x3335,0x3336,0x3337,0x3338,0x3339,
|
sl@0
|
734 |
0x333a,0x333b,0x333c,0x333d,0x333e,0x333f,0x3340,0x3341,0x3342,0x3343,
|
sl@0
|
735 |
0x3344,0x3345,0x3346,0x3347,0x3348,0x3349,0x334a,0x334b,0x334c,0x334d,
|
sl@0
|
736 |
0x334e,0x334f,0x3350,0x3351,0x3352,0x3353,0x3354,0x3355,0x3356,0x3357,
|
sl@0
|
737 |
0x3358,0x3359,0x335a,0x335b,0x335c,0x335d,0x335e,0x335f,0x3360,0x3361,
|
sl@0
|
738 |
0x3362,0x3363,0x3364,0x3365,0x3366,0x3367,0x3368,0x3369,0x336a,0x336b,
|
sl@0
|
739 |
0x336c,0x336d,0x336e,0x336f,0x3370,0x3371,0x3372,0x3373,0x3374,0x3375,
|
sl@0
|
740 |
0x3376,0x337b,0x337c,0x337d,0x337e,0x337f,0x3380,0x3381,0x3382,0x3383,
|
sl@0
|
741 |
0x3384,0x3385,0x3386,0x3387,0x3388,0x3389,0x338a,0x338b,0x338c,0x338d,
|
sl@0
|
742 |
0x338e,0x338f,0x3390,0x3391,0x3392,0x3393,0x3394,0x3395,0x3396,0x3397,
|
sl@0
|
743 |
0x3398,0x3399,0x339a,0x339b,0x339c,0x339d,0x339e,0x339f,0x33a0,0x33a1,
|
sl@0
|
744 |
0x33a2,0x33a3,0x33a4,0x33a5,0x33a6,0x33a7,0x33a8,0x33a9,0x33aa,0x33ab,
|
sl@0
|
745 |
0x33ac,0x33ad,0x33ae,0x33af,0x33b0,0x33b1,0x33b2,0x33b3,0x33b4,0x33b5,
|
sl@0
|
746 |
0x33b6,0x33b7,0x33b8,0x33b9,0x33ba,0x33bb,0x33bc,0x33bd,0x33be,0x33bf,
|
sl@0
|
747 |
0x33c0,0x33c1,0x33c2,0x33c3,0x33c4,0x33c5,0x33c6,0x33c7,0x33c8,0x33c9,
|
sl@0
|
748 |
0x33ca,0x33cb,0x33cc,0x33cd,0x33ce,0x33cf,0x33d0,0x33d1,0x33d2,0x33d3,
|
sl@0
|
749 |
0x33d4,0x33d5,0x33d6,0x33d7,0x33d8,0x33d9,0x33da,0x33db,0x33dc,0x33dd,
|
sl@0
|
750 |
0x33e0,0x33e1,0x33e2,0x33e3,0x33e4,0x33e5,0x33e6,0x33e7,0x33e8,0x33e9,
|
sl@0
|
751 |
0x33ea,0x33eb,0x33ec,0x33ed,0x33ee,0x33ef,0x33f0,0x33f1,0x33f2,0x33f3,
|
sl@0
|
752 |
0x33f4,0x33f5,0x33f6,0x33f7,0x33f8,0x33f9,0x33fa,0x33fb,0x33fc,0x33fd,
|
sl@0
|
753 |
0x33fe,0x3400,0x4db5,0x4e00,0x9fbb,0xa000,0xa001,0xa002,0xa003,0xa004,
|
sl@0
|
754 |
0xa005,0xa006,0xa007,0xa008,0xa009,0xa00a,0xa00b,0xa00c,0xa00d,0xa00e,
|
sl@0
|
755 |
0xa00f,0xa010,0xa011,0xa012,0xa013,0xa014,0xa015,0xa016,0xa017,0xa018,
|
sl@0
|
756 |
0xa019,0xa01a,0xa01b,0xa01c,0xa01d,0xa01e,0xa01f,0xa020,0xa021,0xa022,
|
sl@0
|
757 |
0xa023,0xa024,0xa025,0xa026,0xa027,0xa028,0xa029,0xa02a,0xa02b,0xa02c,
|
sl@0
|
758 |
0xa02d,0xa02e,0xa02f,0xa030,0xa031,0xa032,0xa033,0xa034,0xa035,0xa036,
|
sl@0
|
759 |
0xa037,0xa038,0xa039,0xa03a,0xa03b,0xa03c,0xa03d,0xa03e,0xa03f,0xa040,
|
sl@0
|
760 |
0xa041,0xa042,0xa043,0xa044,0xa045,0xa046,0xa047,0xa048,0xa049,0xa04a,
|
sl@0
|
761 |
0xa04b,0xa04c,0xa04d,0xa04e,0xa04f,0xa050,0xa051,0xa052,0xa053,0xa054,
|
sl@0
|
762 |
0xa055,0xa056,0xa057,0xa058,0xa059,0xa05a,0xa05b,0xa05c,0xa05d,0xa05e,
|
sl@0
|
763 |
0xa05f,0xa060,0xa061,0xa062,0xa063,0xa064,0xa065,0xa066,0xa067,0xa068,
|
sl@0
|
764 |
0xa069,0xa06a,0xa06b,0xa06c,0xa06d,0xa06e,0xa06f,0xa070,0xa071,0xa072,
|
sl@0
|
765 |
0xa073,0xa074,0xa075,0xa076,0xa077,0xa078,0xa079,0xa07a,0xa07b,0xa07c,
|
sl@0
|
766 |
0xa07d,0xa07e,0xa07f,0xa080,0xa081,0xa082,0xa083,0xa084,0xa085,0xa086,
|
sl@0
|
767 |
0xa087,0xa088,0xa089,0xa08a,0xa08b,0xa08c,0xa08d,0xa08e,0xa08f,0xa090,
|
sl@0
|
768 |
0xa091,0xa092,0xa093,0xa094,0xa095,0xa096,0xa097,0xa098,0xa099,0xa09a,
|
sl@0
|
769 |
0xa09b,0xa09c,0xa09d,0xa09e,0xa09f,0xa0a0,0xa0a1,0xa0a2,0xa0a3,0xa0a4,
|
sl@0
|
770 |
0xa0a5,0xa0a6,0xa0a7,0xa0a8,0xa0a9,0xa0aa,0xa0ab,0xa0ac,0xa0ad,0xa0ae,
|
sl@0
|
771 |
0xa0af,0xa0b0,0xa0b1,0xa0b2,0xa0b3,0xa0b4,0xa0b5,0xa0b6,0xa0b7,0xa0b8,
|
sl@0
|
772 |
0xa0b9,0xa0ba,0xa0bb,0xa0bc,0xa0bd,0xa0be,0xa0bf,0xa0c0,0xa0c1,0xa0c2,
|
sl@0
|
773 |
0xa0c3,0xa0c4,0xa0c5,0xa0c6,0xa0c7,0xa0c8,0xa0c9,0xa0ca,0xa0cb,0xa0cc,
|
sl@0
|
774 |
0xa0cd,0xa0ce,0xa0cf,0xa0d0,0xa0d1,0xa0d2,0xa0d3,0xa0d4,0xa0d5,0xa0d6,
|
sl@0
|
775 |
0xa0d7,0xa0d8,0xa0d9,0xa0da,0xa0db,0xa0dc,0xa0dd,0xa0de,0xa0df,0xa0e0,
|
sl@0
|
776 |
0xa0e1,0xa0e2,0xa0e3,0xa0e4,0xa0e5,0xa0e6,0xa0e7,0xa0e8,0xa0e9,0xa0ea,
|
sl@0
|
777 |
0xa0eb,0xa0ec,0xa0ed,0xa0ee,0xa0ef,0xa0f0,0xa0f1,0xa0f2,0xa0f3,0xa0f4,
|
sl@0
|
778 |
0xa0f5,0xa0f6,0xa0f7,0xa0f8,0xa0f9,0xa0fa,0xa0fb,0xa0fc,0xa0fd,0xa0fe,
|
sl@0
|
779 |
0xa0ff,0xa100,0xa101,0xa102,0xa103,0xa104,0xa105,0xa106,0xa107,0xa108,
|
sl@0
|
780 |
0xa109,0xa10a,0xa10b,0xa10c,0xa10d,0xa10e,0xa10f,0xa110,0xa111,0xa112,
|
sl@0
|
781 |
0xa113,0xa114,0xa115,0xa116,0xa117,0xa118,0xa119,0xa11a,0xa11b,0xa11c,
|
sl@0
|
782 |
0xa11d,0xa11e,0xa11f,0xa120,0xa121,0xa122,0xa123,0xa124,0xa125,0xa126,
|
sl@0
|
783 |
0xa127,0xa128,0xa129,0xa12a,0xa12b,0xa12c,0xa12d,0xa12e,0xa12f,0xa130,
|
sl@0
|
784 |
0xa131,0xa132,0xa133,0xa134,0xa135,0xa136,0xa137,0xa138,0xa139,0xa13a,
|
sl@0
|
785 |
0xa13b,0xa13c,0xa13d,0xa13e,0xa13f,0xa140,0xa141,0xa142,0xa143,0xa144,
|
sl@0
|
786 |
0xa145,0xa146,0xa147,0xa148,0xa149,0xa14a,0xa14b,0xa14c,0xa14d,0xa14e,
|
sl@0
|
787 |
0xa14f,0xa150,0xa151,0xa152,0xa153,0xa154,0xa155,0xa156,0xa157,0xa158,
|
sl@0
|
788 |
0xa159,0xa15a,0xa15b,0xa15c,0xa15d,0xa15e,0xa15f,0xa160,0xa161,0xa162,
|
sl@0
|
789 |
0xa163,0xa164,0xa165,0xa166,0xa167,0xa168,0xa169,0xa16a,0xa16b,0xa16c,
|
sl@0
|
790 |
0xa16d,0xa16e,0xa16f,0xa170,0xa171,0xa172,0xa173,0xa174,0xa175,0xa176,
|
sl@0
|
791 |
0xa177,0xa178,0xa179,0xa17a,0xa17b,0xa17c,0xa17d,0xa17e,0xa17f,0xa180,
|
sl@0
|
792 |
0xa181,0xa182,0xa183,0xa184,0xa185,0xa186,0xa187,0xa188,0xa189,0xa18a,
|
sl@0
|
793 |
0xa18b,0xa18c,0xa18d,0xa18e,0xa18f,0xa190,0xa191,0xa192,0xa193,0xa194,
|
sl@0
|
794 |
0xa195,0xa196,0xa197,0xa198,0xa199,0xa19a,0xa19b,0xa19c,0xa19d,0xa19e,
|
sl@0
|
795 |
0xa19f,0xa1a0,0xa1a1,0xa1a2,0xa1a3,0xa1a4,0xa1a5,0xa1a6,0xa1a7,0xa1a8,
|
sl@0
|
796 |
0xa1a9,0xa1aa,0xa1ab,0xa1ac,0xa1ad,0xa1ae,0xa1af,0xa1b0,0xa1b1,0xa1b2,
|
sl@0
|
797 |
0xa1b3,0xa1b4,0xa1b5,0xa1b6,0xa1b7,0xa1b8,0xa1b9,0xa1ba,0xa1bb,0xa1bc,
|
sl@0
|
798 |
0xa1bd,0xa1be,0xa1bf,0xa1c0,0xa1c1,0xa1c2,0xa1c3,0xa1c4,0xa1c5,0xa1c6,
|
sl@0
|
799 |
0xa1c7,0xa1c8,0xa1c9,0xa1ca,0xa1cb,0xa1cc,0xa1cd,0xa1ce,0xa1cf,0xa1d0,
|
sl@0
|
800 |
0xa1d1,0xa1d2,0xa1d3,0xa1d4,0xa1d5,0xa1d6,0xa1d7,0xa1d8,0xa1d9,0xa1da,
|
sl@0
|
801 |
0xa1db,0xa1dc,0xa1dd,0xa1de,0xa1df,0xa1e0,0xa1e1,0xa1e2,0xa1e3,0xa1e4,
|
sl@0
|
802 |
0xa1e5,0xa1e6,0xa1e7,0xa1e8,0xa1e9,0xa1ea,0xa1eb,0xa1ec,0xa1ed,0xa1ee,
|
sl@0
|
803 |
0xa1ef,0xa1f0,0xa1f1,0xa1f2,0xa1f3,0xa1f4,0xa1f5,0xa1f6,0xa1f7,0xa1f8,
|
sl@0
|
804 |
0xa1f9,0xa1fa,0xa1fb,0xa1fc,0xa1fd,0xa1fe,0xa1ff,0xa200,0xa201,0xa202,
|
sl@0
|
805 |
0xa203,0xa204,0xa205,0xa206,0xa207,0xa208,0xa209,0xa20a,0xa20b,0xa20c,
|
sl@0
|
806 |
0xa20d,0xa20e,0xa20f,0xa210,0xa211,0xa212,0xa213,0xa214,0xa215,0xa216,
|
sl@0
|
807 |
0xa217,0xa218,0xa219,0xa21a,0xa21b,0xa21c,0xa21d,0xa21e,0xa21f,0xa220,
|
sl@0
|
808 |
0xa221,0xa222,0xa223,0xa224,0xa225,0xa226,0xa227,0xa228,0xa229,0xa22a,
|
sl@0
|
809 |
0xa22b,0xa22c,0xa22d,0xa22e,0xa22f,0xa230,0xa231,0xa232,0xa233,0xa234,
|
sl@0
|
810 |
0xa235,0xa236,0xa237,0xa238,0xa239,0xa23a,0xa23b,0xa23c,0xa23d,0xa23e,
|
sl@0
|
811 |
0xa23f,0xa240,0xa241,0xa242,0xa243,0xa244,0xa245,0xa246,0xa247,0xa248,
|
sl@0
|
812 |
0xa249,0xa24a,0xa24b,0xa24c,0xa24d,0xa24e,0xa24f,0xa250,0xa251,0xa252,
|
sl@0
|
813 |
0xa253,0xa254,0xa255,0xa256,0xa257,0xa258,0xa259,0xa25a,0xa25b,0xa25c,
|
sl@0
|
814 |
0xa25d,0xa25e,0xa25f,0xa260,0xa261,0xa262,0xa263,0xa264,0xa265,0xa266,
|
sl@0
|
815 |
0xa267,0xa268,0xa269,0xa26a,0xa26b,0xa26c,0xa26d,0xa26e,0xa26f,0xa270,
|
sl@0
|
816 |
0xa271,0xa272,0xa273,0xa274,0xa275,0xa276,0xa277,0xa278,0xa279,0xa27a,
|
sl@0
|
817 |
0xa27b,0xa27c,0xa27d,0xa27e,0xa27f,0xa280,0xa281,0xa282,0xa283,0xa284,
|
sl@0
|
818 |
0xa285,0xa286,0xa287,0xa288,0xa289,0xa28a,0xa28b,0xa28c,0xa28d,0xa28e,
|
sl@0
|
819 |
0xa28f,0xa290,0xa291,0xa292,0xa293,0xa294,0xa295,0xa296,0xa297,0xa298,
|
sl@0
|
820 |
0xa299,0xa29a,0xa29b,0xa29c,0xa29d,0xa29e,0xa29f,0xa2a0,0xa2a1,0xa2a2,
|
sl@0
|
821 |
0xa2a3,0xa2a4,0xa2a5,0xa2a6,0xa2a7,0xa2a8,0xa2a9,0xa2aa,0xa2ab,0xa2ac,
|
sl@0
|
822 |
0xa2ad,0xa2ae,0xa2af,0xa2b0,0xa2b1,0xa2b2,0xa2b3,0xa2b4,0xa2b5,0xa2b6,
|
sl@0
|
823 |
0xa2b7,0xa2b8,0xa2b9,0xa2ba,0xa2bb,0xa2bc,0xa2bd,0xa2be,0xa2bf,0xa2c0,
|
sl@0
|
824 |
0xa2c1,0xa2c2,0xa2c3,0xa2c4,0xa2c5,0xa2c6,0xa2c7,0xa2c8,0xa2c9,0xa2ca,
|
sl@0
|
825 |
0xa2cb,0xa2cc,0xa2cd,0xa2ce,0xa2cf,0xa2d0,0xa2d1,0xa2d2,0xa2d3,0xa2d4,
|
sl@0
|
826 |
0xa2d5,0xa2d6,0xa2d7,0xa2d8,0xa2d9,0xa2da,0xa2db,0xa2dc,0xa2dd,0xa2de,
|
sl@0
|
827 |
0xa2df,0xa2e0,0xa2e1,0xa2e2,0xa2e3,0xa2e4,0xa2e5,0xa2e6,0xa2e7,0xa2e8,
|
sl@0
|
828 |
0xa2e9,0xa2ea,0xa2eb,0xa2ec,0xa2ed,0xa2ee,0xa2ef,0xa2f0,0xa2f1,0xa2f2,
|
sl@0
|
829 |
0xa2f3,0xa2f4,0xa2f5,0xa2f6,0xa2f7,0xa2f8,0xa2f9,0xa2fa,0xa2fb,0xa2fc,
|
sl@0
|
830 |
0xa2fd,0xa2fe,0xa2ff,0xa300,0xa301,0xa302,0xa303,0xa304,0xa305,0xa306,
|
sl@0
|
831 |
0xa307,0xa308,0xa309,0xa30a,0xa30b,0xa30c,0xa30d,0xa30e,0xa30f,0xa310,
|
sl@0
|
832 |
0xa311,0xa312,0xa313,0xa314,0xa315,0xa316,0xa317,0xa318,0xa319,0xa31a,
|
sl@0
|
833 |
0xa31b,0xa31c,0xa31d,0xa31e,0xa31f,0xa320,0xa321,0xa322,0xa323,0xa324,
|
sl@0
|
834 |
0xa325,0xa326,0xa327,0xa328,0xa329,0xa32a,0xa32b,0xa32c,0xa32d,0xa32e,
|
sl@0
|
835 |
0xa32f,0xa330,0xa331,0xa332,0xa333,0xa334,0xa335,0xa336,0xa337,0xa338,
|
sl@0
|
836 |
0xa339,0xa33a,0xa33b,0xa33c,0xa33d,0xa33e,0xa33f,0xa340,0xa341,0xa342,
|
sl@0
|
837 |
0xa343,0xa344,0xa345,0xa346,0xa347,0xa348,0xa349,0xa34a,0xa34b,0xa34c,
|
sl@0
|
838 |
0xa34d,0xa34e,0xa34f,0xa350,0xa351,0xa352,0xa353,0xa354,0xa355,0xa356,
|
sl@0
|
839 |
0xa357,0xa358,0xa359,0xa35a,0xa35b,0xa35c,0xa35d,0xa35e,0xa35f,0xa360,
|
sl@0
|
840 |
0xa361,0xa362,0xa363,0xa364,0xa365,0xa366,0xa367,0xa368,0xa369,0xa36a,
|
sl@0
|
841 |
0xa36b,0xa36c,0xa36d,0xa36e,0xa36f,0xa370,0xa371,0xa372,0xa373,0xa374,
|
sl@0
|
842 |
0xa375,0xa376,0xa377,0xa378,0xa379,0xa37a,0xa37b,0xa37c,0xa37d,0xa37e,
|
sl@0
|
843 |
0xa37f,0xa380,0xa381,0xa382,0xa383,0xa384,0xa385,0xa386,0xa387,0xa388,
|
sl@0
|
844 |
0xa389,0xa38a,0xa38b,0xa38c,0xa38d,0xa38e,0xa38f,0xa390,0xa391,0xa392,
|
sl@0
|
845 |
0xa393,0xa394,0xa395,0xa396,0xa397,0xa398,0xa399,0xa39a,0xa39b,0xa39c,
|
sl@0
|
846 |
0xa39d,0xa39e,0xa39f,0xa3a0,0xa3a1,0xa3a2,0xa3a3,0xa3a4,0xa3a5,0xa3a6,
|
sl@0
|
847 |
0xa3a7,0xa3a8,0xa3a9,0xa3aa,0xa3ab,0xa3ac,0xa3ad,0xa3ae,0xa3af,0xa3b0,
|
sl@0
|
848 |
0xa3b1,0xa3b2,0xa3b3,0xa3b4,0xa3b5,0xa3b6,0xa3b7,0xa3b8,0xa3b9,0xa3ba,
|
sl@0
|
849 |
0xa3bb,0xa3bc,0xa3bd,0xa3be,0xa3bf,0xa3c0,0xa3c1,0xa3c2,0xa3c3,0xa3c4,
|
sl@0
|
850 |
0xa3c5,0xa3c6,0xa3c7,0xa3c8,0xa3c9,0xa3ca,0xa3cb,0xa3cc,0xa3cd,0xa3ce,
|
sl@0
|
851 |
0xa3cf,0xa3d0,0xa3d1,0xa3d2,0xa3d3,0xa3d4,0xa3d5,0xa3d6,0xa3d7,0xa3d8,
|
sl@0
|
852 |
0xa3d9,0xa3da,0xa3db,0xa3dc,0xa3dd,0xa3de,0xa3df,0xa3e0,0xa3e1,0xa3e2,
|
sl@0
|
853 |
0xa3e3,0xa3e4,0xa3e5,0xa3e6,0xa3e7,0xa3e8,0xa3e9,0xa3ea,0xa3eb,0xa3ec,
|
sl@0
|
854 |
0xa3ed,0xa3ee,0xa3ef,0xa3f0,0xa3f1,0xa3f2,0xa3f3,0xa3f4,0xa3f5,0xa3f6,
|
sl@0
|
855 |
0xa3f7,0xa3f8,0xa3f9,0xa3fa,0xa3fb,0xa3fc,0xa3fd,0xa3fe,0xa3ff,0xa400,
|
sl@0
|
856 |
0xa401,0xa402,0xa403,0xa404,0xa405,0xa406,0xa407,0xa408,0xa409,0xa40a,
|
sl@0
|
857 |
0xa40b,0xa40c,0xa40d,0xa40e,0xa40f,0xa410,0xa411,0xa412,0xa413,0xa414,
|
sl@0
|
858 |
0xa415,0xa416,0xa417,0xa418,0xa419,0xa41a,0xa41b,0xa41c,0xa41d,0xa41e,
|
sl@0
|
859 |
0xa41f,0xa420,0xa421,0xa422,0xa423,0xa424,0xa425,0xa426,0xa427,0xa428,
|
sl@0
|
860 |
0xa429,0xa42a,0xa42b,0xa42c,0xa42d,0xa42e,0xa42f,0xa430,0xa431,0xa432,
|
sl@0
|
861 |
0xa433,0xa434,0xa435,0xa436,0xa437,0xa438,0xa439,0xa43a,0xa43b,0xa43c,
|
sl@0
|
862 |
0xa43d,0xa43e,0xa43f,0xa440,0xa441,0xa442,0xa443,0xa444,0xa445,0xa446,
|
sl@0
|
863 |
0xa447,0xa448,0xa449,0xa44a,0xa44b,0xa44c,0xa44d,0xa44e,0xa44f,0xa450,
|
sl@0
|
864 |
0xa451,0xa452,0xa453,0xa454,0xa455,0xa456,0xa457,0xa458,0xa459,0xa45a,
|
sl@0
|
865 |
0xa45b,0xa45c,0xa45d,0xa45e,0xa45f,0xa460,0xa461,0xa462,0xa463,0xa464,
|
sl@0
|
866 |
0xa465,0xa466,0xa467,0xa468,0xa469,0xa46a,0xa46b,0xa46c,0xa46d,0xa46e,
|
sl@0
|
867 |
0xa46f,0xa470,0xa471,0xa472,0xa473,0xa474,0xa475,0xa476,0xa477,0xa478,
|
sl@0
|
868 |
0xa479,0xa47a,0xa47b,0xa47c,0xa47d,0xa47e,0xa47f,0xa480,0xa481,0xa482,
|
sl@0
|
869 |
0xa483,0xa484,0xa485,0xa486,0xa487,0xa488,0xa489,0xa48a,0xa48b,0xa48c,
|
sl@0
|
870 |
0xa800,0xa801,0xa803,0xa804,0xa805,0xa807,0xa808,0xa809,0xa80a,0xa80c,
|
sl@0
|
871 |
0xa80d,0xa80e,0xa80f,0xa810,0xa811,0xa812,0xa813,0xa814,0xa815,0xa816,
|
sl@0
|
872 |
0xa817,0xa818,0xa819,0xa81a,0xa81b,0xa81c,0xa81d,0xa81e,0xa81f,0xa820,
|
sl@0
|
873 |
0xa821,0xa822,0xa840,0xa841,0xa842,0xa843,0xa844,0xa845,0xa846,0xa847,
|
sl@0
|
874 |
0xa848,0xa849,0xa84a,0xa84b,0xa84c,0xa84d,0xa84e,0xa84f,0xa850,0xa851,
|
sl@0
|
875 |
0xa852,0xa853,0xa854,0xa855,0xa856,0xa857,0xa858,0xa859,0xa85a,0xa85b,
|
sl@0
|
876 |
0xa85c,0xa85d,0xa85e,0xa85f,0xa860,0xa861,0xa862,0xa863,0xa864,0xa865,
|
sl@0
|
877 |
0xa866,0xa867,0xa868,0xa869,0xa86a,0xa86b,0xa86c,0xa86d,0xa86e,0xa86f,
|
sl@0
|
878 |
0xa870,0xa871,0xa872,0xa873,0xac00,0xd7a3,0xe000,0xf8ff,0xf900,0xf901,
|
sl@0
|
879 |
0xf902,0xf903,0xf904,0xf905,0xf906,0xf907,0xf908,0xf909,0xf90a,0xf90b,
|
sl@0
|
880 |
0xf90c,0xf90d,0xf90e,0xf90f,0xf910,0xf911,0xf912,0xf913,0xf914,0xf915,
|
sl@0
|
881 |
0xf916,0xf917,0xf918,0xf919,0xf91a,0xf91b,0xf91c,0xf91d,0xf91e,0xf91f,
|
sl@0
|
882 |
0xf920,0xf921,0xf922,0xf923,0xf924,0xf925,0xf926,0xf927,0xf928,0xf929,
|
sl@0
|
883 |
0xf92a,0xf92b,0xf92c,0xf92d,0xf92e,0xf92f,0xf930,0xf931,0xf932,0xf933,
|
sl@0
|
884 |
0xf934,0xf935,0xf936,0xf937,0xf938,0xf939,0xf93a,0xf93b,0xf93c,0xf93d,
|
sl@0
|
885 |
0xf93e,0xf93f,0xf940,0xf941,0xf942,0xf943,0xf944,0xf945,0xf946,0xf947,
|
sl@0
|
886 |
0xf948,0xf949,0xf94a,0xf94b,0xf94c,0xf94d,0xf94e,0xf94f,0xf950,0xf951,
|
sl@0
|
887 |
0xf952,0xf953,0xf954,0xf955,0xf956,0xf957,0xf958,0xf959,0xf95a,0xf95b,
|
sl@0
|
888 |
0xf95c,0xf95d,0xf95e,0xf95f,0xf960,0xf961,0xf962,0xf963,0xf964,0xf965,
|
sl@0
|
889 |
0xf966,0xf967,0xf968,0xf969,0xf96a,0xf96b,0xf96c,0xf96d,0xf96e,0xf96f,
|
sl@0
|
890 |
0xf970,0xf971,0xf972,0xf973,0xf974,0xf975,0xf976,0xf977,0xf978,0xf979,
|
sl@0
|
891 |
0xf97a,0xf97b,0xf97c,0xf97d,0xf97e,0xf97f,0xf980,0xf981,0xf982,0xf983,
|
sl@0
|
892 |
0xf984,0xf985,0xf986,0xf987,0xf988,0xf989,0xf98a,0xf98b,0xf98c,0xf98d,
|
sl@0
|
893 |
0xf98e,0xf98f,0xf990,0xf991,0xf992,0xf993,0xf994,0xf995,0xf996,0xf997,
|
sl@0
|
894 |
0xf998,0xf999,0xf99a,0xf99b,0xf99c,0xf99d,0xf99e,0xf99f,0xf9a0,0xf9a1,
|
sl@0
|
895 |
0xf9a2,0xf9a3,0xf9a4,0xf9a5,0xf9a6,0xf9a7,0xf9a8,0xf9a9,0xf9aa,0xf9ab,
|
sl@0
|
896 |
0xf9ac,0xf9ad,0xf9ae,0xf9af,0xf9b0,0xf9b1,0xf9b2,0xf9b3,0xf9b4,0xf9b5,
|
sl@0
|
897 |
0xf9b6,0xf9b7,0xf9b8,0xf9b9,0xf9ba,0xf9bb,0xf9bc,0xf9bd,0xf9be,0xf9bf,
|
sl@0
|
898 |
0xf9c0,0xf9c1,0xf9c2,0xf9c3,0xf9c4,0xf9c5,0xf9c6,0xf9c7,0xf9c8,0xf9c9,
|
sl@0
|
899 |
0xf9ca,0xf9cb,0xf9cc,0xf9cd,0xf9ce,0xf9cf,0xf9d0,0xf9d1,0xf9d2,0xf9d3,
|
sl@0
|
900 |
0xf9d4,0xf9d5,0xf9d6,0xf9d7,0xf9d8,0xf9d9,0xf9da,0xf9db,0xf9dc,0xf9dd,
|
sl@0
|
901 |
0xf9de,0xf9df,0xf9e0,0xf9e1,0xf9e2,0xf9e3,0xf9e4,0xf9e5,0xf9e6,0xf9e7,
|
sl@0
|
902 |
0xf9e8,0xf9e9,0xf9ea,0xf9eb,0xf9ec,0xf9ed,0xf9ee,0xf9ef,0xf9f0,0xf9f1,
|
sl@0
|
903 |
0xf9f2,0xf9f3,0xf9f4,0xf9f5,0xf9f6,0xf9f7,0xf9f8,0xf9f9,0xf9fa,0xf9fb,
|
sl@0
|
904 |
0xf9fc,0xf9fd,0xf9fe,0xf9ff,0xfa00,0xfa01,0xfa02,0xfa03,0xfa04,0xfa05,
|
sl@0
|
905 |
0xfa06,0xfa07,0xfa08,0xfa09,0xfa0a,0xfa0b,0xfa0c,0xfa0d,0xfa0e,0xfa0f,
|
sl@0
|
906 |
0xfa10,0xfa11,0xfa12,0xfa13,0xfa14,0xfa15,0xfa16,0xfa17,0xfa18,0xfa19,
|
sl@0
|
907 |
0xfa1a,0xfa1b,0xfa1c,0xfa1d,0xfa1e,0xfa1f,0xfa20,0xfa21,0xfa22,0xfa23,
|
sl@0
|
908 |
0xfa24,0xfa25,0xfa26,0xfa27,0xfa28,0xfa29,0xfa2a,0xfa2b,0xfa2c,0xfa2d,
|
sl@0
|
909 |
0xfa30,0xfa31,0xfa32,0xfa33,0xfa34,0xfa35,0xfa36,0xfa37,0xfa38,0xfa39,
|
sl@0
|
910 |
0xfa3a,0xfa3b,0xfa3c,0xfa3d,0xfa3e,0xfa3f,0xfa40,0xfa41,0xfa42,0xfa43,
|
sl@0
|
911 |
0xfa44,0xfa45,0xfa46,0xfa47,0xfa48,0xfa49,0xfa4a,0xfa4b,0xfa4c,0xfa4d,
|
sl@0
|
912 |
0xfa4e,0xfa4f,0xfa50,0xfa51,0xfa52,0xfa53,0xfa54,0xfa55,0xfa56,0xfa57,
|
sl@0
|
913 |
0xfa58,0xfa59,0xfa5a,0xfa5b,0xfa5c,0xfa5d,0xfa5e,0xfa5f,0xfa60,0xfa61,
|
sl@0
|
914 |
0xfa62,0xfa63,0xfa64,0xfa65,0xfa66,0xfa67,0xfa68,0xfa69,0xfa6a,0xfa70,
|
sl@0
|
915 |
0xfa71,0xfa72,0xfa73,0xfa74,0xfa75,0xfa76,0xfa77,0xfa78,0xfa79,0xfa7a,
|
sl@0
|
916 |
0xfa7b,0xfa7c,0xfa7d,0xfa7e,0xfa7f,0xfa80,0xfa81,0xfa82,0xfa83,0xfa84,
|
sl@0
|
917 |
0xfa85,0xfa86,0xfa87,0xfa88,0xfa89,0xfa8a,0xfa8b,0xfa8c,0xfa8d,0xfa8e,
|
sl@0
|
918 |
0xfa8f,0xfa90,0xfa91,0xfa92,0xfa93,0xfa94,0xfa95,0xfa96,0xfa97,0xfa98,
|
sl@0
|
919 |
0xfa99,0xfa9a,0xfa9b,0xfa9c,0xfa9d,0xfa9e,0xfa9f,0xfaa0,0xfaa1,0xfaa2,
|
sl@0
|
920 |
0xfaa3,0xfaa4,0xfaa5,0xfaa6,0xfaa7,0xfaa8,0xfaa9,0xfaaa,0xfaab,0xfaac,
|
sl@0
|
921 |
0xfaad,0xfaae,0xfaaf,0xfab0,0xfab1,0xfab2,0xfab3,0xfab4,0xfab5,0xfab6,
|
sl@0
|
922 |
0xfab7,0xfab8,0xfab9,0xfaba,0xfabb,0xfabc,0xfabd,0xfabe,0xfabf,0xfac0,
|
sl@0
|
923 |
0xfac1,0xfac2,0xfac3,0xfac4,0xfac5,0xfac6,0xfac7,0xfac8,0xfac9,0xfaca,
|
sl@0
|
924 |
0xfacb,0xfacc,0xfacd,0xface,0xfacf,0xfad0,0xfad1,0xfad2,0xfad3,0xfad4,
|
sl@0
|
925 |
0xfad5,0xfad6,0xfad7,0xfad8,0xfad9,0xfb00,0xfb01,0xfb02,0xfb03,0xfb04,
|
sl@0
|
926 |
0xfb05,0xfb06,0xfb13,0xfb14,0xfb15,0xfb16,0xfb17,0xff21,0xff22,0xff23,
|
sl@0
|
927 |
0xff24,0xff25,0xff26,0xff27,0xff28,0xff29,0xff2a,0xff2b,0xff2c,0xff2d,
|
sl@0
|
928 |
0xff2e,0xff2f,0xff30,0xff31,0xff32,0xff33,0xff34,0xff35,0xff36,0xff37,
|
sl@0
|
929 |
0xff38,0xff39,0xff3a,0xff41,0xff42,0xff43,0xff44,0xff45,0xff46,0xff47,
|
sl@0
|
930 |
0xff48,0xff49,0xff4a,0xff4b,0xff4c,0xff4d,0xff4e,0xff4f,0xff50,0xff51,
|
sl@0
|
931 |
0xff52,0xff53,0xff54,0xff55,0xff56,0xff57,0xff58,0xff59,0xff5a,0xff66,
|
sl@0
|
932 |
0xff67,0xff68,0xff69,0xff6a,0xff6b,0xff6c,0xff6d,0xff6e,0xff6f,0xff70,
|
sl@0
|
933 |
0xff71,0xff72,0xff73,0xff74,0xff75,0xff76,0xff77,0xff78,0xff79,0xff7a,
|
sl@0
|
934 |
0xff7b,0xff7c,0xff7d,0xff7e,0xff7f,0xff80,0xff81,0xff82,0xff83,0xff84,
|
sl@0
|
935 |
0xff85,0xff86,0xff87,0xff88,0xff89,0xff8a,0xff8b,0xff8c,0xff8d,0xff8e,
|
sl@0
|
936 |
0xff8f,0xff90,0xff91,0xff92,0xff93,0xff94,0xff95,0xff96,0xff97,0xff98,
|
sl@0
|
937 |
0xff99,0xff9a,0xff9b,0xff9c,0xff9d,0xff9e,0xff9f,0xffa0,0xffa1,0xffa2,
|
sl@0
|
938 |
0xffa3,0xffa4,0xffa5,0xffa6,0xffa7,0xffa8,0xffa9,0xffaa,0xffab,0xffac,
|
sl@0
|
939 |
0xffad,0xffae,0xffaf,0xffb0,0xffb1,0xffb2,0xffb3,0xffb4,0xffb5,0xffb6,
|
sl@0
|
940 |
0xffb7,0xffb8,0xffb9,0xffba,0xffbb,0xffbc,0xffbd,0xffbe,0xffc2,0xffc3,
|
sl@0
|
941 |
0xffc4,0xffc5,0xffc6,0xffc7,0xffca,0xffcb,0xffcc,0xffcd,0xffce,0xffcf,
|
sl@0
|
942 |
0xffd2,0xffd3,0xffd4,0xffd5,0xffd6,0xffd7,0xffda,0xffdb,0xffdc,
|
sl@0
|
943 |
0xd800,0xdc00,0xd800,0xdc01,0xd800,0xdc02,0xd800,0xdc03,0xd800,0xdc04,
|
sl@0
|
944 |
0xd800,0xdc05,0xd800,0xdc06,0xd800,0xdc07,0xd800,0xdc08,0xd800,0xdc09,
|
sl@0
|
945 |
0xd800,0xdc0a,0xd800,0xdc0b,0xd800,0xdc0d,0xd800,0xdc0e,0xd800,0xdc0f,
|
sl@0
|
946 |
0xd800,0xdc10,0xd800,0xdc11,0xd800,0xdc12,0xd800,0xdc13,0xd800,0xdc14,
|
sl@0
|
947 |
0xd800,0xdc15,0xd800,0xdc16,0xd800,0xdc17,0xd800,0xdc18,0xd800,0xdc19,
|
sl@0
|
948 |
0xd800,0xdc1a,0xd800,0xdc1b,0xd800,0xdc1c,0xd800,0xdc1d,0xd800,0xdc1e,
|
sl@0
|
949 |
0xd800,0xdc1f,0xd800,0xdc20,0xd800,0xdc21,0xd800,0xdc22,0xd800,0xdc23,
|
sl@0
|
950 |
0xd800,0xdc24,0xd800,0xdc25,0xd800,0xdc26,0xd800,0xdc28,0xd800,0xdc29,
|
sl@0
|
951 |
0xd800,0xdc2a,0xd800,0xdc2b,0xd800,0xdc2c,0xd800,0xdc2d,0xd800,0xdc2e,
|
sl@0
|
952 |
0xd800,0xdc2f,0xd800,0xdc30,0xd800,0xdc31,0xd800,0xdc32,0xd800,0xdc33,
|
sl@0
|
953 |
0xd800,0xdc34,0xd800,0xdc35,0xd800,0xdc36,0xd800,0xdc37,0xd800,0xdc38,
|
sl@0
|
954 |
0xd800,0xdc39,0xd800,0xdc3a,0xd800,0xdc3c,0xd800,0xdc3d,0xd800,0xdc3f,
|
sl@0
|
955 |
0xd800,0xdc40,0xd800,0xdc41,0xd800,0xdc42,0xd800,0xdc43,0xd800,0xdc44,
|
sl@0
|
956 |
0xd800,0xdc45,0xd800,0xdc46,0xd800,0xdc47,0xd800,0xdc48,0xd800,0xdc49,
|
sl@0
|
957 |
0xd800,0xdc4a,0xd800,0xdc4b,0xd800,0xdc4c,0xd800,0xdc4d,0xd800,0xdc50,
|
sl@0
|
958 |
0xd800,0xdc51,0xd800,0xdc52,0xd800,0xdc53,0xd800,0xdc54,0xd800,0xdc55,
|
sl@0
|
959 |
0xd800,0xdc56,0xd800,0xdc57,0xd800,0xdc58,0xd800,0xdc59,0xd800,0xdc5a,
|
sl@0
|
960 |
0xd800,0xdc5b,0xd800,0xdc5c,0xd800,0xdc5d,0xd800,0xdc80,0xd800,0xdc81,
|
sl@0
|
961 |
0xd800,0xdc82,0xd800,0xdc83,0xd800,0xdc84,0xd800,0xdc85,0xd800,0xdc86,
|
sl@0
|
962 |
0xd800,0xdc87,0xd800,0xdc88,0xd800,0xdc89,0xd800,0xdc8a,0xd800,0xdc8b,
|
sl@0
|
963 |
0xd800,0xdc8c,0xd800,0xdc8d,0xd800,0xdc8e,0xd800,0xdc8f,0xd800,0xdc90,
|
sl@0
|
964 |
0xd800,0xdc91,0xd800,0xdc92,0xd800,0xdc93,0xd800,0xdc94,0xd800,0xdc95,
|
sl@0
|
965 |
0xd800,0xdc96,0xd800,0xdc97,0xd800,0xdc98,0xd800,0xdc99,0xd800,0xdc9a,
|
sl@0
|
966 |
0xd800,0xdc9b,0xd800,0xdc9c,0xd800,0xdc9d,0xd800,0xdc9e,0xd800,0xdc9f,
|
sl@0
|
967 |
0xd800,0xdca0,0xd800,0xdca1,0xd800,0xdca2,0xd800,0xdca3,0xd800,0xdca4,
|
sl@0
|
968 |
0xd800,0xdca5,0xd800,0xdca6,0xd800,0xdca7,0xd800,0xdca8,0xd800,0xdca9,
|
sl@0
|
969 |
0xd800,0xdcaa,0xd800,0xdcab,0xd800,0xdcac,0xd800,0xdcad,0xd800,0xdcae,
|
sl@0
|
970 |
0xd800,0xdcaf,0xd800,0xdcb0,0xd800,0xdcb1,0xd800,0xdcb2,0xd800,0xdcb3,
|
sl@0
|
971 |
0xd800,0xdcb4,0xd800,0xdcb5,0xd800,0xdcb6,0xd800,0xdcb7,0xd800,0xdcb8,
|
sl@0
|
972 |
0xd800,0xdcb9,0xd800,0xdcba,0xd800,0xdcbb,0xd800,0xdcbc,0xd800,0xdcbd,
|
sl@0
|
973 |
0xd800,0xdcbe,0xd800,0xdcbf,0xd800,0xdcc0,0xd800,0xdcc1,0xd800,0xdcc2,
|
sl@0
|
974 |
0xd800,0xdcc3,0xd800,0xdcc4,0xd800,0xdcc5,0xd800,0xdcc6,0xd800,0xdcc7,
|
sl@0
|
975 |
0xd800,0xdcc8,0xd800,0xdcc9,0xd800,0xdcca,0xd800,0xdccb,0xd800,0xdccc,
|
sl@0
|
976 |
0xd800,0xdccd,0xd800,0xdcce,0xd800,0xdccf,0xd800,0xdcd0,0xd800,0xdcd1,
|
sl@0
|
977 |
0xd800,0xdcd2,0xd800,0xdcd3,0xd800,0xdcd4,0xd800,0xdcd5,0xd800,0xdcd6,
|
sl@0
|
978 |
0xd800,0xdcd7,0xd800,0xdcd8,0xd800,0xdcd9,0xd800,0xdcda,0xd800,0xdcdb,
|
sl@0
|
979 |
0xd800,0xdcdc,0xd800,0xdcdd,0xd800,0xdcde,0xd800,0xdcdf,0xd800,0xdce0,
|
sl@0
|
980 |
0xd800,0xdce1,0xd800,0xdce2,0xd800,0xdce3,0xd800,0xdce4,0xd800,0xdce5,
|
sl@0
|
981 |
0xd800,0xdce6,0xd800,0xdce7,0xd800,0xdce8,0xd800,0xdce9,0xd800,0xdcea,
|
sl@0
|
982 |
0xd800,0xdceb,0xd800,0xdcec,0xd800,0xdced,0xd800,0xdcee,0xd800,0xdcef,
|
sl@0
|
983 |
0xd800,0xdcf0,0xd800,0xdcf1,0xd800,0xdcf2,0xd800,0xdcf3,0xd800,0xdcf4,
|
sl@0
|
984 |
0xd800,0xdcf5,0xd800,0xdcf6,0xd800,0xdcf7,0xd800,0xdcf8,0xd800,0xdcf9,
|
sl@0
|
985 |
0xd800,0xdcfa,0xd800,0xdd00,0xd800,0xdd02,0xd800,0xdd07,0xd800,0xdd08,
|
sl@0
|
986 |
0xd800,0xdd09,0xd800,0xdd0a,0xd800,0xdd0b,0xd800,0xdd0c,0xd800,0xdd0d,
|
sl@0
|
987 |
0xd800,0xdd0e,0xd800,0xdd0f,0xd800,0xdd10,0xd800,0xdd11,0xd800,0xdd12,
|
sl@0
|
988 |
0xd800,0xdd13,0xd800,0xdd14,0xd800,0xdd15,0xd800,0xdd16,0xd800,0xdd17,
|
sl@0
|
989 |
0xd800,0xdd18,0xd800,0xdd19,0xd800,0xdd1a,0xd800,0xdd1b,0xd800,0xdd1c,
|
sl@0
|
990 |
0xd800,0xdd1d,0xd800,0xdd1e,0xd800,0xdd1f,0xd800,0xdd20,0xd800,0xdd21,
|
sl@0
|
991 |
0xd800,0xdd22,0xd800,0xdd23,0xd800,0xdd24,0xd800,0xdd25,0xd800,0xdd26,
|
sl@0
|
992 |
0xd800,0xdd27,0xd800,0xdd28,0xd800,0xdd29,0xd800,0xdd2a,0xd800,0xdd2b,
|
sl@0
|
993 |
0xd800,0xdd2c,0xd800,0xdd2d,0xd800,0xdd2e,0xd800,0xdd2f,0xd800,0xdd30,
|
sl@0
|
994 |
0xd800,0xdd31,0xd800,0xdd32,0xd800,0xdd33,0xd800,0xdd37,0xd800,0xdd38,
|
sl@0
|
995 |
0xd800,0xdd39,0xd800,0xdd3a,0xd800,0xdd3b,0xd800,0xdd3c,0xd800,0xdd3d,
|
sl@0
|
996 |
0xd800,0xdd3e,0xd800,0xdd3f,0xd800,0xdf00,0xd800,0xdf01,0xd800,0xdf02,
|
sl@0
|
997 |
0xd800,0xdf03,0xd800,0xdf04,0xd800,0xdf05,0xd800,0xdf06,0xd800,0xdf07,
|
sl@0
|
998 |
0xd800,0xdf08,0xd800,0xdf09,0xd800,0xdf0a,0xd800,0xdf0b,0xd800,0xdf0c,
|
sl@0
|
999 |
0xd800,0xdf0d,0xd800,0xdf0e,0xd800,0xdf0f,0xd800,0xdf10,0xd800,0xdf11,
|
sl@0
|
1000 |
0xd800,0xdf12,0xd800,0xdf13,0xd800,0xdf14,0xd800,0xdf15,0xd800,0xdf16,
|
sl@0
|
1001 |
0xd800,0xdf17,0xd800,0xdf18,0xd800,0xdf19,0xd800,0xdf1a,0xd800,0xdf1b,
|
sl@0
|
1002 |
0xd800,0xdf1c,0xd800,0xdf1d,0xd800,0xdf1e,0xd800,0xdf20,0xd800,0xdf21,
|
sl@0
|
1003 |
0xd800,0xdf22,0xd800,0xdf23,0xd800,0xdf30,0xd800,0xdf31,0xd800,0xdf32,
|
sl@0
|
1004 |
0xd800,0xdf33,0xd800,0xdf34,0xd800,0xdf35,0xd800,0xdf36,0xd800,0xdf37,
|
sl@0
|
1005 |
0xd800,0xdf38,0xd800,0xdf39,0xd800,0xdf3a,0xd800,0xdf3b,0xd800,0xdf3c,
|
sl@0
|
1006 |
0xd800,0xdf3d,0xd800,0xdf3e,0xd800,0xdf3f,0xd800,0xdf40,0xd800,0xdf41,
|
sl@0
|
1007 |
0xd800,0xdf42,0xd800,0xdf43,0xd800,0xdf44,0xd800,0xdf45,0xd800,0xdf46,
|
sl@0
|
1008 |
0xd800,0xdf47,0xd800,0xdf48,0xd800,0xdf49,0xd800,0xdf4a,0xd800,0xdf80,
|
sl@0
|
1009 |
0xd800,0xdf81,0xd800,0xdf82,0xd800,0xdf83,0xd800,0xdf84,0xd800,0xdf85,
|
sl@0
|
1010 |
0xd800,0xdf86,0xd800,0xdf87,0xd800,0xdf88,0xd800,0xdf89,0xd800,0xdf8a,
|
sl@0
|
1011 |
0xd800,0xdf8b,0xd800,0xdf8c,0xd800,0xdf8d,0xd800,0xdf8e,0xd800,0xdf8f,
|
sl@0
|
1012 |
0xd800,0xdf90,0xd800,0xdf91,0xd800,0xdf92,0xd800,0xdf93,0xd800,0xdf94,
|
sl@0
|
1013 |
0xd800,0xdf95,0xd800,0xdf96,0xd800,0xdf97,0xd800,0xdf98,0xd800,0xdf99,
|
sl@0
|
1014 |
0xd800,0xdf9a,0xd800,0xdf9b,0xd800,0xdf9c,0xd800,0xdf9d,0xd800,0xdf9f,
|
sl@0
|
1015 |
0xd800,0xdfa0,0xd800,0xdfa1,0xd800,0xdfa2,0xd800,0xdfa3,0xd800,0xdfa4,
|
sl@0
|
1016 |
0xd800,0xdfa5,0xd800,0xdfa6,0xd800,0xdfa7,0xd800,0xdfa8,0xd800,0xdfa9,
|
sl@0
|
1017 |
0xd800,0xdfaa,0xd800,0xdfab,0xd800,0xdfac,0xd800,0xdfad,0xd800,0xdfae,
|
sl@0
|
1018 |
0xd800,0xdfaf,0xd800,0xdfb0,0xd800,0xdfb1,0xd800,0xdfb2,0xd800,0xdfb3,
|
sl@0
|
1019 |
0xd800,0xdfb4,0xd800,0xdfb5,0xd800,0xdfb6,0xd800,0xdfb7,0xd800,0xdfb8,
|
sl@0
|
1020 |
0xd800,0xdfb9,0xd800,0xdfba,0xd800,0xdfbb,0xd800,0xdfbc,0xd800,0xdfbd,
|
sl@0
|
1021 |
0xd800,0xdfbe,0xd800,0xdfbf,0xd800,0xdfc0,0xd800,0xdfc1,0xd800,0xdfc2,
|
sl@0
|
1022 |
0xd800,0xdfc3,0xd800,0xdfc8,0xd800,0xdfc9,0xd800,0xdfca,0xd800,0xdfcb,
|
sl@0
|
1023 |
0xd800,0xdfcc,0xd800,0xdfcd,0xd800,0xdfce,0xd800,0xdfcf,0xd800,0xdfd0,
|
sl@0
|
1024 |
0xd800,0xdfd1,0xd800,0xdfd2,0xd800,0xdfd3,0xd800,0xdfd4,0xd800,0xdfd5,
|
sl@0
|
1025 |
0xd801,0xdc00,0xd801,0xdc01,0xd801,0xdc02,0xd801,0xdc03,0xd801,0xdc04,
|
sl@0
|
1026 |
0xd801,0xdc05,0xd801,0xdc06,0xd801,0xdc07,0xd801,0xdc08,0xd801,0xdc09,
|
sl@0
|
1027 |
0xd801,0xdc0a,0xd801,0xdc0b,0xd801,0xdc0c,0xd801,0xdc0d,0xd801,0xdc0e,
|
sl@0
|
1028 |
0xd801,0xdc0f,0xd801,0xdc10,0xd801,0xdc11,0xd801,0xdc12,0xd801,0xdc13,
|
sl@0
|
1029 |
0xd801,0xdc14,0xd801,0xdc15,0xd801,0xdc16,0xd801,0xdc17,0xd801,0xdc18,
|
sl@0
|
1030 |
0xd801,0xdc19,0xd801,0xdc1a,0xd801,0xdc1b,0xd801,0xdc1c,0xd801,0xdc1d,
|
sl@0
|
1031 |
0xd801,0xdc1e,0xd801,0xdc1f,0xd801,0xdc20,0xd801,0xdc21,0xd801,0xdc22,
|
sl@0
|
1032 |
0xd801,0xdc23,0xd801,0xdc24,0xd801,0xdc25,0xd801,0xdc26,0xd801,0xdc27,
|
sl@0
|
1033 |
0xd801,0xdc28,0xd801,0xdc29,0xd801,0xdc2a,0xd801,0xdc2b,0xd801,0xdc2c,
|
sl@0
|
1034 |
0xd801,0xdc2d,0xd801,0xdc2e,0xd801,0xdc2f,0xd801,0xdc30,0xd801,0xdc31,
|
sl@0
|
1035 |
0xd801,0xdc32,0xd801,0xdc33,0xd801,0xdc34,0xd801,0xdc35,0xd801,0xdc36,
|
sl@0
|
1036 |
0xd801,0xdc37,0xd801,0xdc38,0xd801,0xdc39,0xd801,0xdc3a,0xd801,0xdc3b,
|
sl@0
|
1037 |
0xd801,0xdc3c,0xd801,0xdc3d,0xd801,0xdc3e,0xd801,0xdc3f,0xd801,0xdc40,
|
sl@0
|
1038 |
0xd801,0xdc41,0xd801,0xdc42,0xd801,0xdc43,0xd801,0xdc44,0xd801,0xdc45,
|
sl@0
|
1039 |
0xd801,0xdc46,0xd801,0xdc47,0xd801,0xdc48,0xd801,0xdc49,0xd801,0xdc4a,
|
sl@0
|
1040 |
0xd801,0xdc4b,0xd801,0xdc4c,0xd801,0xdc4d,0xd801,0xdc4e,0xd801,0xdc4f,
|
sl@0
|
1041 |
0xd801,0xdc50,0xd801,0xdc51,0xd801,0xdc52,0xd801,0xdc53,0xd801,0xdc54,
|
sl@0
|
1042 |
0xd801,0xdc55,0xd801,0xdc56,0xd801,0xdc57,0xd801,0xdc58,0xd801,0xdc59,
|
sl@0
|
1043 |
0xd801,0xdc5a,0xd801,0xdc5b,0xd801,0xdc5c,0xd801,0xdc5d,0xd801,0xdc5e,
|
sl@0
|
1044 |
0xd801,0xdc5f,0xd801,0xdc60,0xd801,0xdc61,0xd801,0xdc62,0xd801,0xdc63,
|
sl@0
|
1045 |
0xd801,0xdc64,0xd801,0xdc65,0xd801,0xdc66,0xd801,0xdc67,0xd801,0xdc68,
|
sl@0
|
1046 |
0xd801,0xdc69,0xd801,0xdc6a,0xd801,0xdc6b,0xd801,0xdc6c,0xd801,0xdc6d,
|
sl@0
|
1047 |
0xd801,0xdc6e,0xd801,0xdc6f,0xd801,0xdc70,0xd801,0xdc71,0xd801,0xdc72,
|
sl@0
|
1048 |
0xd801,0xdc73,0xd801,0xdc74,0xd801,0xdc75,0xd801,0xdc76,0xd801,0xdc77,
|
sl@0
|
1049 |
0xd801,0xdc78,0xd801,0xdc79,0xd801,0xdc7a,0xd801,0xdc7b,0xd801,0xdc7c,
|
sl@0
|
1050 |
0xd801,0xdc7d,0xd801,0xdc7e,0xd801,0xdc7f,0xd801,0xdc80,0xd801,0xdc81,
|
sl@0
|
1051 |
0xd801,0xdc82,0xd801,0xdc83,0xd801,0xdc84,0xd801,0xdc85,0xd801,0xdc86,
|
sl@0
|
1052 |
0xd801,0xdc87,0xd801,0xdc88,0xd801,0xdc89,0xd801,0xdc8a,0xd801,0xdc8b,
|
sl@0
|
1053 |
0xd801,0xdc8c,0xd801,0xdc8d,0xd801,0xdc8e,0xd801,0xdc8f,0xd801,0xdc90,
|
sl@0
|
1054 |
0xd801,0xdc91,0xd801,0xdc92,0xd801,0xdc93,0xd801,0xdc94,0xd801,0xdc95,
|
sl@0
|
1055 |
0xd801,0xdc96,0xd801,0xdc97,0xd801,0xdc98,0xd801,0xdc99,0xd801,0xdc9a,
|
sl@0
|
1056 |
0xd801,0xdc9b,0xd801,0xdc9c,0xd801,0xdc9d,0xd801,0xdca0,0xd801,0xdca1,
|
sl@0
|
1057 |
0xd801,0xdca2,0xd801,0xdca3,0xd801,0xdca4,0xd801,0xdca5,0xd801,0xdca6,
|
sl@0
|
1058 |
0xd801,0xdca7,0xd801,0xdca8,0xd801,0xdca9,0xd808,0xdc00,0xd808,0xdc01,
|
sl@0
|
1059 |
0xd808,0xdc02,0xd808,0xdc03,0xd808,0xdc04,0xd808,0xdc05,0xd808,0xdc06,
|
sl@0
|
1060 |
0xd808,0xdc07,0xd808,0xdc08,0xd808,0xdc09,0xd808,0xdc0a,0xd808,0xdc0b,
|
sl@0
|
1061 |
0xd808,0xdc0c,0xd808,0xdc0d,0xd808,0xdc0e,0xd808,0xdc0f,0xd808,0xdc10,
|
sl@0
|
1062 |
0xd808,0xdc11,0xd808,0xdc12,0xd808,0xdc13,0xd808,0xdc14,0xd808,0xdc15,
|
sl@0
|
1063 |
0xd808,0xdc16,0xd808,0xdc17,0xd808,0xdc18,0xd808,0xdc19,0xd808,0xdc1a,
|
sl@0
|
1064 |
0xd808,0xdc1b,0xd808,0xdc1c,0xd808,0xdc1d,0xd808,0xdc1e,0xd808,0xdc1f,
|
sl@0
|
1065 |
0xd808,0xdc20,0xd808,0xdc21,0xd808,0xdc22,0xd808,0xdc23,0xd808,0xdc24,
|
sl@0
|
1066 |
0xd808,0xdc25,0xd808,0xdc26,0xd808,0xdc27,0xd808,0xdc28,0xd808,0xdc29,
|
sl@0
|
1067 |
0xd808,0xdc2a,0xd808,0xdc2b,0xd808,0xdc2c,0xd808,0xdc2d,0xd808,0xdc2e,
|
sl@0
|
1068 |
0xd808,0xdc2f,0xd808,0xdc30,0xd808,0xdc31,0xd808,0xdc32,0xd808,0xdc33,
|
sl@0
|
1069 |
0xd808,0xdc34,0xd808,0xdc35,0xd808,0xdc36,0xd808,0xdc37,0xd808,0xdc38,
|
sl@0
|
1070 |
0xd808,0xdc39,0xd808,0xdc3a,0xd808,0xdc3b,0xd808,0xdc3c,0xd808,0xdc3d,
|
sl@0
|
1071 |
0xd808,0xdc3e,0xd808,0xdc3f,0xd808,0xdc40,0xd808,0xdc41,0xd808,0xdc42,
|
sl@0
|
1072 |
0xd808,0xdc43,0xd808,0xdc44,0xd808,0xdc45,0xd808,0xdc46,0xd808,0xdc47,
|
sl@0
|
1073 |
0xd808,0xdc48,0xd808,0xdc49,0xd808,0xdc4a,0xd808,0xdc4b,0xd808,0xdc4c,
|
sl@0
|
1074 |
0xd808,0xdc4d,0xd808,0xdc4e,0xd808,0xdc4f,0xd808,0xdc50,0xd808,0xdc51,
|
sl@0
|
1075 |
0xd808,0xdc52,0xd808,0xdc53,0xd808,0xdc54,0xd808,0xdc55,0xd808,0xdc56,
|
sl@0
|
1076 |
0xd808,0xdc57,0xd808,0xdc58,0xd808,0xdc59,0xd808,0xdc5a,0xd808,0xdc5b,
|
sl@0
|
1077 |
0xd808,0xdc5c,0xd808,0xdc5d,0xd808,0xdc5e,0xd808,0xdc5f,0xd808,0xdc60,
|
sl@0
|
1078 |
0xd808,0xdc61,0xd808,0xdc62,0xd808,0xdc63,0xd808,0xdc64,0xd808,0xdc65,
|
sl@0
|
1079 |
0xd808,0xdc66,0xd808,0xdc67,0xd808,0xdc68,0xd808,0xdc69,0xd808,0xdc6a,
|
sl@0
|
1080 |
0xd808,0xdc6b,0xd808,0xdc6c,0xd808,0xdc6d,0xd808,0xdc6e,0xd808,0xdc6f,
|
sl@0
|
1081 |
0xd808,0xdc70,0xd808,0xdc71,0xd808,0xdc72,0xd808,0xdc73,0xd808,0xdc74,
|
sl@0
|
1082 |
0xd808,0xdc75,0xd808,0xdc76,0xd808,0xdc77,0xd808,0xdc78,0xd808,0xdc79,
|
sl@0
|
1083 |
0xd808,0xdc7a,0xd808,0xdc7b,0xd808,0xdc7c,0xd808,0xdc7d,0xd808,0xdc7e,
|
sl@0
|
1084 |
0xd808,0xdc7f,0xd808,0xdc80,0xd808,0xdc81,0xd808,0xdc82,0xd808,0xdc83,
|
sl@0
|
1085 |
0xd808,0xdc84,0xd808,0xdc85,0xd808,0xdc86,0xd808,0xdc87,0xd808,0xdc88,
|
sl@0
|
1086 |
0xd808,0xdc89,0xd808,0xdc8a,0xd808,0xdc8b,0xd808,0xdc8c,0xd808,0xdc8d,
|
sl@0
|
1087 |
0xd808,0xdc8e,0xd808,0xdc8f,0xd808,0xdc90,0xd808,0xdc91,0xd808,0xdc92,
|
sl@0
|
1088 |
0xd808,0xdc93,0xd808,0xdc94,0xd808,0xdc95,0xd808,0xdc96,0xd808,0xdc97,
|
sl@0
|
1089 |
0xd808,0xdc98,0xd808,0xdc99,0xd808,0xdc9a,0xd808,0xdc9b,0xd808,0xdc9c,
|
sl@0
|
1090 |
0xd808,0xdc9d,0xd808,0xdc9e,0xd808,0xdc9f,0xd808,0xdca0,0xd808,0xdca1,
|
sl@0
|
1091 |
0xd808,0xdca2,0xd808,0xdca3,0xd808,0xdca4,0xd808,0xdca5,0xd808,0xdca6,
|
sl@0
|
1092 |
0xd808,0xdca7,0xd808,0xdca8,0xd808,0xdca9,0xd808,0xdcaa,0xd808,0xdcab,
|
sl@0
|
1093 |
0xd808,0xdcac,0xd808,0xdcad,0xd808,0xdcae,0xd808,0xdcaf,0xd808,0xdcb0,
|
sl@0
|
1094 |
0xd808,0xdcb1,0xd808,0xdcb2,0xd808,0xdcb3,0xd808,0xdcb4,0xd808,0xdcb5,
|
sl@0
|
1095 |
0xd808,0xdcb6,0xd808,0xdcb7,0xd808,0xdcb8,0xd808,0xdcb9,0xd808,0xdcba,
|
sl@0
|
1096 |
0xd808,0xdcbb,0xd808,0xdcbc,0xd808,0xdcbd,0xd808,0xdcbe,0xd808,0xdcbf,
|
sl@0
|
1097 |
0xd808,0xdcc0,0xd808,0xdcc1,0xd808,0xdcc2,0xd808,0xdcc3,0xd808,0xdcc4,
|
sl@0
|
1098 |
0xd808,0xdcc5,0xd808,0xdcc6,0xd808,0xdcc7,0xd808,0xdcc8,0xd808,0xdcc9,
|
sl@0
|
1099 |
0xd808,0xdcca,0xd808,0xdccb,0xd808,0xdccc,0xd808,0xdccd,0xd808,0xdcce,
|
sl@0
|
1100 |
0xd808,0xdccf,0xd808,0xdcd0,0xd808,0xdcd1,0xd808,0xdcd2,0xd808,0xdcd3,
|
sl@0
|
1101 |
0xd808,0xdcd4,0xd808,0xdcd5,0xd808,0xdcd6,0xd808,0xdcd7,0xd808,0xdcd8,
|
sl@0
|
1102 |
0xd808,0xdcd9,0xd808,0xdcda,0xd808,0xdcdb,0xd808,0xdcdc,0xd808,0xdcdd,
|
sl@0
|
1103 |
0xd808,0xdcde,0xd808,0xdcdf,0xd808,0xdce0,0xd808,0xdce1,0xd808,0xdce2,
|
sl@0
|
1104 |
0xd808,0xdce3,0xd808,0xdce4,0xd808,0xdce5,0xd808,0xdce6,0xd808,0xdce7,
|
sl@0
|
1105 |
0xd808,0xdce8,0xd808,0xdce9,0xd808,0xdcea,0xd808,0xdceb,0xd808,0xdcec,
|
sl@0
|
1106 |
0xd808,0xdced,0xd808,0xdcee,0xd808,0xdcef,0xd808,0xdcf0,0xd808,0xdcf1,
|
sl@0
|
1107 |
0xd808,0xdcf2,0xd808,0xdcf3,0xd808,0xdcf4,0xd808,0xdcf5,0xd808,0xdcf6,
|
sl@0
|
1108 |
0xd808,0xdcf7,0xd808,0xdcf8,0xd808,0xdcf9,0xd808,0xdcfa,0xd808,0xdcfb,
|
sl@0
|
1109 |
0xd808,0xdcfc,0xd808,0xdcfd,0xd808,0xdcfe,0xd808,0xdcff,0xd808,0xdd00,
|
sl@0
|
1110 |
0xd808,0xdd01,0xd808,0xdd02,0xd808,0xdd03,0xd808,0xdd04,0xd808,0xdd05,
|
sl@0
|
1111 |
0xd808,0xdd06,0xd808,0xdd07,0xd808,0xdd08,0xd808,0xdd09,0xd808,0xdd0a,
|
sl@0
|
1112 |
0xd808,0xdd0b,0xd808,0xdd0c,0xd808,0xdd0d,0xd808,0xdd0e,0xd808,0xdd0f,
|
sl@0
|
1113 |
0xd808,0xdd10,0xd808,0xdd11,0xd808,0xdd12,0xd808,0xdd13,0xd808,0xdd14,
|
sl@0
|
1114 |
0xd808,0xdd15,0xd808,0xdd16,0xd808,0xdd17,0xd808,0xdd18,0xd808,0xdd19,
|
sl@0
|
1115 |
0xd808,0xdd1a,0xd808,0xdd1b,0xd808,0xdd1c,0xd808,0xdd1d,0xd808,0xdd1e,
|
sl@0
|
1116 |
0xd808,0xdd1f,0xd808,0xdd20,0xd808,0xdd21,0xd808,0xdd22,0xd808,0xdd23,
|
sl@0
|
1117 |
0xd808,0xdd24,0xd808,0xdd25,0xd808,0xdd26,0xd808,0xdd27,0xd808,0xdd28,
|
sl@0
|
1118 |
0xd808,0xdd29,0xd808,0xdd2a,0xd808,0xdd2b,0xd808,0xdd2c,0xd808,0xdd2d,
|
sl@0
|
1119 |
0xd808,0xdd2e,0xd808,0xdd2f,0xd808,0xdd30,0xd808,0xdd31,0xd808,0xdd32,
|
sl@0
|
1120 |
0xd808,0xdd33,0xd808,0xdd34,0xd808,0xdd35,0xd808,0xdd36,0xd808,0xdd37,
|
sl@0
|
1121 |
0xd808,0xdd38,0xd808,0xdd39,0xd808,0xdd3a,0xd808,0xdd3b,0xd808,0xdd3c,
|
sl@0
|
1122 |
0xd808,0xdd3d,0xd808,0xdd3e,0xd808,0xdd3f,0xd808,0xdd40,0xd808,0xdd41,
|
sl@0
|
1123 |
0xd808,0xdd42,0xd808,0xdd43,0xd808,0xdd44,0xd808,0xdd45,0xd808,0xdd46,
|
sl@0
|
1124 |
0xd808,0xdd47,0xd808,0xdd48,0xd808,0xdd49,0xd808,0xdd4a,0xd808,0xdd4b,
|
sl@0
|
1125 |
0xd808,0xdd4c,0xd808,0xdd4d,0xd808,0xdd4e,0xd808,0xdd4f,0xd808,0xdd50,
|
sl@0
|
1126 |
0xd808,0xdd51,0xd808,0xdd52,0xd808,0xdd53,0xd808,0xdd54,0xd808,0xdd55,
|
sl@0
|
1127 |
0xd808,0xdd56,0xd808,0xdd57,0xd808,0xdd58,0xd808,0xdd59,0xd808,0xdd5a,
|
sl@0
|
1128 |
0xd808,0xdd5b,0xd808,0xdd5c,0xd808,0xdd5d,0xd808,0xdd5e,0xd808,0xdd5f,
|
sl@0
|
1129 |
0xd808,0xdd60,0xd808,0xdd61,0xd808,0xdd62,0xd808,0xdd63,0xd808,0xdd64,
|
sl@0
|
1130 |
0xd808,0xdd65,0xd808,0xdd66,0xd808,0xdd67,0xd808,0xdd68,0xd808,0xdd69,
|
sl@0
|
1131 |
0xd808,0xdd6a,0xd808,0xdd6b,0xd808,0xdd6c,0xd808,0xdd6d,0xd808,0xdd6e,
|
sl@0
|
1132 |
0xd808,0xdd6f,0xd808,0xdd70,0xd808,0xdd71,0xd808,0xdd72,0xd808,0xdd73,
|
sl@0
|
1133 |
0xd808,0xdd74,0xd808,0xdd75,0xd808,0xdd76,0xd808,0xdd77,0xd808,0xdd78,
|
sl@0
|
1134 |
0xd808,0xdd79,0xd808,0xdd7a,0xd808,0xdd7b,0xd808,0xdd7c,0xd808,0xdd7d,
|
sl@0
|
1135 |
0xd808,0xdd7e,0xd808,0xdd7f,0xd808,0xdd80,0xd808,0xdd81,0xd808,0xdd82,
|
sl@0
|
1136 |
0xd808,0xdd83,0xd808,0xdd84,0xd808,0xdd85,0xd808,0xdd86,0xd808,0xdd87,
|
sl@0
|
1137 |
0xd808,0xdd88,0xd808,0xdd89,0xd808,0xdd8a,0xd808,0xdd8b,0xd808,0xdd8c,
|
sl@0
|
1138 |
0xd808,0xdd8d,0xd808,0xdd8e,0xd808,0xdd8f,0xd808,0xdd90,0xd808,0xdd91,
|
sl@0
|
1139 |
0xd808,0xdd92,0xd808,0xdd93,0xd808,0xdd94,0xd808,0xdd95,0xd808,0xdd96,
|
sl@0
|
1140 |
0xd808,0xdd97,0xd808,0xdd98,0xd808,0xdd99,0xd808,0xdd9a,0xd808,0xdd9b,
|
sl@0
|
1141 |
0xd808,0xdd9c,0xd808,0xdd9d,0xd808,0xdd9e,0xd808,0xdd9f,0xd808,0xdda0,
|
sl@0
|
1142 |
0xd808,0xdda1,0xd808,0xdda2,0xd808,0xdda3,0xd808,0xdda4,0xd808,0xdda5,
|
sl@0
|
1143 |
0xd808,0xdda6,0xd808,0xdda7,0xd808,0xdda8,0xd808,0xdda9,0xd808,0xddaa,
|
sl@0
|
1144 |
0xd808,0xddab,0xd808,0xddac,0xd808,0xddad,0xd808,0xddae,0xd808,0xddaf,
|
sl@0
|
1145 |
0xd808,0xddb0,0xd808,0xddb1,0xd808,0xddb2,0xd808,0xddb3,0xd808,0xddb4,
|
sl@0
|
1146 |
0xd808,0xddb5,0xd808,0xddb6,0xd808,0xddb7,0xd808,0xddb8,0xd808,0xddb9,
|
sl@0
|
1147 |
0xd808,0xddba,0xd808,0xddbb,0xd808,0xddbc,0xd808,0xddbd,0xd808,0xddbe,
|
sl@0
|
1148 |
0xd808,0xddbf,0xd808,0xddc0,0xd808,0xddc1,0xd808,0xddc2,0xd808,0xddc3,
|
sl@0
|
1149 |
0xd808,0xddc4,0xd808,0xddc5,0xd808,0xddc6,0xd808,0xddc7,0xd808,0xddc8,
|
sl@0
|
1150 |
0xd808,0xddc9,0xd808,0xddca,0xd808,0xddcb,0xd808,0xddcc,0xd808,0xddcd,
|
sl@0
|
1151 |
0xd808,0xddce,0xd808,0xddcf,0xd808,0xddd0,0xd808,0xddd1,0xd808,0xddd2,
|
sl@0
|
1152 |
0xd808,0xddd3,0xd808,0xddd4,0xd808,0xddd5,0xd808,0xddd6,0xd808,0xddd7,
|
sl@0
|
1153 |
0xd808,0xddd8,0xd808,0xddd9,0xd808,0xddda,0xd808,0xdddb,0xd808,0xdddc,
|
sl@0
|
1154 |
0xd808,0xdddd,0xd808,0xddde,0xd808,0xdddf,0xd808,0xdde0,0xd808,0xdde1,
|
sl@0
|
1155 |
0xd808,0xdde2,0xd808,0xdde3,0xd808,0xdde4,0xd808,0xdde5,0xd808,0xdde6,
|
sl@0
|
1156 |
0xd808,0xdde7,0xd808,0xdde8,0xd808,0xdde9,0xd808,0xddea,0xd808,0xddeb,
|
sl@0
|
1157 |
0xd808,0xddec,0xd808,0xdded,0xd808,0xddee,0xd808,0xddef,0xd808,0xddf0,
|
sl@0
|
1158 |
0xd808,0xddf1,0xd808,0xddf2,0xd808,0xddf3,0xd808,0xddf4,0xd808,0xddf5,
|
sl@0
|
1159 |
0xd808,0xddf6,0xd808,0xddf7,0xd808,0xddf8,0xd808,0xddf9,0xd808,0xddfa,
|
sl@0
|
1160 |
0xd808,0xddfb,0xd808,0xddfc,0xd808,0xddfd,0xd808,0xddfe,0xd808,0xddff,
|
sl@0
|
1161 |
0xd808,0xde00,0xd808,0xde01,0xd808,0xde02,0xd808,0xde03,0xd808,0xde04,
|
sl@0
|
1162 |
0xd808,0xde05,0xd808,0xde06,0xd808,0xde07,0xd808,0xde08,0xd808,0xde09,
|
sl@0
|
1163 |
0xd808,0xde0a,0xd808,0xde0b,0xd808,0xde0c,0xd808,0xde0d,0xd808,0xde0e,
|
sl@0
|
1164 |
0xd808,0xde0f,0xd808,0xde10,0xd808,0xde11,0xd808,0xde12,0xd808,0xde13,
|
sl@0
|
1165 |
0xd808,0xde14,0xd808,0xde15,0xd808,0xde16,0xd808,0xde17,0xd808,0xde18,
|
sl@0
|
1166 |
0xd808,0xde19,0xd808,0xde1a,0xd808,0xde1b,0xd808,0xde1c,0xd808,0xde1d,
|
sl@0
|
1167 |
0xd808,0xde1e,0xd808,0xde1f,0xd808,0xde20,0xd808,0xde21,0xd808,0xde22,
|
sl@0
|
1168 |
0xd808,0xde23,0xd808,0xde24,0xd808,0xde25,0xd808,0xde26,0xd808,0xde27,
|
sl@0
|
1169 |
0xd808,0xde28,0xd808,0xde29,0xd808,0xde2a,0xd808,0xde2b,0xd808,0xde2c,
|
sl@0
|
1170 |
0xd808,0xde2d,0xd808,0xde2e,0xd808,0xde2f,0xd808,0xde30,0xd808,0xde31,
|
sl@0
|
1171 |
0xd808,0xde32,0xd808,0xde33,0xd808,0xde34,0xd808,0xde35,0xd808,0xde36,
|
sl@0
|
1172 |
0xd808,0xde37,0xd808,0xde38,0xd808,0xde39,0xd808,0xde3a,0xd808,0xde3b,
|
sl@0
|
1173 |
0xd808,0xde3c,0xd808,0xde3d,0xd808,0xde3e,0xd808,0xde3f,0xd808,0xde40,
|
sl@0
|
1174 |
0xd808,0xde41,0xd808,0xde42,0xd808,0xde43,0xd808,0xde44,0xd808,0xde45,
|
sl@0
|
1175 |
0xd808,0xde46,0xd808,0xde47,0xd808,0xde48,0xd808,0xde49,0xd808,0xde4a,
|
sl@0
|
1176 |
0xd808,0xde4b,0xd808,0xde4c,0xd808,0xde4d,0xd808,0xde4e,0xd808,0xde4f,
|
sl@0
|
1177 |
0xd808,0xde50,0xd808,0xde51,0xd808,0xde52,0xd808,0xde53,0xd808,0xde54,
|
sl@0
|
1178 |
0xd808,0xde55,0xd808,0xde56,0xd808,0xde57,0xd808,0xde58,0xd808,0xde59,
|
sl@0
|
1179 |
0xd808,0xde5a,0xd808,0xde5b,0xd808,0xde5c,0xd808,0xde5d,0xd808,0xde5e,
|
sl@0
|
1180 |
0xd808,0xde5f,0xd808,0xde60,0xd808,0xde61,0xd808,0xde62,0xd808,0xde63,
|
sl@0
|
1181 |
0xd808,0xde64,0xd808,0xde65,0xd808,0xde66,0xd808,0xde67,0xd808,0xde68,
|
sl@0
|
1182 |
0xd808,0xde69,0xd808,0xde6a,0xd808,0xde6b,0xd808,0xde6c,0xd808,0xde6d,
|
sl@0
|
1183 |
0xd808,0xde6e,0xd808,0xde6f,0xd808,0xde70,0xd808,0xde71,0xd808,0xde72,
|
sl@0
|
1184 |
0xd808,0xde73,0xd808,0xde74,0xd808,0xde75,0xd808,0xde76,0xd808,0xde77,
|
sl@0
|
1185 |
0xd808,0xde78,0xd808,0xde79,0xd808,0xde7a,0xd808,0xde7b,0xd808,0xde7c,
|
sl@0
|
1186 |
0xd808,0xde7d,0xd808,0xde7e,0xd808,0xde7f,0xd808,0xde80,0xd808,0xde81,
|
sl@0
|
1187 |
0xd808,0xde82,0xd808,0xde83,0xd808,0xde84,0xd808,0xde85,0xd808,0xde86,
|
sl@0
|
1188 |
0xd808,0xde87,0xd808,0xde88,0xd808,0xde89,0xd808,0xde8a,0xd808,0xde8b,
|
sl@0
|
1189 |
0xd808,0xde8c,0xd808,0xde8d,0xd808,0xde8e,0xd808,0xde8f,0xd808,0xde90,
|
sl@0
|
1190 |
0xd808,0xde91,0xd808,0xde92,0xd808,0xde93,0xd808,0xde94,0xd808,0xde95,
|
sl@0
|
1191 |
0xd808,0xde96,0xd808,0xde97,0xd808,0xde98,0xd808,0xde99,0xd808,0xde9a,
|
sl@0
|
1192 |
0xd808,0xde9b,0xd808,0xde9c,0xd808,0xde9d,0xd808,0xde9e,0xd808,0xde9f,
|
sl@0
|
1193 |
0xd808,0xdea0,0xd808,0xdea1,0xd808,0xdea2,0xd808,0xdea3,0xd808,0xdea4,
|
sl@0
|
1194 |
0xd808,0xdea5,0xd808,0xdea6,0xd808,0xdea7,0xd808,0xdea8,0xd808,0xdea9,
|
sl@0
|
1195 |
0xd808,0xdeaa,0xd808,0xdeab,0xd808,0xdeac,0xd808,0xdead,0xd808,0xdeae,
|
sl@0
|
1196 |
0xd808,0xdeaf,0xd808,0xdeb0,0xd808,0xdeb1,0xd808,0xdeb2,0xd808,0xdeb3,
|
sl@0
|
1197 |
0xd808,0xdeb4,0xd808,0xdeb5,0xd808,0xdeb6,0xd808,0xdeb7,0xd808,0xdeb8,
|
sl@0
|
1198 |
0xd808,0xdeb9,0xd808,0xdeba,0xd808,0xdebb,0xd808,0xdebc,0xd808,0xdebd,
|
sl@0
|
1199 |
0xd808,0xdebe,0xd808,0xdebf,0xd808,0xdec0,0xd808,0xdec1,0xd808,0xdec2,
|
sl@0
|
1200 |
0xd808,0xdec3,0xd808,0xdec4,0xd808,0xdec5,0xd808,0xdec6,0xd808,0xdec7,
|
sl@0
|
1201 |
0xd808,0xdec8,0xd808,0xdec9,0xd808,0xdeca,0xd808,0xdecb,0xd808,0xdecc,
|
sl@0
|
1202 |
0xd808,0xdecd,0xd808,0xdece,0xd808,0xdecf,0xd808,0xded0,0xd808,0xded1,
|
sl@0
|
1203 |
0xd808,0xded2,0xd808,0xded3,0xd808,0xded4,0xd808,0xded5,0xd808,0xded6,
|
sl@0
|
1204 |
0xd808,0xded7,0xd808,0xded8,0xd808,0xded9,0xd808,0xdeda,0xd808,0xdedb,
|
sl@0
|
1205 |
0xd808,0xdedc,0xd808,0xdedd,0xd808,0xdede,0xd808,0xdedf,0xd808,0xdee0,
|
sl@0
|
1206 |
0xd808,0xdee1,0xd808,0xdee2,0xd808,0xdee3,0xd808,0xdee4,0xd808,0xdee5,
|
sl@0
|
1207 |
0xd808,0xdee6,0xd808,0xdee7,0xd808,0xdee8,0xd808,0xdee9,0xd808,0xdeea,
|
sl@0
|
1208 |
0xd808,0xdeeb,0xd808,0xdeec,0xd808,0xdeed,0xd808,0xdeee,0xd808,0xdeef,
|
sl@0
|
1209 |
0xd808,0xdef0,0xd808,0xdef1,0xd808,0xdef2,0xd808,0xdef3,0xd808,0xdef4,
|
sl@0
|
1210 |
0xd808,0xdef5,0xd808,0xdef6,0xd808,0xdef7,0xd808,0xdef8,0xd808,0xdef9,
|
sl@0
|
1211 |
0xd808,0xdefa,0xd808,0xdefb,0xd808,0xdefc,0xd808,0xdefd,0xd808,0xdefe,
|
sl@0
|
1212 |
0xd808,0xdeff,0xd808,0xdf00,0xd808,0xdf01,0xd808,0xdf02,0xd808,0xdf03,
|
sl@0
|
1213 |
0xd808,0xdf04,0xd808,0xdf05,0xd808,0xdf06,0xd808,0xdf07,0xd808,0xdf08,
|
sl@0
|
1214 |
0xd808,0xdf09,0xd808,0xdf0a,0xd808,0xdf0b,0xd808,0xdf0c,0xd808,0xdf0d,
|
sl@0
|
1215 |
0xd808,0xdf0e,0xd808,0xdf0f,0xd808,0xdf10,0xd808,0xdf11,0xd808,0xdf12,
|
sl@0
|
1216 |
0xd808,0xdf13,0xd808,0xdf14,0xd808,0xdf15,0xd808,0xdf16,0xd808,0xdf17,
|
sl@0
|
1217 |
0xd808,0xdf18,0xd808,0xdf19,0xd808,0xdf1a,0xd808,0xdf1b,0xd808,0xdf1c,
|
sl@0
|
1218 |
0xd808,0xdf1d,0xd808,0xdf1e,0xd808,0xdf1f,0xd808,0xdf20,0xd808,0xdf21,
|
sl@0
|
1219 |
0xd808,0xdf22,0xd808,0xdf23,0xd808,0xdf24,0xd808,0xdf25,0xd808,0xdf26,
|
sl@0
|
1220 |
0xd808,0xdf27,0xd808,0xdf28,0xd808,0xdf29,0xd808,0xdf2a,0xd808,0xdf2b,
|
sl@0
|
1221 |
0xd808,0xdf2c,0xd808,0xdf2d,0xd808,0xdf2e,0xd808,0xdf2f,0xd808,0xdf30,
|
sl@0
|
1222 |
0xd808,0xdf31,0xd808,0xdf32,0xd808,0xdf33,0xd808,0xdf34,0xd808,0xdf35,
|
sl@0
|
1223 |
0xd808,0xdf36,0xd808,0xdf37,0xd808,0xdf38,0xd808,0xdf39,0xd808,0xdf3a,
|
sl@0
|
1224 |
0xd808,0xdf3b,0xd808,0xdf3c,0xd808,0xdf3d,0xd808,0xdf3e,0xd808,0xdf3f,
|
sl@0
|
1225 |
0xd808,0xdf40,0xd808,0xdf41,0xd808,0xdf42,0xd808,0xdf43,0xd808,0xdf44,
|
sl@0
|
1226 |
0xd808,0xdf45,0xd808,0xdf46,0xd808,0xdf47,0xd808,0xdf48,0xd808,0xdf49,
|
sl@0
|
1227 |
0xd808,0xdf4a,0xd808,0xdf4b,0xd808,0xdf4c,0xd808,0xdf4d,0xd808,0xdf4e,
|
sl@0
|
1228 |
0xd808,0xdf4f,0xd808,0xdf50,0xd808,0xdf51,0xd808,0xdf52,0xd808,0xdf53,
|
sl@0
|
1229 |
0xd808,0xdf54,0xd808,0xdf55,0xd808,0xdf56,0xd808,0xdf57,0xd808,0xdf58,
|
sl@0
|
1230 |
0xd808,0xdf59,0xd808,0xdf5a,0xd808,0xdf5b,0xd808,0xdf5c,0xd808,0xdf5d,
|
sl@0
|
1231 |
0xd808,0xdf5e,0xd808,0xdf5f,0xd808,0xdf60,0xd808,0xdf61,0xd808,0xdf62,
|
sl@0
|
1232 |
0xd808,0xdf63,0xd808,0xdf64,0xd808,0xdf65,0xd808,0xdf66,0xd808,0xdf67,
|
sl@0
|
1233 |
0xd808,0xdf68,0xd808,0xdf69,0xd808,0xdf6a,0xd808,0xdf6b,0xd808,0xdf6c,
|
sl@0
|
1234 |
0xd808,0xdf6d,0xd808,0xdf6e,0xd809,0xdc00,0xd809,0xdc01,0xd809,0xdc02,
|
sl@0
|
1235 |
0xd809,0xdc03,0xd809,0xdc04,0xd809,0xdc05,0xd809,0xdc06,0xd809,0xdc07,
|
sl@0
|
1236 |
0xd809,0xdc08,0xd809,0xdc09,0xd809,0xdc0a,0xd809,0xdc0b,0xd809,0xdc0c,
|
sl@0
|
1237 |
0xd809,0xdc0d,0xd809,0xdc0e,0xd809,0xdc0f,0xd809,0xdc10,0xd809,0xdc11,
|
sl@0
|
1238 |
0xd809,0xdc12,0xd809,0xdc13,0xd809,0xdc14,0xd809,0xdc15,0xd809,0xdc16,
|
sl@0
|
1239 |
0xd809,0xdc17,0xd809,0xdc18,0xd809,0xdc19,0xd809,0xdc1a,0xd809,0xdc1b,
|
sl@0
|
1240 |
0xd809,0xdc1c,0xd809,0xdc1d,0xd809,0xdc1e,0xd809,0xdc1f,0xd809,0xdc20,
|
sl@0
|
1241 |
0xd809,0xdc21,0xd809,0xdc22,0xd809,0xdc23,0xd809,0xdc24,0xd809,0xdc25,
|
sl@0
|
1242 |
0xd809,0xdc26,0xd809,0xdc27,0xd809,0xdc28,0xd809,0xdc29,0xd809,0xdc2a,
|
sl@0
|
1243 |
0xd809,0xdc2b,0xd809,0xdc2c,0xd809,0xdc2d,0xd809,0xdc2e,0xd809,0xdc2f,
|
sl@0
|
1244 |
0xd809,0xdc30,0xd809,0xdc31,0xd809,0xdc32,0xd809,0xdc33,0xd809,0xdc34,
|
sl@0
|
1245 |
0xd809,0xdc35,0xd809,0xdc36,0xd809,0xdc37,0xd809,0xdc38,0xd809,0xdc39,
|
sl@0
|
1246 |
0xd809,0xdc3a,0xd809,0xdc3b,0xd809,0xdc3c,0xd809,0xdc3d,0xd809,0xdc3e,
|
sl@0
|
1247 |
0xd809,0xdc3f,0xd809,0xdc40,0xd809,0xdc41,0xd809,0xdc42,0xd809,0xdc43,
|
sl@0
|
1248 |
0xd809,0xdc44,0xd809,0xdc45,0xd809,0xdc46,0xd809,0xdc47,0xd809,0xdc48,
|
sl@0
|
1249 |
0xd809,0xdc49,0xd809,0xdc4a,0xd809,0xdc4b,0xd809,0xdc4c,0xd809,0xdc4d,
|
sl@0
|
1250 |
0xd809,0xdc4e,0xd809,0xdc4f,0xd809,0xdc50,0xd809,0xdc51,0xd809,0xdc52,
|
sl@0
|
1251 |
0xd809,0xdc53,0xd809,0xdc54,0xd809,0xdc55,0xd809,0xdc56,0xd809,0xdc57,
|
sl@0
|
1252 |
0xd809,0xdc58,0xd809,0xdc59,0xd809,0xdc5a,0xd809,0xdc5b,0xd809,0xdc5c,
|
sl@0
|
1253 |
0xd809,0xdc5d,0xd809,0xdc5e,0xd809,0xdc5f,0xd809,0xdc60,0xd809,0xdc61,
|
sl@0
|
1254 |
0xd809,0xdc62,0xd809,0xdc70,0xd809,0xdc71,0xd809,0xdc72,0xd809,0xdc73,
|
sl@0
|
1255 |
0xd834,0xdc00,0xd834,0xdc01,0xd834,0xdc02,0xd834,0xdc03,0xd834,0xdc04,
|
sl@0
|
1256 |
0xd834,0xdc05,0xd834,0xdc06,0xd834,0xdc07,0xd834,0xdc08,0xd834,0xdc09,
|
sl@0
|
1257 |
0xd834,0xdc0a,0xd834,0xdc0b,0xd834,0xdc0c,0xd834,0xdc0d,0xd834,0xdc0e,
|
sl@0
|
1258 |
0xd834,0xdc0f,0xd834,0xdc10,0xd834,0xdc11,0xd834,0xdc12,0xd834,0xdc13,
|
sl@0
|
1259 |
0xd834,0xdc14,0xd834,0xdc15,0xd834,0xdc16,0xd834,0xdc17,0xd834,0xdc18,
|
sl@0
|
1260 |
0xd834,0xdc19,0xd834,0xdc1a,0xd834,0xdc1b,0xd834,0xdc1c,0xd834,0xdc1d,
|
sl@0
|
1261 |
0xd834,0xdc1e,0xd834,0xdc1f,0xd834,0xdc20,0xd834,0xdc21,0xd834,0xdc22,
|
sl@0
|
1262 |
0xd834,0xdc23,0xd834,0xdc24,0xd834,0xdc25,0xd834,0xdc26,0xd834,0xdc27,
|
sl@0
|
1263 |
0xd834,0xdc28,0xd834,0xdc29,0xd834,0xdc2a,0xd834,0xdc2b,0xd834,0xdc2c,
|
sl@0
|
1264 |
0xd834,0xdc2d,0xd834,0xdc2e,0xd834,0xdc2f,0xd834,0xdc30,0xd834,0xdc31,
|
sl@0
|
1265 |
0xd834,0xdc32,0xd834,0xdc33,0xd834,0xdc34,0xd834,0xdc35,0xd834,0xdc36,
|
sl@0
|
1266 |
0xd834,0xdc37,0xd834,0xdc38,0xd834,0xdc39,0xd834,0xdc3a,0xd834,0xdc3b,
|
sl@0
|
1267 |
0xd834,0xdc3c,0xd834,0xdc3d,0xd834,0xdc3e,0xd834,0xdc3f,0xd834,0xdc40,
|
sl@0
|
1268 |
0xd834,0xdc41,0xd834,0xdc42,0xd834,0xdc43,0xd834,0xdc44,0xd834,0xdc45,
|
sl@0
|
1269 |
0xd834,0xdc46,0xd834,0xdc47,0xd834,0xdc48,0xd834,0xdc49,0xd834,0xdc4a,
|
sl@0
|
1270 |
0xd834,0xdc4b,0xd834,0xdc4c,0xd834,0xdc4d,0xd834,0xdc4e,0xd834,0xdc4f,
|
sl@0
|
1271 |
0xd834,0xdc50,0xd834,0xdc51,0xd834,0xdc52,0xd834,0xdc53,0xd834,0xdc54,
|
sl@0
|
1272 |
0xd834,0xdc55,0xd834,0xdc56,0xd834,0xdc57,0xd834,0xdc58,0xd834,0xdc59,
|
sl@0
|
1273 |
0xd834,0xdc5a,0xd834,0xdc5b,0xd834,0xdc5c,0xd834,0xdc5d,0xd834,0xdc5e,
|
sl@0
|
1274 |
0xd834,0xdc5f,0xd834,0xdc60,0xd834,0xdc61,0xd834,0xdc62,0xd834,0xdc63,
|
sl@0
|
1275 |
0xd834,0xdc64,0xd834,0xdc65,0xd834,0xdc66,0xd834,0xdc67,0xd834,0xdc68,
|
sl@0
|
1276 |
0xd834,0xdc69,0xd834,0xdc6a,0xd834,0xdc6b,0xd834,0xdc6c,0xd834,0xdc6d,
|
sl@0
|
1277 |
0xd834,0xdc6e,0xd834,0xdc6f,0xd834,0xdc70,0xd834,0xdc71,0xd834,0xdc72,
|
sl@0
|
1278 |
0xd834,0xdc73,0xd834,0xdc74,0xd834,0xdc75,0xd834,0xdc76,0xd834,0xdc77,
|
sl@0
|
1279 |
0xd834,0xdc78,0xd834,0xdc79,0xd834,0xdc7a,0xd834,0xdc7b,0xd834,0xdc7c,
|
sl@0
|
1280 |
0xd834,0xdc7d,0xd834,0xdc7e,0xd834,0xdc7f,0xd834,0xdc80,0xd834,0xdc81,
|
sl@0
|
1281 |
0xd834,0xdc82,0xd834,0xdc83,0xd834,0xdc84,0xd834,0xdc85,0xd834,0xdc86,
|
sl@0
|
1282 |
0xd834,0xdc87,0xd834,0xdc88,0xd834,0xdc89,0xd834,0xdc8a,0xd834,0xdc8b,
|
sl@0
|
1283 |
0xd834,0xdc8c,0xd834,0xdc8d,0xd834,0xdc8e,0xd834,0xdc8f,0xd834,0xdc90,
|
sl@0
|
1284 |
0xd834,0xdc91,0xd834,0xdc92,0xd834,0xdc93,0xd834,0xdc94,0xd834,0xdc95,
|
sl@0
|
1285 |
0xd834,0xdc96,0xd834,0xdc97,0xd834,0xdc98,0xd834,0xdc99,0xd834,0xdc9a,
|
sl@0
|
1286 |
0xd834,0xdc9b,0xd834,0xdc9c,0xd834,0xdc9d,0xd834,0xdc9e,0xd834,0xdc9f,
|
sl@0
|
1287 |
0xd834,0xdca0,0xd834,0xdca1,0xd834,0xdca2,0xd834,0xdca3,0xd834,0xdca4,
|
sl@0
|
1288 |
0xd834,0xdca5,0xd834,0xdca6,0xd834,0xdca7,0xd834,0xdca8,0xd834,0xdca9,
|
sl@0
|
1289 |
0xd834,0xdcaa,0xd834,0xdcab,0xd834,0xdcac,0xd834,0xdcad,0xd834,0xdcae,
|
sl@0
|
1290 |
0xd834,0xdcaf,0xd834,0xdcb0,0xd834,0xdcb1,0xd834,0xdcb2,0xd834,0xdcb3,
|
sl@0
|
1291 |
0xd834,0xdcb4,0xd834,0xdcb5,0xd834,0xdcb6,0xd834,0xdcb7,0xd834,0xdcb8,
|
sl@0
|
1292 |
0xd834,0xdcb9,0xd834,0xdcba,0xd834,0xdcbb,0xd834,0xdcbc,0xd834,0xdcbd,
|
sl@0
|
1293 |
0xd834,0xdcbe,0xd834,0xdcbf,0xd834,0xdcc0,0xd834,0xdcc1,0xd834,0xdcc2,
|
sl@0
|
1294 |
0xd834,0xdcc3,0xd834,0xdcc4,0xd834,0xdcc5,0xd834,0xdcc6,0xd834,0xdcc7,
|
sl@0
|
1295 |
0xd834,0xdcc8,0xd834,0xdcc9,0xd834,0xdcca,0xd834,0xdccb,0xd834,0xdccc,
|
sl@0
|
1296 |
0xd834,0xdccd,0xd834,0xdcce,0xd834,0xdccf,0xd834,0xdcd0,0xd834,0xdcd1,
|
sl@0
|
1297 |
0xd834,0xdcd2,0xd834,0xdcd3,0xd834,0xdcd4,0xd834,0xdcd5,0xd834,0xdcd6,
|
sl@0
|
1298 |
0xd834,0xdcd7,0xd834,0xdcd8,0xd834,0xdcd9,0xd834,0xdcda,0xd834,0xdcdb,
|
sl@0
|
1299 |
0xd834,0xdcdc,0xd834,0xdcdd,0xd834,0xdcde,0xd834,0xdcdf,0xd834,0xdce0,
|
sl@0
|
1300 |
0xd834,0xdce1,0xd834,0xdce2,0xd834,0xdce3,0xd834,0xdce4,0xd834,0xdce5,
|
sl@0
|
1301 |
0xd834,0xdce6,0xd834,0xdce7,0xd834,0xdce8,0xd834,0xdce9,0xd834,0xdcea,
|
sl@0
|
1302 |
0xd834,0xdceb,0xd834,0xdcec,0xd834,0xdced,0xd834,0xdcee,0xd834,0xdcef,
|
sl@0
|
1303 |
0xd834,0xdcf0,0xd834,0xdcf1,0xd834,0xdcf2,0xd834,0xdcf3,0xd834,0xdcf4,
|
sl@0
|
1304 |
0xd834,0xdcf5,0xd834,0xdd00,0xd834,0xdd01,0xd834,0xdd02,0xd834,0xdd03,
|
sl@0
|
1305 |
0xd834,0xdd04,0xd834,0xdd05,0xd834,0xdd06,0xd834,0xdd07,0xd834,0xdd08,
|
sl@0
|
1306 |
0xd834,0xdd09,0xd834,0xdd0a,0xd834,0xdd0b,0xd834,0xdd0c,0xd834,0xdd0d,
|
sl@0
|
1307 |
0xd834,0xdd0e,0xd834,0xdd0f,0xd834,0xdd10,0xd834,0xdd11,0xd834,0xdd12,
|
sl@0
|
1308 |
0xd834,0xdd13,0xd834,0xdd14,0xd834,0xdd15,0xd834,0xdd16,0xd834,0xdd17,
|
sl@0
|
1309 |
0xd834,0xdd18,0xd834,0xdd19,0xd834,0xdd1a,0xd834,0xdd1b,0xd834,0xdd1c,
|
sl@0
|
1310 |
0xd834,0xdd1d,0xd834,0xdd1e,0xd834,0xdd1f,0xd834,0xdd20,0xd834,0xdd21,
|
sl@0
|
1311 |
0xd834,0xdd22,0xd834,0xdd23,0xd834,0xdd24,0xd834,0xdd25,0xd834,0xdd26,
|
sl@0
|
1312 |
0xd834,0xdd2a,0xd834,0xdd2b,0xd834,0xdd2c,0xd834,0xdd2d,0xd834,0xdd2e,
|
sl@0
|
1313 |
0xd834,0xdd2f,0xd834,0xdd30,0xd834,0xdd31,0xd834,0xdd32,0xd834,0xdd33,
|
sl@0
|
1314 |
0xd834,0xdd34,0xd834,0xdd35,0xd834,0xdd36,0xd834,0xdd37,0xd834,0xdd38,
|
sl@0
|
1315 |
0xd834,0xdd39,0xd834,0xdd3a,0xd834,0xdd3b,0xd834,0xdd3c,0xd834,0xdd3d,
|
sl@0
|
1316 |
0xd834,0xdd3e,0xd834,0xdd3f,0xd834,0xdd40,0xd834,0xdd41,0xd834,0xdd42,
|
sl@0
|
1317 |
0xd834,0xdd43,0xd834,0xdd44,0xd834,0xdd45,0xd834,0xdd46,0xd834,0xdd47,
|
sl@0
|
1318 |
0xd834,0xdd48,0xd834,0xdd49,0xd834,0xdd4a,0xd834,0xdd4b,0xd834,0xdd4c,
|
sl@0
|
1319 |
0xd834,0xdd4d,0xd834,0xdd4e,0xd834,0xdd4f,0xd834,0xdd50,0xd834,0xdd51,
|
sl@0
|
1320 |
0xd834,0xdd52,0xd834,0xdd53,0xd834,0xdd54,0xd834,0xdd55,0xd834,0xdd56,
|
sl@0
|
1321 |
0xd834,0xdd57,0xd834,0xdd58,0xd834,0xdd59,0xd834,0xdd5a,0xd834,0xdd5b,
|
sl@0
|
1322 |
0xd834,0xdd5c,0xd834,0xdd5d,0xd834,0xdd5e,0xd834,0xdd5f,0xd834,0xdd60,
|
sl@0
|
1323 |
0xd834,0xdd61,0xd834,0xdd62,0xd834,0xdd63,0xd834,0xdd64,0xd834,0xdd6a,
|
sl@0
|
1324 |
0xd834,0xdd6b,0xd834,0xdd6c,0xd834,0xdd83,0xd834,0xdd84,0xd834,0xdd8c,
|
sl@0
|
1325 |
0xd834,0xdd8d,0xd834,0xdd8e,0xd834,0xdd8f,0xd834,0xdd90,0xd834,0xdd91,
|
sl@0
|
1326 |
0xd834,0xdd92,0xd834,0xdd93,0xd834,0xdd94,0xd834,0xdd95,0xd834,0xdd96,
|
sl@0
|
1327 |
0xd834,0xdd97,0xd834,0xdd98,0xd834,0xdd99,0xd834,0xdd9a,0xd834,0xdd9b,
|
sl@0
|
1328 |
0xd834,0xdd9c,0xd834,0xdd9d,0xd834,0xdd9e,0xd834,0xdd9f,0xd834,0xdda0,
|
sl@0
|
1329 |
0xd834,0xdda1,0xd834,0xdda2,0xd834,0xdda3,0xd834,0xdda4,0xd834,0xdda5,
|
sl@0
|
1330 |
0xd834,0xdda6,0xd834,0xdda7,0xd834,0xdda8,0xd834,0xdda9,0xd834,0xddae,
|
sl@0
|
1331 |
0xd834,0xddaf,0xd834,0xddb0,0xd834,0xddb1,0xd834,0xddb2,0xd834,0xddb3,
|
sl@0
|
1332 |
0xd834,0xddb4,0xd834,0xddb5,0xd834,0xddb6,0xd834,0xddb7,0xd834,0xddb8,
|
sl@0
|
1333 |
0xd834,0xddb9,0xd834,0xddba,0xd834,0xddbb,0xd834,0xddbc,0xd834,0xddbd,
|
sl@0
|
1334 |
0xd834,0xddbe,0xd834,0xddbf,0xd834,0xddc0,0xd834,0xddc1,0xd834,0xddc2,
|
sl@0
|
1335 |
0xd834,0xddc3,0xd834,0xddc4,0xd834,0xddc5,0xd834,0xddc6,0xd834,0xddc7,
|
sl@0
|
1336 |
0xd834,0xddc8,0xd834,0xddc9,0xd834,0xddca,0xd834,0xddcb,0xd834,0xddcc,
|
sl@0
|
1337 |
0xd834,0xddcd,0xd834,0xddce,0xd834,0xddcf,0xd834,0xddd0,0xd834,0xddd1,
|
sl@0
|
1338 |
0xd834,0xddd2,0xd834,0xddd3,0xd834,0xddd4,0xd834,0xddd5,0xd834,0xddd6,
|
sl@0
|
1339 |
0xd834,0xddd7,0xd834,0xddd8,0xd834,0xddd9,0xd834,0xddda,0xd834,0xdddb,
|
sl@0
|
1340 |
0xd834,0xdddc,0xd834,0xdddd,0xd834,0xdf60,0xd834,0xdf61,0xd834,0xdf62,
|
sl@0
|
1341 |
0xd834,0xdf63,0xd834,0xdf64,0xd834,0xdf65,0xd834,0xdf66,0xd834,0xdf67,
|
sl@0
|
1342 |
0xd834,0xdf68,0xd834,0xdf69,0xd834,0xdf6a,0xd834,0xdf6b,0xd834,0xdf6c,
|
sl@0
|
1343 |
0xd834,0xdf6d,0xd834,0xdf6e,0xd834,0xdf6f,0xd834,0xdf70,0xd834,0xdf71,
|
sl@0
|
1344 |
0xd835,0xdc00,0xd835,0xdc01,0xd835,0xdc02,0xd835,0xdc03,0xd835,0xdc04,
|
sl@0
|
1345 |
0xd835,0xdc05,0xd835,0xdc06,0xd835,0xdc07,0xd835,0xdc08,0xd835,0xdc09,
|
sl@0
|
1346 |
0xd835,0xdc0a,0xd835,0xdc0b,0xd835,0xdc0c,0xd835,0xdc0d,0xd835,0xdc0e,
|
sl@0
|
1347 |
0xd835,0xdc0f,0xd835,0xdc10,0xd835,0xdc11,0xd835,0xdc12,0xd835,0xdc13,
|
sl@0
|
1348 |
0xd835,0xdc14,0xd835,0xdc15,0xd835,0xdc16,0xd835,0xdc17,0xd835,0xdc18,
|
sl@0
|
1349 |
0xd835,0xdc19,0xd835,0xdc1a,0xd835,0xdc1b,0xd835,0xdc1c,0xd835,0xdc1d,
|
sl@0
|
1350 |
0xd835,0xdc1e,0xd835,0xdc1f,0xd835,0xdc20,0xd835,0xdc21,0xd835,0xdc22,
|
sl@0
|
1351 |
0xd835,0xdc23,0xd835,0xdc24,0xd835,0xdc25,0xd835,0xdc26,0xd835,0xdc27,
|
sl@0
|
1352 |
0xd835,0xdc28,0xd835,0xdc29,0xd835,0xdc2a,0xd835,0xdc2b,0xd835,0xdc2c,
|
sl@0
|
1353 |
0xd835,0xdc2d,0xd835,0xdc2e,0xd835,0xdc2f,0xd835,0xdc30,0xd835,0xdc31,
|
sl@0
|
1354 |
0xd835,0xdc32,0xd835,0xdc33,0xd835,0xdc34,0xd835,0xdc35,0xd835,0xdc36,
|
sl@0
|
1355 |
0xd835,0xdc37,0xd835,0xdc38,0xd835,0xdc39,0xd835,0xdc3a,0xd835,0xdc3b,
|
sl@0
|
1356 |
0xd835,0xdc3c,0xd835,0xdc3d,0xd835,0xdc3e,0xd835,0xdc3f,0xd835,0xdc40,
|
sl@0
|
1357 |
0xd835,0xdc41,0xd835,0xdc42,0xd835,0xdc43,0xd835,0xdc44,0xd835,0xdc45,
|
sl@0
|
1358 |
0xd835,0xdc46,0xd835,0xdc47,0xd835,0xdc48,0xd835,0xdc49,0xd835,0xdc4a,
|
sl@0
|
1359 |
0xd835,0xdc4b,0xd835,0xdc4c,0xd835,0xdc4d,0xd835,0xdc4e,0xd835,0xdc4f,
|
sl@0
|
1360 |
0xd835,0xdc50,0xd835,0xdc51,0xd835,0xdc52,0xd835,0xdc53,0xd835,0xdc54,
|
sl@0
|
1361 |
0xd835,0xdc56,0xd835,0xdc57,0xd835,0xdc58,0xd835,0xdc59,0xd835,0xdc5a,
|
sl@0
|
1362 |
0xd835,0xdc5b,0xd835,0xdc5c,0xd835,0xdc5d,0xd835,0xdc5e,0xd835,0xdc5f,
|
sl@0
|
1363 |
0xd835,0xdc60,0xd835,0xdc61,0xd835,0xdc62,0xd835,0xdc63,0xd835,0xdc64,
|
sl@0
|
1364 |
0xd835,0xdc65,0xd835,0xdc66,0xd835,0xdc67,0xd835,0xdc68,0xd835,0xdc69,
|
sl@0
|
1365 |
0xd835,0xdc6a,0xd835,0xdc6b,0xd835,0xdc6c,0xd835,0xdc6d,0xd835,0xdc6e,
|
sl@0
|
1366 |
0xd835,0xdc6f,0xd835,0xdc70,0xd835,0xdc71,0xd835,0xdc72,0xd835,0xdc73,
|
sl@0
|
1367 |
0xd835,0xdc74,0xd835,0xdc75,0xd835,0xdc76,0xd835,0xdc77,0xd835,0xdc78,
|
sl@0
|
1368 |
0xd835,0xdc79,0xd835,0xdc7a,0xd835,0xdc7b,0xd835,0xdc7c,0xd835,0xdc7d,
|
sl@0
|
1369 |
0xd835,0xdc7e,0xd835,0xdc7f,0xd835,0xdc80,0xd835,0xdc81,0xd835,0xdc82,
|
sl@0
|
1370 |
0xd835,0xdc83,0xd835,0xdc84,0xd835,0xdc85,0xd835,0xdc86,0xd835,0xdc87,
|
sl@0
|
1371 |
0xd835,0xdc88,0xd835,0xdc89,0xd835,0xdc8a,0xd835,0xdc8b,0xd835,0xdc8c,
|
sl@0
|
1372 |
0xd835,0xdc8d,0xd835,0xdc8e,0xd835,0xdc8f,0xd835,0xdc90,0xd835,0xdc91,
|
sl@0
|
1373 |
0xd835,0xdc92,0xd835,0xdc93,0xd835,0xdc94,0xd835,0xdc95,0xd835,0xdc96,
|
sl@0
|
1374 |
0xd835,0xdc97,0xd835,0xdc98,0xd835,0xdc99,0xd835,0xdc9a,0xd835,0xdc9b,
|
sl@0
|
1375 |
0xd835,0xdc9c,0xd835,0xdc9e,0xd835,0xdc9f,0xd835,0xdca2,0xd835,0xdca5,
|
sl@0
|
1376 |
0xd835,0xdca6,0xd835,0xdca9,0xd835,0xdcaa,0xd835,0xdcab,0xd835,0xdcac,
|
sl@0
|
1377 |
0xd835,0xdcae,0xd835,0xdcaf,0xd835,0xdcb0,0xd835,0xdcb1,0xd835,0xdcb2,
|
sl@0
|
1378 |
0xd835,0xdcb3,0xd835,0xdcb4,0xd835,0xdcb5,0xd835,0xdcb6,0xd835,0xdcb7,
|
sl@0
|
1379 |
0xd835,0xdcb8,0xd835,0xdcb9,0xd835,0xdcbb,0xd835,0xdcbd,0xd835,0xdcbe,
|
sl@0
|
1380 |
0xd835,0xdcbf,0xd835,0xdcc0,0xd835,0xdcc1,0xd835,0xdcc2,0xd835,0xdcc3,
|
sl@0
|
1381 |
0xd835,0xdcc5,0xd835,0xdcc6,0xd835,0xdcc7,0xd835,0xdcc8,0xd835,0xdcc9,
|
sl@0
|
1382 |
0xd835,0xdcca,0xd835,0xdccb,0xd835,0xdccc,0xd835,0xdccd,0xd835,0xdcce,
|
sl@0
|
1383 |
0xd835,0xdccf,0xd835,0xdcd0,0xd835,0xdcd1,0xd835,0xdcd2,0xd835,0xdcd3,
|
sl@0
|
1384 |
0xd835,0xdcd4,0xd835,0xdcd5,0xd835,0xdcd6,0xd835,0xdcd7,0xd835,0xdcd8,
|
sl@0
|
1385 |
0xd835,0xdcd9,0xd835,0xdcda,0xd835,0xdcdb,0xd835,0xdcdc,0xd835,0xdcdd,
|
sl@0
|
1386 |
0xd835,0xdcde,0xd835,0xdcdf,0xd835,0xdce0,0xd835,0xdce1,0xd835,0xdce2,
|
sl@0
|
1387 |
0xd835,0xdce3,0xd835,0xdce4,0xd835,0xdce5,0xd835,0xdce6,0xd835,0xdce7,
|
sl@0
|
1388 |
0xd835,0xdce8,0xd835,0xdce9,0xd835,0xdcea,0xd835,0xdceb,0xd835,0xdcec,
|
sl@0
|
1389 |
0xd835,0xdced,0xd835,0xdcee,0xd835,0xdcef,0xd835,0xdcf0,0xd835,0xdcf1,
|
sl@0
|
1390 |
0xd835,0xdcf2,0xd835,0xdcf3,0xd835,0xdcf4,0xd835,0xdcf5,0xd835,0xdcf6,
|
sl@0
|
1391 |
0xd835,0xdcf7,0xd835,0xdcf8,0xd835,0xdcf9,0xd835,0xdcfa,0xd835,0xdcfb,
|
sl@0
|
1392 |
0xd835,0xdcfc,0xd835,0xdcfd,0xd835,0xdcfe,0xd835,0xdcff,0xd835,0xdd00,
|
sl@0
|
1393 |
0xd835,0xdd01,0xd835,0xdd02,0xd835,0xdd03,0xd835,0xdd04,0xd835,0xdd05,
|
sl@0
|
1394 |
0xd835,0xdd07,0xd835,0xdd08,0xd835,0xdd09,0xd835,0xdd0a,0xd835,0xdd0d,
|
sl@0
|
1395 |
0xd835,0xdd0e,0xd835,0xdd0f,0xd835,0xdd10,0xd835,0xdd11,0xd835,0xdd12,
|
sl@0
|
1396 |
0xd835,0xdd13,0xd835,0xdd14,0xd835,0xdd16,0xd835,0xdd17,0xd835,0xdd18,
|
sl@0
|
1397 |
0xd835,0xdd19,0xd835,0xdd1a,0xd835,0xdd1b,0xd835,0xdd1c,0xd835,0xdd1e,
|
sl@0
|
1398 |
0xd835,0xdd1f,0xd835,0xdd20,0xd835,0xdd21,0xd835,0xdd22,0xd835,0xdd23,
|
sl@0
|
1399 |
0xd835,0xdd24,0xd835,0xdd25,0xd835,0xdd26,0xd835,0xdd27,0xd835,0xdd28,
|
sl@0
|
1400 |
0xd835,0xdd29,0xd835,0xdd2a,0xd835,0xdd2b,0xd835,0xdd2c,0xd835,0xdd2d,
|
sl@0
|
1401 |
0xd835,0xdd2e,0xd835,0xdd2f,0xd835,0xdd30,0xd835,0xdd31,0xd835,0xdd32,
|
sl@0
|
1402 |
0xd835,0xdd33,0xd835,0xdd34,0xd835,0xdd35,0xd835,0xdd36,0xd835,0xdd37,
|
sl@0
|
1403 |
0xd835,0xdd38,0xd835,0xdd39,0xd835,0xdd3b,0xd835,0xdd3c,0xd835,0xdd3d,
|
sl@0
|
1404 |
0xd835,0xdd3e,0xd835,0xdd40,0xd835,0xdd41,0xd835,0xdd42,0xd835,0xdd43,
|
sl@0
|
1405 |
0xd835,0xdd44,0xd835,0xdd46,0xd835,0xdd4a,0xd835,0xdd4b,0xd835,0xdd4c,
|
sl@0
|
1406 |
0xd835,0xdd4d,0xd835,0xdd4e,0xd835,0xdd4f,0xd835,0xdd50,0xd835,0xdd52,
|
sl@0
|
1407 |
0xd835,0xdd53,0xd835,0xdd54,0xd835,0xdd55,0xd835,0xdd56,0xd835,0xdd57,
|
sl@0
|
1408 |
0xd835,0xdd58,0xd835,0xdd59,0xd835,0xdd5a,0xd835,0xdd5b,0xd835,0xdd5c,
|
sl@0
|
1409 |
0xd835,0xdd5d,0xd835,0xdd5e,0xd835,0xdd5f,0xd835,0xdd60,0xd835,0xdd61,
|
sl@0
|
1410 |
0xd835,0xdd62,0xd835,0xdd63,0xd835,0xdd64,0xd835,0xdd65,0xd835,0xdd66,
|
sl@0
|
1411 |
0xd835,0xdd67,0xd835,0xdd68,0xd835,0xdd69,0xd835,0xdd6a,0xd835,0xdd6b,
|
sl@0
|
1412 |
0xd835,0xdd6c,0xd835,0xdd6d,0xd835,0xdd6e,0xd835,0xdd6f,0xd835,0xdd70,
|
sl@0
|
1413 |
0xd835,0xdd71,0xd835,0xdd72,0xd835,0xdd73,0xd835,0xdd74,0xd835,0xdd75,
|
sl@0
|
1414 |
0xd835,0xdd76,0xd835,0xdd77,0xd835,0xdd78,0xd835,0xdd79,0xd835,0xdd7a,
|
sl@0
|
1415 |
0xd835,0xdd7b,0xd835,0xdd7c,0xd835,0xdd7d,0xd835,0xdd7e,0xd835,0xdd7f,
|
sl@0
|
1416 |
0xd835,0xdd80,0xd835,0xdd81,0xd835,0xdd82,0xd835,0xdd83,0xd835,0xdd84,
|
sl@0
|
1417 |
0xd835,0xdd85,0xd835,0xdd86,0xd835,0xdd87,0xd835,0xdd88,0xd835,0xdd89,
|
sl@0
|
1418 |
0xd835,0xdd8a,0xd835,0xdd8b,0xd835,0xdd8c,0xd835,0xdd8d,0xd835,0xdd8e,
|
sl@0
|
1419 |
0xd835,0xdd8f,0xd835,0xdd90,0xd835,0xdd91,0xd835,0xdd92,0xd835,0xdd93,
|
sl@0
|
1420 |
0xd835,0xdd94,0xd835,0xdd95,0xd835,0xdd96,0xd835,0xdd97,0xd835,0xdd98,
|
sl@0
|
1421 |
0xd835,0xdd99,0xd835,0xdd9a,0xd835,0xdd9b,0xd835,0xdd9c,0xd835,0xdd9d,
|
sl@0
|
1422 |
0xd835,0xdd9e,0xd835,0xdd9f,0xd835,0xdda0,0xd835,0xdda1,0xd835,0xdda2,
|
sl@0
|
1423 |
0xd835,0xdda3,0xd835,0xdda4,0xd835,0xdda5,0xd835,0xdda6,0xd835,0xdda7,
|
sl@0
|
1424 |
0xd835,0xdda8,0xd835,0xdda9,0xd835,0xddaa,0xd835,0xddab,0xd835,0xddac,
|
sl@0
|
1425 |
0xd835,0xddad,0xd835,0xddae,0xd835,0xddaf,0xd835,0xddb0,0xd835,0xddb1,
|
sl@0
|
1426 |
0xd835,0xddb2,0xd835,0xddb3,0xd835,0xddb4,0xd835,0xddb5,0xd835,0xddb6,
|
sl@0
|
1427 |
0xd835,0xddb7,0xd835,0xddb8,0xd835,0xddb9,0xd835,0xddba,0xd835,0xddbb,
|
sl@0
|
1428 |
0xd835,0xddbc,0xd835,0xddbd,0xd835,0xddbe,0xd835,0xddbf,0xd835,0xddc0,
|
sl@0
|
1429 |
0xd835,0xddc1,0xd835,0xddc2,0xd835,0xddc3,0xd835,0xddc4,0xd835,0xddc5,
|
sl@0
|
1430 |
0xd835,0xddc6,0xd835,0xddc7,0xd835,0xddc8,0xd835,0xddc9,0xd835,0xddca,
|
sl@0
|
1431 |
0xd835,0xddcb,0xd835,0xddcc,0xd835,0xddcd,0xd835,0xddce,0xd835,0xddcf,
|
sl@0
|
1432 |
0xd835,0xddd0,0xd835,0xddd1,0xd835,0xddd2,0xd835,0xddd3,0xd835,0xddd4,
|
sl@0
|
1433 |
0xd835,0xddd5,0xd835,0xddd6,0xd835,0xddd7,0xd835,0xddd8,0xd835,0xddd9,
|
sl@0
|
1434 |
0xd835,0xddda,0xd835,0xdddb,0xd835,0xdddc,0xd835,0xdddd,0xd835,0xddde,
|
sl@0
|
1435 |
0xd835,0xdddf,0xd835,0xdde0,0xd835,0xdde1,0xd835,0xdde2,0xd835,0xdde3,
|
sl@0
|
1436 |
0xd835,0xdde4,0xd835,0xdde5,0xd835,0xdde6,0xd835,0xdde7,0xd835,0xdde8,
|
sl@0
|
1437 |
0xd835,0xdde9,0xd835,0xddea,0xd835,0xddeb,0xd835,0xddec,0xd835,0xdded,
|
sl@0
|
1438 |
0xd835,0xddee,0xd835,0xddef,0xd835,0xddf0,0xd835,0xddf1,0xd835,0xddf2,
|
sl@0
|
1439 |
0xd835,0xddf3,0xd835,0xddf4,0xd835,0xddf5,0xd835,0xddf6,0xd835,0xddf7,
|
sl@0
|
1440 |
0xd835,0xddf8,0xd835,0xddf9,0xd835,0xddfa,0xd835,0xddfb,0xd835,0xddfc,
|
sl@0
|
1441 |
0xd835,0xddfd,0xd835,0xddfe,0xd835,0xddff,0xd835,0xde00,0xd835,0xde01,
|
sl@0
|
1442 |
0xd835,0xde02,0xd835,0xde03,0xd835,0xde04,0xd835,0xde05,0xd835,0xde06,
|
sl@0
|
1443 |
0xd835,0xde07,0xd835,0xde08,0xd835,0xde09,0xd835,0xde0a,0xd835,0xde0b,
|
sl@0
|
1444 |
0xd835,0xde0c,0xd835,0xde0d,0xd835,0xde0e,0xd835,0xde0f,0xd835,0xde10,
|
sl@0
|
1445 |
0xd835,0xde11,0xd835,0xde12,0xd835,0xde13,0xd835,0xde14,0xd835,0xde15,
|
sl@0
|
1446 |
0xd835,0xde16,0xd835,0xde17,0xd835,0xde18,0xd835,0xde19,0xd835,0xde1a,
|
sl@0
|
1447 |
0xd835,0xde1b,0xd835,0xde1c,0xd835,0xde1d,0xd835,0xde1e,0xd835,0xde1f,
|
sl@0
|
1448 |
0xd835,0xde20,0xd835,0xde21,0xd835,0xde22,0xd835,0xde23,0xd835,0xde24,
|
sl@0
|
1449 |
0xd835,0xde25,0xd835,0xde26,0xd835,0xde27,0xd835,0xde28,0xd835,0xde29,
|
sl@0
|
1450 |
0xd835,0xde2a,0xd835,0xde2b,0xd835,0xde2c,0xd835,0xde2d,0xd835,0xde2e,
|
sl@0
|
1451 |
0xd835,0xde2f,0xd835,0xde30,0xd835,0xde31,0xd835,0xde32,0xd835,0xde33,
|
sl@0
|
1452 |
0xd835,0xde34,0xd835,0xde35,0xd835,0xde36,0xd835,0xde37,0xd835,0xde38,
|
sl@0
|
1453 |
0xd835,0xde39,0xd835,0xde3a,0xd835,0xde3b,0xd835,0xde3c,0xd835,0xde3d,
|
sl@0
|
1454 |
0xd835,0xde3e,0xd835,0xde3f,0xd835,0xde40,0xd835,0xde41,0xd835,0xde42,
|
sl@0
|
1455 |
0xd835,0xde43,0xd835,0xde44,0xd835,0xde45,0xd835,0xde46,0xd835,0xde47,
|
sl@0
|
1456 |
0xd835,0xde48,0xd835,0xde49,0xd835,0xde4a,0xd835,0xde4b,0xd835,0xde4c,
|
sl@0
|
1457 |
0xd835,0xde4d,0xd835,0xde4e,0xd835,0xde4f,0xd835,0xde50,0xd835,0xde51,
|
sl@0
|
1458 |
0xd835,0xde52,0xd835,0xde53,0xd835,0xde54,0xd835,0xde55,0xd835,0xde56,
|
sl@0
|
1459 |
0xd835,0xde57,0xd835,0xde58,0xd835,0xde59,0xd835,0xde5a,0xd835,0xde5b,
|
sl@0
|
1460 |
0xd835,0xde5c,0xd835,0xde5d,0xd835,0xde5e,0xd835,0xde5f,0xd835,0xde60,
|
sl@0
|
1461 |
0xd835,0xde61,0xd835,0xde62,0xd835,0xde63,0xd835,0xde64,0xd835,0xde65,
|
sl@0
|
1462 |
0xd835,0xde66,0xd835,0xde67,0xd835,0xde68,0xd835,0xde69,0xd835,0xde6a,
|
sl@0
|
1463 |
0xd835,0xde6b,0xd835,0xde6c,0xd835,0xde6d,0xd835,0xde6e,0xd835,0xde6f,
|
sl@0
|
1464 |
0xd835,0xde70,0xd835,0xde71,0xd835,0xde72,0xd835,0xde73,0xd835,0xde74,
|
sl@0
|
1465 |
0xd835,0xde75,0xd835,0xde76,0xd835,0xde77,0xd835,0xde78,0xd835,0xde79,
|
sl@0
|
1466 |
0xd835,0xde7a,0xd835,0xde7b,0xd835,0xde7c,0xd835,0xde7d,0xd835,0xde7e,
|
sl@0
|
1467 |
0xd835,0xde7f,0xd835,0xde80,0xd835,0xde81,0xd835,0xde82,0xd835,0xde83,
|
sl@0
|
1468 |
0xd835,0xde84,0xd835,0xde85,0xd835,0xde86,0xd835,0xde87,0xd835,0xde88,
|
sl@0
|
1469 |
0xd835,0xde89,0xd835,0xde8a,0xd835,0xde8b,0xd835,0xde8c,0xd835,0xde8d,
|
sl@0
|
1470 |
0xd835,0xde8e,0xd835,0xde8f,0xd835,0xde90,0xd835,0xde91,0xd835,0xde92,
|
sl@0
|
1471 |
0xd835,0xde93,0xd835,0xde94,0xd835,0xde95,0xd835,0xde96,0xd835,0xde97,
|
sl@0
|
1472 |
0xd835,0xde98,0xd835,0xde99,0xd835,0xde9a,0xd835,0xde9b,0xd835,0xde9c,
|
sl@0
|
1473 |
0xd835,0xde9d,0xd835,0xde9e,0xd835,0xde9f,0xd835,0xdea0,0xd835,0xdea1,
|
sl@0
|
1474 |
0xd835,0xdea2,0xd835,0xdea3,0xd835,0xdea4,0xd835,0xdea5,0xd835,0xdea8,
|
sl@0
|
1475 |
0xd835,0xdea9,0xd835,0xdeaa,0xd835,0xdeab,0xd835,0xdeac,0xd835,0xdead,
|
sl@0
|
1476 |
0xd835,0xdeae,0xd835,0xdeaf,0xd835,0xdeb0,0xd835,0xdeb1,0xd835,0xdeb2,
|
sl@0
|
1477 |
0xd835,0xdeb3,0xd835,0xdeb4,0xd835,0xdeb5,0xd835,0xdeb6,0xd835,0xdeb7,
|
sl@0
|
1478 |
0xd835,0xdeb8,0xd835,0xdeb9,0xd835,0xdeba,0xd835,0xdebb,0xd835,0xdebc,
|
sl@0
|
1479 |
0xd835,0xdebd,0xd835,0xdebe,0xd835,0xdebf,0xd835,0xdec0,0xd835,0xdec1,
|
sl@0
|
1480 |
0xd835,0xdec2,0xd835,0xdec3,0xd835,0xdec4,0xd835,0xdec5,0xd835,0xdec6,
|
sl@0
|
1481 |
0xd835,0xdec7,0xd835,0xdec8,0xd835,0xdec9,0xd835,0xdeca,0xd835,0xdecb,
|
sl@0
|
1482 |
0xd835,0xdecc,0xd835,0xdecd,0xd835,0xdece,0xd835,0xdecf,0xd835,0xded0,
|
sl@0
|
1483 |
0xd835,0xded1,0xd835,0xded2,0xd835,0xded3,0xd835,0xded4,0xd835,0xded5,
|
sl@0
|
1484 |
0xd835,0xded6,0xd835,0xded7,0xd835,0xded8,0xd835,0xded9,0xd835,0xdeda,
|
sl@0
|
1485 |
0xd835,0xdedb,0xd835,0xdedc,0xd835,0xdedd,0xd835,0xdede,0xd835,0xdedf,
|
sl@0
|
1486 |
0xd835,0xdee0,0xd835,0xdee1,0xd835,0xdee2,0xd835,0xdee3,0xd835,0xdee4,
|
sl@0
|
1487 |
0xd835,0xdee5,0xd835,0xdee6,0xd835,0xdee7,0xd835,0xdee8,0xd835,0xdee9,
|
sl@0
|
1488 |
0xd835,0xdeea,0xd835,0xdeeb,0xd835,0xdeec,0xd835,0xdeed,0xd835,0xdeee,
|
sl@0
|
1489 |
0xd835,0xdeef,0xd835,0xdef0,0xd835,0xdef1,0xd835,0xdef2,0xd835,0xdef3,
|
sl@0
|
1490 |
0xd835,0xdef4,0xd835,0xdef5,0xd835,0xdef6,0xd835,0xdef7,0xd835,0xdef8,
|
sl@0
|
1491 |
0xd835,0xdef9,0xd835,0xdefa,0xd835,0xdefb,0xd835,0xdefc,0xd835,0xdefd,
|
sl@0
|
1492 |
0xd835,0xdefe,0xd835,0xdeff,0xd835,0xdf00,0xd835,0xdf01,0xd835,0xdf02,
|
sl@0
|
1493 |
0xd835,0xdf03,0xd835,0xdf04,0xd835,0xdf05,0xd835,0xdf06,0xd835,0xdf07,
|
sl@0
|
1494 |
0xd835,0xdf08,0xd835,0xdf09,0xd835,0xdf0a,0xd835,0xdf0b,0xd835,0xdf0c,
|
sl@0
|
1495 |
0xd835,0xdf0d,0xd835,0xdf0e,0xd835,0xdf0f,0xd835,0xdf10,0xd835,0xdf11,
|
sl@0
|
1496 |
0xd835,0xdf12,0xd835,0xdf13,0xd835,0xdf14,0xd835,0xdf15,0xd835,0xdf16,
|
sl@0
|
1497 |
0xd835,0xdf17,0xd835,0xdf18,0xd835,0xdf19,0xd835,0xdf1a,0xd835,0xdf1b,
|
sl@0
|
1498 |
0xd835,0xdf1c,0xd835,0xdf1d,0xd835,0xdf1e,0xd835,0xdf1f,0xd835,0xdf20,
|
sl@0
|
1499 |
0xd835,0xdf21,0xd835,0xdf22,0xd835,0xdf23,0xd835,0xdf24,0xd835,0xdf25,
|
sl@0
|
1500 |
0xd835,0xdf26,0xd835,0xdf27,0xd835,0xdf28,0xd835,0xdf29,0xd835,0xdf2a,
|
sl@0
|
1501 |
0xd835,0xdf2b,0xd835,0xdf2c,0xd835,0xdf2d,0xd835,0xdf2e,0xd835,0xdf2f,
|
sl@0
|
1502 |
0xd835,0xdf30,0xd835,0xdf31,0xd835,0xdf32,0xd835,0xdf33,0xd835,0xdf34,
|
sl@0
|
1503 |
0xd835,0xdf35,0xd835,0xdf36,0xd835,0xdf37,0xd835,0xdf38,0xd835,0xdf39,
|
sl@0
|
1504 |
0xd835,0xdf3a,0xd835,0xdf3b,0xd835,0xdf3c,0xd835,0xdf3d,0xd835,0xdf3e,
|
sl@0
|
1505 |
0xd835,0xdf3f,0xd835,0xdf40,0xd835,0xdf41,0xd835,0xdf42,0xd835,0xdf43,
|
sl@0
|
1506 |
0xd835,0xdf44,0xd835,0xdf45,0xd835,0xdf46,0xd835,0xdf47,0xd835,0xdf48,
|
sl@0
|
1507 |
0xd835,0xdf49,0xd835,0xdf4a,0xd835,0xdf4b,0xd835,0xdf4c,0xd835,0xdf4d,
|
sl@0
|
1508 |
0xd835,0xdf4e,0xd835,0xdf4f,0xd835,0xdf50,0xd835,0xdf51,0xd835,0xdf52,
|
sl@0
|
1509 |
0xd835,0xdf53,0xd835,0xdf54,0xd835,0xdf55,0xd835,0xdf56,0xd835,0xdf57,
|
sl@0
|
1510 |
0xd835,0xdf58,0xd835,0xdf59,0xd835,0xdf5a,0xd835,0xdf5b,0xd835,0xdf5c,
|
sl@0
|
1511 |
0xd835,0xdf5d,0xd835,0xdf5e,0xd835,0xdf5f,0xd835,0xdf60,0xd835,0xdf61,
|
sl@0
|
1512 |
0xd835,0xdf62,0xd835,0xdf63,0xd835,0xdf64,0xd835,0xdf65,0xd835,0xdf66,
|
sl@0
|
1513 |
0xd835,0xdf67,0xd835,0xdf68,0xd835,0xdf69,0xd835,0xdf6a,0xd835,0xdf6b,
|
sl@0
|
1514 |
0xd835,0xdf6c,0xd835,0xdf6d,0xd835,0xdf6e,0xd835,0xdf6f,0xd835,0xdf70,
|
sl@0
|
1515 |
0xd835,0xdf71,0xd835,0xdf72,0xd835,0xdf73,0xd835,0xdf74,0xd835,0xdf75,
|
sl@0
|
1516 |
0xd835,0xdf76,0xd835,0xdf77,0xd835,0xdf78,0xd835,0xdf79,0xd835,0xdf7a,
|
sl@0
|
1517 |
0xd835,0xdf7b,0xd835,0xdf7c,0xd835,0xdf7d,0xd835,0xdf7e,0xd835,0xdf7f,
|
sl@0
|
1518 |
0xd835,0xdf80,0xd835,0xdf81,0xd835,0xdf82,0xd835,0xdf83,0xd835,0xdf84,
|
sl@0
|
1519 |
0xd835,0xdf85,0xd835,0xdf86,0xd835,0xdf87,0xd835,0xdf88,0xd835,0xdf89,
|
sl@0
|
1520 |
0xd835,0xdf8a,0xd835,0xdf8b,0xd835,0xdf8c,0xd835,0xdf8d,0xd835,0xdf8e,
|
sl@0
|
1521 |
0xd835,0xdf8f,0xd835,0xdf90,0xd835,0xdf91,0xd835,0xdf92,0xd835,0xdf93,
|
sl@0
|
1522 |
0xd835,0xdf94,0xd835,0xdf95,0xd835,0xdf96,0xd835,0xdf97,0xd835,0xdf98,
|
sl@0
|
1523 |
0xd835,0xdf99,0xd835,0xdf9a,0xd835,0xdf9b,0xd835,0xdf9c,0xd835,0xdf9d,
|
sl@0
|
1524 |
0xd835,0xdf9e,0xd835,0xdf9f,0xd835,0xdfa0,0xd835,0xdfa1,0xd835,0xdfa2,
|
sl@0
|
1525 |
0xd835,0xdfa3,0xd835,0xdfa4,0xd835,0xdfa5,0xd835,0xdfa6,0xd835,0xdfa7,
|
sl@0
|
1526 |
0xd835,0xdfa8,0xd835,0xdfa9,0xd835,0xdfaa,0xd835,0xdfab,0xd835,0xdfac,
|
sl@0
|
1527 |
0xd835,0xdfad,0xd835,0xdfae,0xd835,0xdfaf,0xd835,0xdfb0,0xd835,0xdfb1,
|
sl@0
|
1528 |
0xd835,0xdfb2,0xd835,0xdfb3,0xd835,0xdfb4,0xd835,0xdfb5,0xd835,0xdfb6,
|
sl@0
|
1529 |
0xd835,0xdfb7,0xd835,0xdfb8,0xd835,0xdfb9,0xd835,0xdfba,0xd835,0xdfbb,
|
sl@0
|
1530 |
0xd835,0xdfbc,0xd835,0xdfbd,0xd835,0xdfbe,0xd835,0xdfbf,0xd835,0xdfc0,
|
sl@0
|
1531 |
0xd835,0xdfc1,0xd835,0xdfc2,0xd835,0xdfc3,0xd835,0xdfc4,0xd835,0xdfc5,
|
sl@0
|
1532 |
0xd835,0xdfc6,0xd835,0xdfc7,0xd835,0xdfc8,0xd835,0xdfc9,0xd835,0xdfca,
|
sl@0
|
1533 |
0xd835,0xdfcb,0xd840,0xdc00,0xd869,0xded6,0xd87e,0xdc00,0xd87e,0xdc01,
|
sl@0
|
1534 |
0xd87e,0xdc02,0xd87e,0xdc03,0xd87e,0xdc04,0xd87e,0xdc05,0xd87e,0xdc06,
|
sl@0
|
1535 |
0xd87e,0xdc07,0xd87e,0xdc08,0xd87e,0xdc09,0xd87e,0xdc0a,0xd87e,0xdc0b,
|
sl@0
|
1536 |
0xd87e,0xdc0c,0xd87e,0xdc0d,0xd87e,0xdc0e,0xd87e,0xdc0f,0xd87e,0xdc10,
|
sl@0
|
1537 |
0xd87e,0xdc11,0xd87e,0xdc12,0xd87e,0xdc13,0xd87e,0xdc14,0xd87e,0xdc15,
|
sl@0
|
1538 |
0xd87e,0xdc16,0xd87e,0xdc17,0xd87e,0xdc18,0xd87e,0xdc19,0xd87e,0xdc1a,
|
sl@0
|
1539 |
0xd87e,0xdc1b,0xd87e,0xdc1c,0xd87e,0xdc1d,0xd87e,0xdc1e,0xd87e,0xdc1f,
|
sl@0
|
1540 |
0xd87e,0xdc20,0xd87e,0xdc21,0xd87e,0xdc22,0xd87e,0xdc23,0xd87e,0xdc24,
|
sl@0
|
1541 |
0xd87e,0xdc25,0xd87e,0xdc26,0xd87e,0xdc27,0xd87e,0xdc28,0xd87e,0xdc29,
|
sl@0
|
1542 |
0xd87e,0xdc2a,0xd87e,0xdc2b,0xd87e,0xdc2c,0xd87e,0xdc2d,0xd87e,0xdc2e,
|
sl@0
|
1543 |
0xd87e,0xdc2f,0xd87e,0xdc30,0xd87e,0xdc31,0xd87e,0xdc32,0xd87e,0xdc33,
|
sl@0
|
1544 |
0xd87e,0xdc34,0xd87e,0xdc35,0xd87e,0xdc36,0xd87e,0xdc37,0xd87e,0xdc38,
|
sl@0
|
1545 |
0xd87e,0xdc39,0xd87e,0xdc3a,0xd87e,0xdc3b,0xd87e,0xdc3c,0xd87e,0xdc3d,
|
sl@0
|
1546 |
0xd87e,0xdc3e,0xd87e,0xdc3f,0xd87e,0xdc40,0xd87e,0xdc41,0xd87e,0xdc42,
|
sl@0
|
1547 |
0xd87e,0xdc43,0xd87e,0xdc44,0xd87e,0xdc45,0xd87e,0xdc46,0xd87e,0xdc47,
|
sl@0
|
1548 |
0xd87e,0xdc48,0xd87e,0xdc49,0xd87e,0xdc4a,0xd87e,0xdc4b,0xd87e,0xdc4c,
|
sl@0
|
1549 |
0xd87e,0xdc4d,0xd87e,0xdc4e,0xd87e,0xdc4f,0xd87e,0xdc50,0xd87e,0xdc51,
|
sl@0
|
1550 |
0xd87e,0xdc52,0xd87e,0xdc53,0xd87e,0xdc54,0xd87e,0xdc55,0xd87e,0xdc56,
|
sl@0
|
1551 |
0xd87e,0xdc57,0xd87e,0xdc58,0xd87e,0xdc59,0xd87e,0xdc5a,0xd87e,0xdc5b,
|
sl@0
|
1552 |
0xd87e,0xdc5c,0xd87e,0xdc5d,0xd87e,0xdc5e,0xd87e,0xdc5f,0xd87e,0xdc60,
|
sl@0
|
1553 |
0xd87e,0xdc61,0xd87e,0xdc62,0xd87e,0xdc63,0xd87e,0xdc64,0xd87e,0xdc65,
|
sl@0
|
1554 |
0xd87e,0xdc66,0xd87e,0xdc67,0xd87e,0xdc68,0xd87e,0xdc69,0xd87e,0xdc6a,
|
sl@0
|
1555 |
0xd87e,0xdc6b,0xd87e,0xdc6c,0xd87e,0xdc6d,0xd87e,0xdc6e,0xd87e,0xdc6f,
|
sl@0
|
1556 |
0xd87e,0xdc70,0xd87e,0xdc71,0xd87e,0xdc72,0xd87e,0xdc73,0xd87e,0xdc74,
|
sl@0
|
1557 |
0xd87e,0xdc75,0xd87e,0xdc76,0xd87e,0xdc77,0xd87e,0xdc78,0xd87e,0xdc79,
|
sl@0
|
1558 |
0xd87e,0xdc7a,0xd87e,0xdc7b,0xd87e,0xdc7c,0xd87e,0xdc7d,0xd87e,0xdc7e,
|
sl@0
|
1559 |
0xd87e,0xdc7f,0xd87e,0xdc80,0xd87e,0xdc81,0xd87e,0xdc82,0xd87e,0xdc83,
|
sl@0
|
1560 |
0xd87e,0xdc84,0xd87e,0xdc85,0xd87e,0xdc86,0xd87e,0xdc87,0xd87e,0xdc88,
|
sl@0
|
1561 |
0xd87e,0xdc89,0xd87e,0xdc8a,0xd87e,0xdc8b,0xd87e,0xdc8c,0xd87e,0xdc8d,
|
sl@0
|
1562 |
0xd87e,0xdc8e,0xd87e,0xdc8f,0xd87e,0xdc90,0xd87e,0xdc91,0xd87e,0xdc92,
|
sl@0
|
1563 |
0xd87e,0xdc93,0xd87e,0xdc94,0xd87e,0xdc95,0xd87e,0xdc96,0xd87e,0xdc97,
|
sl@0
|
1564 |
0xd87e,0xdc98,0xd87e,0xdc99,0xd87e,0xdc9a,0xd87e,0xdc9b,0xd87e,0xdc9c,
|
sl@0
|
1565 |
0xd87e,0xdc9d,0xd87e,0xdc9e,0xd87e,0xdc9f,0xd87e,0xdca0,0xd87e,0xdca1,
|
sl@0
|
1566 |
0xd87e,0xdca2,0xd87e,0xdca3,0xd87e,0xdca4,0xd87e,0xdca5,0xd87e,0xdca6,
|
sl@0
|
1567 |
0xd87e,0xdca7,0xd87e,0xdca8,0xd87e,0xdca9,0xd87e,0xdcaa,0xd87e,0xdcab,
|
sl@0
|
1568 |
0xd87e,0xdcac,0xd87e,0xdcad,0xd87e,0xdcae,0xd87e,0xdcaf,0xd87e,0xdcb0,
|
sl@0
|
1569 |
0xd87e,0xdcb1,0xd87e,0xdcb2,0xd87e,0xdcb3,0xd87e,0xdcb4,0xd87e,0xdcb5,
|
sl@0
|
1570 |
0xd87e,0xdcb6,0xd87e,0xdcb7,0xd87e,0xdcb8,0xd87e,0xdcb9,0xd87e,0xdcba,
|
sl@0
|
1571 |
0xd87e,0xdcbb,0xd87e,0xdcbc,0xd87e,0xdcbd,0xd87e,0xdcbe,0xd87e,0xdcbf,
|
sl@0
|
1572 |
0xd87e,0xdcc0,0xd87e,0xdcc1,0xd87e,0xdcc2,0xd87e,0xdcc3,0xd87e,0xdcc4,
|
sl@0
|
1573 |
0xd87e,0xdcc5,0xd87e,0xdcc6,0xd87e,0xdcc7,0xd87e,0xdcc8,0xd87e,0xdcc9,
|
sl@0
|
1574 |
0xd87e,0xdcca,0xd87e,0xdccb,0xd87e,0xdccc,0xd87e,0xdccd,0xd87e,0xdcce,
|
sl@0
|
1575 |
0xd87e,0xdccf,0xd87e,0xdcd0,0xd87e,0xdcd1,0xd87e,0xdcd2,0xd87e,0xdcd3,
|
sl@0
|
1576 |
0xd87e,0xdcd4,0xd87e,0xdcd5,0xd87e,0xdcd6,0xd87e,0xdcd7,0xd87e,0xdcd8,
|
sl@0
|
1577 |
0xd87e,0xdcd9,0xd87e,0xdcda,0xd87e,0xdcdb,0xd87e,0xdcdc,0xd87e,0xdcdd,
|
sl@0
|
1578 |
0xd87e,0xdcde,0xd87e,0xdcdf,0xd87e,0xdce0,0xd87e,0xdce1,0xd87e,0xdce2,
|
sl@0
|
1579 |
0xd87e,0xdce3,0xd87e,0xdce4,0xd87e,0xdce5,0xd87e,0xdce6,0xd87e,0xdce7,
|
sl@0
|
1580 |
0xd87e,0xdce8,0xd87e,0xdce9,0xd87e,0xdcea,0xd87e,0xdceb,0xd87e,0xdcec,
|
sl@0
|
1581 |
0xd87e,0xdced,0xd87e,0xdcee,0xd87e,0xdcef,0xd87e,0xdcf0,0xd87e,0xdcf1,
|
sl@0
|
1582 |
0xd87e,0xdcf2,0xd87e,0xdcf3,0xd87e,0xdcf4,0xd87e,0xdcf5,0xd87e,0xdcf6,
|
sl@0
|
1583 |
0xd87e,0xdcf7,0xd87e,0xdcf8,0xd87e,0xdcf9,0xd87e,0xdcfa,0xd87e,0xdcfb,
|
sl@0
|
1584 |
0xd87e,0xdcfc,0xd87e,0xdcfd,0xd87e,0xdcfe,0xd87e,0xdcff,0xd87e,0xdd00,
|
sl@0
|
1585 |
0xd87e,0xdd01,0xd87e,0xdd02,0xd87e,0xdd03,0xd87e,0xdd04,0xd87e,0xdd05,
|
sl@0
|
1586 |
0xd87e,0xdd06,0xd87e,0xdd07,0xd87e,0xdd08,0xd87e,0xdd09,0xd87e,0xdd0a,
|
sl@0
|
1587 |
0xd87e,0xdd0b,0xd87e,0xdd0c,0xd87e,0xdd0d,0xd87e,0xdd0e,0xd87e,0xdd0f,
|
sl@0
|
1588 |
0xd87e,0xdd10,0xd87e,0xdd11,0xd87e,0xdd12,0xd87e,0xdd13,0xd87e,0xdd14,
|
sl@0
|
1589 |
0xd87e,0xdd15,0xd87e,0xdd16,0xd87e,0xdd17,0xd87e,0xdd18,0xd87e,0xdd19,
|
sl@0
|
1590 |
0xd87e,0xdd1a,0xd87e,0xdd1b,0xd87e,0xdd1c,0xd87e,0xdd1d,0xd87e,0xdd1e,
|
sl@0
|
1591 |
0xd87e,0xdd1f,0xd87e,0xdd20,0xd87e,0xdd21,0xd87e,0xdd22,0xd87e,0xdd23,
|
sl@0
|
1592 |
0xd87e,0xdd24,0xd87e,0xdd25,0xd87e,0xdd26,0xd87e,0xdd27,0xd87e,0xdd28,
|
sl@0
|
1593 |
0xd87e,0xdd29,0xd87e,0xdd2a,0xd87e,0xdd2b,0xd87e,0xdd2c,0xd87e,0xdd2d,
|
sl@0
|
1594 |
0xd87e,0xdd2e,0xd87e,0xdd2f,0xd87e,0xdd30,0xd87e,0xdd31,0xd87e,0xdd32,
|
sl@0
|
1595 |
0xd87e,0xdd33,0xd87e,0xdd34,0xd87e,0xdd35,0xd87e,0xdd36,0xd87e,0xdd37,
|
sl@0
|
1596 |
0xd87e,0xdd38,0xd87e,0xdd39,0xd87e,0xdd3a,0xd87e,0xdd3b,0xd87e,0xdd3c,
|
sl@0
|
1597 |
0xd87e,0xdd3d,0xd87e,0xdd3e,0xd87e,0xdd3f,0xd87e,0xdd40,0xd87e,0xdd41,
|
sl@0
|
1598 |
0xd87e,0xdd42,0xd87e,0xdd43,0xd87e,0xdd44,0xd87e,0xdd45,0xd87e,0xdd46,
|
sl@0
|
1599 |
0xd87e,0xdd47,0xd87e,0xdd48,0xd87e,0xdd49,0xd87e,0xdd4a,0xd87e,0xdd4b,
|
sl@0
|
1600 |
0xd87e,0xdd4c,0xd87e,0xdd4d,0xd87e,0xdd4e,0xd87e,0xdd4f,0xd87e,0xdd50,
|
sl@0
|
1601 |
0xd87e,0xdd51,0xd87e,0xdd52,0xd87e,0xdd53,0xd87e,0xdd54,0xd87e,0xdd55,
|
sl@0
|
1602 |
0xd87e,0xdd56,0xd87e,0xdd57,0xd87e,0xdd58,0xd87e,0xdd59,0xd87e,0xdd5a,
|
sl@0
|
1603 |
0xd87e,0xdd5b,0xd87e,0xdd5c,0xd87e,0xdd5d,0xd87e,0xdd5e,0xd87e,0xdd5f,
|
sl@0
|
1604 |
0xd87e,0xdd60,0xd87e,0xdd61,0xd87e,0xdd62,0xd87e,0xdd63,0xd87e,0xdd64,
|
sl@0
|
1605 |
0xd87e,0xdd65,0xd87e,0xdd66,0xd87e,0xdd67,0xd87e,0xdd68,0xd87e,0xdd69,
|
sl@0
|
1606 |
0xd87e,0xdd6a,0xd87e,0xdd6b,0xd87e,0xdd6c,0xd87e,0xdd6d,0xd87e,0xdd6e,
|
sl@0
|
1607 |
0xd87e,0xdd6f,0xd87e,0xdd70,0xd87e,0xdd71,0xd87e,0xdd72,0xd87e,0xdd73,
|
sl@0
|
1608 |
0xd87e,0xdd74,0xd87e,0xdd75,0xd87e,0xdd76,0xd87e,0xdd77,0xd87e,0xdd78,
|
sl@0
|
1609 |
0xd87e,0xdd79,0xd87e,0xdd7a,0xd87e,0xdd7b,0xd87e,0xdd7c,0xd87e,0xdd7d,
|
sl@0
|
1610 |
0xd87e,0xdd7e,0xd87e,0xdd7f,0xd87e,0xdd80,0xd87e,0xdd81,0xd87e,0xdd82,
|
sl@0
|
1611 |
0xd87e,0xdd83,0xd87e,0xdd84,0xd87e,0xdd85,0xd87e,0xdd86,0xd87e,0xdd87,
|
sl@0
|
1612 |
0xd87e,0xdd88,0xd87e,0xdd89,0xd87e,0xdd8a,0xd87e,0xdd8b,0xd87e,0xdd8c,
|
sl@0
|
1613 |
0xd87e,0xdd8d,0xd87e,0xdd8e,0xd87e,0xdd8f,0xd87e,0xdd90,0xd87e,0xdd91,
|
sl@0
|
1614 |
0xd87e,0xdd92,0xd87e,0xdd93,0xd87e,0xdd94,0xd87e,0xdd95,0xd87e,0xdd96,
|
sl@0
|
1615 |
0xd87e,0xdd97,0xd87e,0xdd98,0xd87e,0xdd99,0xd87e,0xdd9a,0xd87e,0xdd9b,
|
sl@0
|
1616 |
0xd87e,0xdd9c,0xd87e,0xdd9d,0xd87e,0xdd9e,0xd87e,0xdd9f,0xd87e,0xdda0,
|
sl@0
|
1617 |
0xd87e,0xdda1,0xd87e,0xdda2,0xd87e,0xdda3,0xd87e,0xdda4,0xd87e,0xdda5,
|
sl@0
|
1618 |
0xd87e,0xdda6,0xd87e,0xdda7,0xd87e,0xdda8,0xd87e,0xdda9,0xd87e,0xddaa,
|
sl@0
|
1619 |
0xd87e,0xddab,0xd87e,0xddac,0xd87e,0xddad,0xd87e,0xddae,0xd87e,0xddaf,
|
sl@0
|
1620 |
0xd87e,0xddb0,0xd87e,0xddb1,0xd87e,0xddb2,0xd87e,0xddb3,0xd87e,0xddb4,
|
sl@0
|
1621 |
0xd87e,0xddb5,0xd87e,0xddb6,0xd87e,0xddb7,0xd87e,0xddb8,0xd87e,0xddb9,
|
sl@0
|
1622 |
0xd87e,0xddba,0xd87e,0xddbb,0xd87e,0xddbc,0xd87e,0xddbd,0xd87e,0xddbe,
|
sl@0
|
1623 |
0xd87e,0xddbf,0xd87e,0xddc0,0xd87e,0xddc1,0xd87e,0xddc2,0xd87e,0xddc3,
|
sl@0
|
1624 |
0xd87e,0xddc4,0xd87e,0xddc5,0xd87e,0xddc6,0xd87e,0xddc7,0xd87e,0xddc8,
|
sl@0
|
1625 |
0xd87e,0xddc9,0xd87e,0xddca,0xd87e,0xddcb,0xd87e,0xddcc,0xd87e,0xddcd,
|
sl@0
|
1626 |
0xd87e,0xddce,0xd87e,0xddcf,0xd87e,0xddd0,0xd87e,0xddd1,0xd87e,0xddd2,
|
sl@0
|
1627 |
0xd87e,0xddd3,0xd87e,0xddd4,0xd87e,0xddd5,0xd87e,0xddd6,0xd87e,0xddd7,
|
sl@0
|
1628 |
0xd87e,0xddd8,0xd87e,0xddd9,0xd87e,0xddda,0xd87e,0xdddb,0xd87e,0xdddc,
|
sl@0
|
1629 |
0xd87e,0xdddd,0xd87e,0xddde,0xd87e,0xdddf,0xd87e,0xdde0,0xd87e,0xdde1,
|
sl@0
|
1630 |
0xd87e,0xdde2,0xd87e,0xdde3,0xd87e,0xdde4,0xd87e,0xdde5,0xd87e,0xdde6,
|
sl@0
|
1631 |
0xd87e,0xdde7,0xd87e,0xdde8,0xd87e,0xdde9,0xd87e,0xddea,0xd87e,0xddeb,
|
sl@0
|
1632 |
0xd87e,0xddec,0xd87e,0xdded,0xd87e,0xddee,0xd87e,0xddef,0xd87e,0xddf0,
|
sl@0
|
1633 |
0xd87e,0xddf1,0xd87e,0xddf2,0xd87e,0xddf3,0xd87e,0xddf4,0xd87e,0xddf5,
|
sl@0
|
1634 |
0xd87e,0xddf6,0xd87e,0xddf7,0xd87e,0xddf8,0xd87e,0xddf9,0xd87e,0xddfa,
|
sl@0
|
1635 |
0xd87e,0xddfb,0xd87e,0xddfc,0xd87e,0xddfd,0xd87e,0xddfe,0xd87e,0xddff,
|
sl@0
|
1636 |
0xd87e,0xde00,0xd87e,0xde01,0xd87e,0xde02,0xd87e,0xde03,0xd87e,0xde04,
|
sl@0
|
1637 |
0xd87e,0xde05,0xd87e,0xde06,0xd87e,0xde07,0xd87e,0xde08,0xd87e,0xde09,
|
sl@0
|
1638 |
0xd87e,0xde0a,0xd87e,0xde0b,0xd87e,0xde0c,0xd87e,0xde0d,0xd87e,0xde0e,
|
sl@0
|
1639 |
0xd87e,0xde0f,0xd87e,0xde10,0xd87e,0xde11,0xd87e,0xde12,0xd87e,0xde13,
|
sl@0
|
1640 |
0xd87e,0xde14,0xd87e,0xde15,0xd87e,0xde16,0xd87e,0xde17,0xd87e,0xde18,
|
sl@0
|
1641 |
0xd87e,0xde19,0xd87e,0xde1a,0xd87e,0xde1b,0xd87e,0xde1c,0xd87e,0xde1d,
|
sl@0
|
1642 |
0xdb80,0xdc00,0xdbbf,0xdffd,0xdbc0,0xdc00,0xdbff,0xdffd,
|
sl@0
|
1643 |
};
|
sl@0
|
1644 |
static const TUint KLeftToRightLength = 8309 + 6998;
|
sl@0
|
1645 |
|
sl@0
|
1646 |
// This constant defines the Unicode characters in the "LeftToRightOverride" (LRO) category.
|
sl@0
|
1647 |
static const TUint16 KLeftToRightOverride[] =
|
sl@0
|
1648 |
{
|
sl@0
|
1649 |
0x202d
|
sl@0
|
1650 |
};
|
sl@0
|
1651 |
|
sl@0
|
1652 |
// This constant defines the Unicode characters in the "RightToLeft" (R) category.
|
sl@0
|
1653 |
static const TUint16 KRightToLeft[] =
|
sl@0
|
1654 |
{
|
sl@0
|
1655 |
0x05be,0x05c0,0x05c3,0x05c6,0x05d0,0x05d1,0x05d2,0x05d3,0x05d4,0x05d5,
|
sl@0
|
1656 |
0x05d6,0x05d7,0x05d8,0x05d9,0x05da,0x05db,0x05dc,0x05dd,0x05de,0x05df,
|
sl@0
|
1657 |
0x05e0,0x05e1,0x05e2,0x05e3,0x05e4,0x05e5,0x05e6,0x05e7,0x05e8,0x05e9,
|
sl@0
|
1658 |
0x05ea,0x05f0,0x05f1,0x05f2,0x05f3,0x05f4,0x07c0,0x07c1,0x07c2,0x07c3,
|
sl@0
|
1659 |
0x07c4,0x07c5,0x07c6,0x07c7,0x07c8,0x07c9,0x07ca,0x07cb,0x07cc,0x07cd,
|
sl@0
|
1660 |
0x07ce,0x07cf,0x07d0,0x07d1,0x07d2,0x07d3,0x07d4,0x07d5,0x07d6,0x07d7,
|
sl@0
|
1661 |
0x07d8,0x07d9,0x07da,0x07db,0x07dc,0x07dd,0x07de,0x07df,0x07e0,0x07e1,
|
sl@0
|
1662 |
0x07e2,0x07e3,0x07e4,0x07e5,0x07e6,0x07e7,0x07e8,0x07e9,0x07ea,0x07f4,
|
sl@0
|
1663 |
0x07f5,0x07fa,0x200f,0xfb1d,0xfb1f,0xfb20,0xfb21,0xfb22,0xfb23,0xfb24,
|
sl@0
|
1664 |
0xfb25,0xfb26,0xfb27,0xfb28,0xfb2a,0xfb2b,0xfb2c,0xfb2d,0xfb2e,0xfb2f,
|
sl@0
|
1665 |
0xfb30,0xfb31,0xfb32,0xfb33,0xfb34,0xfb35,0xfb36,0xfb38,0xfb39,0xfb3a,
|
sl@0
|
1666 |
0xfb3b,0xfb3c,0xfb3e,0xfb40,0xfb41,0xfb43,0xfb44,0xfb46,0xfb47,0xfb48,
|
sl@0
|
1667 |
0xfb49,0xfb4a,0xfb4b,0xfb4c,0xfb4d,0xfb4e,0xfb4f,0xd802,0xdc00,
|
sl@0
|
1668 |
0xd802,0xdc01,0xd802,0xdc02,0xd802,0xdc03,0xd802,0xdc04,0xd802,0xdc05,
|
sl@0
|
1669 |
0xd802,0xdc08,0xd802,0xdc0a,0xd802,0xdc0b,0xd802,0xdc0c,0xd802,0xdc0d,
|
sl@0
|
1670 |
0xd802,0xdc0e,0xd802,0xdc0f,0xd802,0xdc10,0xd802,0xdc11,0xd802,0xdc12,
|
sl@0
|
1671 |
0xd802,0xdc13,0xd802,0xdc14,0xd802,0xdc15,0xd802,0xdc16,0xd802,0xdc17,
|
sl@0
|
1672 |
0xd802,0xdc18,0xd802,0xdc19,0xd802,0xdc1a,0xd802,0xdc1b,0xd802,0xdc1c,
|
sl@0
|
1673 |
0xd802,0xdc1d,0xd802,0xdc1e,0xd802,0xdc1f,0xd802,0xdc20,0xd802,0xdc21,
|
sl@0
|
1674 |
0xd802,0xdc22,0xd802,0xdc23,0xd802,0xdc24,0xd802,0xdc25,0xd802,0xdc26,
|
sl@0
|
1675 |
0xd802,0xdc27,0xd802,0xdc28,0xd802,0xdc29,0xd802,0xdc2a,0xd802,0xdc2b,
|
sl@0
|
1676 |
0xd802,0xdc2c,0xd802,0xdc2d,0xd802,0xdc2e,0xd802,0xdc2f,0xd802,0xdc30,
|
sl@0
|
1677 |
0xd802,0xdc31,0xd802,0xdc32,0xd802,0xdc33,0xd802,0xdc34,0xd802,0xdc35,
|
sl@0
|
1678 |
0xd802,0xdc37,0xd802,0xdc38,0xd802,0xdc3c,0xd802,0xdc3f,0xd802,0xdd00,
|
sl@0
|
1679 |
0xd802,0xdd01,0xd802,0xdd02,0xd802,0xdd03,0xd802,0xdd04,0xd802,0xdd05,
|
sl@0
|
1680 |
0xd802,0xdd06,0xd802,0xdd07,0xd802,0xdd08,0xd802,0xdd09,0xd802,0xdd0a,
|
sl@0
|
1681 |
0xd802,0xdd0b,0xd802,0xdd0c,0xd802,0xdd0d,0xd802,0xdd0e,0xd802,0xdd0f,
|
sl@0
|
1682 |
0xd802,0xdd10,0xd802,0xdd11,0xd802,0xdd12,0xd802,0xdd13,0xd802,0xdd14,
|
sl@0
|
1683 |
0xd802,0xdd15,0xd802,0xdd16,0xd802,0xdd17,0xd802,0xdd18,0xd802,0xdd19,
|
sl@0
|
1684 |
0xd802,0xde00,0xd802,0xde10,0xd802,0xde11,0xd802,0xde12,0xd802,0xde13,
|
sl@0
|
1685 |
0xd802,0xde15,0xd802,0xde16,0xd802,0xde17,0xd802,0xde19,0xd802,0xde1a,
|
sl@0
|
1686 |
0xd802,0xde1b,0xd802,0xde1c,0xd802,0xde1d,0xd802,0xde1e,0xd802,0xde1f,
|
sl@0
|
1687 |
0xd802,0xde20,0xd802,0xde21,0xd802,0xde22,0xd802,0xde23,0xd802,0xde24,
|
sl@0
|
1688 |
0xd802,0xde25,0xd802,0xde26,0xd802,0xde27,0xd802,0xde28,0xd802,0xde29,
|
sl@0
|
1689 |
0xd802,0xde2a,0xd802,0xde2b,0xd802,0xde2c,0xd802,0xde2d,0xd802,0xde2e,
|
sl@0
|
1690 |
0xd802,0xde2f,0xd802,0xde30,0xd802,0xde31,0xd802,0xde32,0xd802,0xde33,
|
sl@0
|
1691 |
0xd802,0xde40,0xd802,0xde41,0xd802,0xde42,0xd802,0xde43,0xd802,0xde44,
|
sl@0
|
1692 |
0xd802,0xde45,0xd802,0xde46,0xd802,0xde47,0xd802,0xde50,0xd802,0xde51,
|
sl@0
|
1693 |
0xd802,0xde52,0xd802,0xde53,0xd802,0xde54,0xd802,0xde55,0xd802,0xde56,
|
sl@0
|
1694 |
0xd802,0xde57,0xd802,0xde58,
|
sl@0
|
1695 |
};
|
sl@0
|
1696 |
static const TUint KRightToLeftLength = 127 + 266;
|
sl@0
|
1697 |
|
sl@0
|
1698 |
// This constant defines the Unicode characters in the "RightToLeftArabic" (AL) category.
|
sl@0
|
1699 |
static const TUint16 KRightToLeftArabic[] =
|
sl@0
|
1700 |
{
|
sl@0
|
1701 |
0x0600,0x0601,0x0602,0x0603,0x060b,0x060d,0x061b,0x061e,0x061f,0x0621,
|
sl@0
|
1702 |
0x0622,0x0623,0x0624,0x0625,0x0626,0x0627,0x0628,0x0629,0x062a,0x062b,
|
sl@0
|
1703 |
0x062c,0x062d,0x062e,0x062f,0x0630,0x0631,0x0632,0x0633,0x0634,0x0635,
|
sl@0
|
1704 |
0x0636,0x0637,0x0638,0x0639,0x063a,0x0640,0x0641,0x0642,0x0643,0x0644,
|
sl@0
|
1705 |
0x0645,0x0646,0x0647,0x0648,0x0649,0x064a,0x066d,0x066e,0x066f,0x0671,
|
sl@0
|
1706 |
0x0672,0x0673,0x0674,0x0675,0x0676,0x0677,0x0678,0x0679,0x067a,0x067b,
|
sl@0
|
1707 |
0x067c,0x067d,0x067e,0x067f,0x0680,0x0681,0x0682,0x0683,0x0684,0x0685,
|
sl@0
|
1708 |
0x0686,0x0687,0x0688,0x0689,0x068a,0x068b,0x068c,0x068d,0x068e,0x068f,
|
sl@0
|
1709 |
0x0690,0x0691,0x0692,0x0693,0x0694,0x0695,0x0696,0x0697,0x0698,0x0699,
|
sl@0
|
1710 |
0x069a,0x069b,0x069c,0x069d,0x069e,0x069f,0x06a0,0x06a1,0x06a2,0x06a3,
|
sl@0
|
1711 |
0x06a4,0x06a5,0x06a6,0x06a7,0x06a8,0x06a9,0x06aa,0x06ab,0x06ac,0x06ad,
|
sl@0
|
1712 |
0x06ae,0x06af,0x06b0,0x06b1,0x06b2,0x06b3,0x06b4,0x06b5,0x06b6,0x06b7,
|
sl@0
|
1713 |
0x06b8,0x06b9,0x06ba,0x06bb,0x06bc,0x06bd,0x06be,0x06bf,0x06c0,0x06c1,
|
sl@0
|
1714 |
0x06c2,0x06c3,0x06c4,0x06c5,0x06c6,0x06c7,0x06c8,0x06c9,0x06ca,0x06cb,
|
sl@0
|
1715 |
0x06cc,0x06cd,0x06ce,0x06cf,0x06d0,0x06d1,0x06d2,0x06d3,0x06d4,0x06d5,
|
sl@0
|
1716 |
0x06dd,0x06e5,0x06e6,0x06ee,0x06ef,0x06fa,0x06fb,0x06fc,0x06fd,0x06fe,
|
sl@0
|
1717 |
0x06ff,0x0700,0x0701,0x0702,0x0703,0x0704,0x0705,0x0706,0x0707,0x0708,
|
sl@0
|
1718 |
0x0709,0x070a,0x070b,0x070c,0x070d,0x0710,0x0712,0x0713,0x0714,0x0715,
|
sl@0
|
1719 |
0x0716,0x0717,0x0718,0x0719,0x071a,0x071b,0x071c,0x071d,0x071e,0x071f,
|
sl@0
|
1720 |
0x0720,0x0721,0x0722,0x0723,0x0724,0x0725,0x0726,0x0727,0x0728,0x0729,
|
sl@0
|
1721 |
0x072a,0x072b,0x072c,0x072d,0x072e,0x072f,0x074d,0x074e,0x074f,0x0750,
|
sl@0
|
1722 |
0x0751,0x0752,0x0753,0x0754,0x0755,0x0756,0x0757,0x0758,0x0759,0x075a,
|
sl@0
|
1723 |
0x075b,0x075c,0x075d,0x075e,0x075f,0x0760,0x0761,0x0762,0x0763,0x0764,
|
sl@0
|
1724 |
0x0765,0x0766,0x0767,0x0768,0x0769,0x076a,0x076b,0x076c,0x076d,0x0780,
|
sl@0
|
1725 |
0x0781,0x0782,0x0783,0x0784,0x0785,0x0786,0x0787,0x0788,0x0789,0x078a,
|
sl@0
|
1726 |
0x078b,0x078c,0x078d,0x078e,0x078f,0x0790,0x0791,0x0792,0x0793,0x0794,
|
sl@0
|
1727 |
0x0795,0x0796,0x0797,0x0798,0x0799,0x079a,0x079b,0x079c,0x079d,0x079e,
|
sl@0
|
1728 |
0x079f,0x07a0,0x07a1,0x07a2,0x07a3,0x07a4,0x07a5,0x07b1,0xfb50,0xfb51,
|
sl@0
|
1729 |
0xfb52,0xfb53,0xfb54,0xfb55,0xfb56,0xfb57,0xfb58,0xfb59,0xfb5a,0xfb5b,
|
sl@0
|
1730 |
0xfb5c,0xfb5d,0xfb5e,0xfb5f,0xfb60,0xfb61,0xfb62,0xfb63,0xfb64,0xfb65,
|
sl@0
|
1731 |
0xfb66,0xfb67,0xfb68,0xfb69,0xfb6a,0xfb6b,0xfb6c,0xfb6d,0xfb6e,0xfb6f,
|
sl@0
|
1732 |
0xfb70,0xfb71,0xfb72,0xfb73,0xfb74,0xfb75,0xfb76,0xfb77,0xfb78,0xfb79,
|
sl@0
|
1733 |
0xfb7a,0xfb7b,0xfb7c,0xfb7d,0xfb7e,0xfb7f,0xfb80,0xfb81,0xfb82,0xfb83,
|
sl@0
|
1734 |
0xfb84,0xfb85,0xfb86,0xfb87,0xfb88,0xfb89,0xfb8a,0xfb8b,0xfb8c,0xfb8d,
|
sl@0
|
1735 |
0xfb8e,0xfb8f,0xfb90,0xfb91,0xfb92,0xfb93,0xfb94,0xfb95,0xfb96,0xfb97,
|
sl@0
|
1736 |
0xfb98,0xfb99,0xfb9a,0xfb9b,0xfb9c,0xfb9d,0xfb9e,0xfb9f,0xfba0,0xfba1,
|
sl@0
|
1737 |
0xfba2,0xfba3,0xfba4,0xfba5,0xfba6,0xfba7,0xfba8,0xfba9,0xfbaa,0xfbab,
|
sl@0
|
1738 |
0xfbac,0xfbad,0xfbae,0xfbaf,0xfbb0,0xfbb1,0xfbd3,0xfbd4,0xfbd5,0xfbd6,
|
sl@0
|
1739 |
0xfbd7,0xfbd8,0xfbd9,0xfbda,0xfbdb,0xfbdc,0xfbdd,0xfbde,0xfbdf,0xfbe0,
|
sl@0
|
1740 |
0xfbe1,0xfbe2,0xfbe3,0xfbe4,0xfbe5,0xfbe6,0xfbe7,0xfbe8,0xfbe9,0xfbea,
|
sl@0
|
1741 |
0xfbeb,0xfbec,0xfbed,0xfbee,0xfbef,0xfbf0,0xfbf1,0xfbf2,0xfbf3,0xfbf4,
|
sl@0
|
1742 |
0xfbf5,0xfbf6,0xfbf7,0xfbf8,0xfbf9,0xfbfa,0xfbfb,0xfbfc,0xfbfd,0xfbfe,
|
sl@0
|
1743 |
0xfbff,0xfc00,0xfc01,0xfc02,0xfc03,0xfc04,0xfc05,0xfc06,0xfc07,0xfc08,
|
sl@0
|
1744 |
0xfc09,0xfc0a,0xfc0b,0xfc0c,0xfc0d,0xfc0e,0xfc0f,0xfc10,0xfc11,0xfc12,
|
sl@0
|
1745 |
0xfc13,0xfc14,0xfc15,0xfc16,0xfc17,0xfc18,0xfc19,0xfc1a,0xfc1b,0xfc1c,
|
sl@0
|
1746 |
0xfc1d,0xfc1e,0xfc1f,0xfc20,0xfc21,0xfc22,0xfc23,0xfc24,0xfc25,0xfc26,
|
sl@0
|
1747 |
0xfc27,0xfc28,0xfc29,0xfc2a,0xfc2b,0xfc2c,0xfc2d,0xfc2e,0xfc2f,0xfc30,
|
sl@0
|
1748 |
0xfc31,0xfc32,0xfc33,0xfc34,0xfc35,0xfc36,0xfc37,0xfc38,0xfc39,0xfc3a,
|
sl@0
|
1749 |
0xfc3b,0xfc3c,0xfc3d,0xfc3e,0xfc3f,0xfc40,0xfc41,0xfc42,0xfc43,0xfc44,
|
sl@0
|
1750 |
0xfc45,0xfc46,0xfc47,0xfc48,0xfc49,0xfc4a,0xfc4b,0xfc4c,0xfc4d,0xfc4e,
|
sl@0
|
1751 |
0xfc4f,0xfc50,0xfc51,0xfc52,0xfc53,0xfc54,0xfc55,0xfc56,0xfc57,0xfc58,
|
sl@0
|
1752 |
0xfc59,0xfc5a,0xfc5b,0xfc5c,0xfc5d,0xfc5e,0xfc5f,0xfc60,0xfc61,0xfc62,
|
sl@0
|
1753 |
0xfc63,0xfc64,0xfc65,0xfc66,0xfc67,0xfc68,0xfc69,0xfc6a,0xfc6b,0xfc6c,
|
sl@0
|
1754 |
0xfc6d,0xfc6e,0xfc6f,0xfc70,0xfc71,0xfc72,0xfc73,0xfc74,0xfc75,0xfc76,
|
sl@0
|
1755 |
0xfc77,0xfc78,0xfc79,0xfc7a,0xfc7b,0xfc7c,0xfc7d,0xfc7e,0xfc7f,0xfc80,
|
sl@0
|
1756 |
0xfc81,0xfc82,0xfc83,0xfc84,0xfc85,0xfc86,0xfc87,0xfc88,0xfc89,0xfc8a,
|
sl@0
|
1757 |
0xfc8b,0xfc8c,0xfc8d,0xfc8e,0xfc8f,0xfc90,0xfc91,0xfc92,0xfc93,0xfc94,
|
sl@0
|
1758 |
0xfc95,0xfc96,0xfc97,0xfc98,0xfc99,0xfc9a,0xfc9b,0xfc9c,0xfc9d,0xfc9e,
|
sl@0
|
1759 |
0xfc9f,0xfca0,0xfca1,0xfca2,0xfca3,0xfca4,0xfca5,0xfca6,0xfca7,0xfca8,
|
sl@0
|
1760 |
0xfca9,0xfcaa,0xfcab,0xfcac,0xfcad,0xfcae,0xfcaf,0xfcb0,0xfcb1,0xfcb2,
|
sl@0
|
1761 |
0xfcb3,0xfcb4,0xfcb5,0xfcb6,0xfcb7,0xfcb8,0xfcb9,0xfcba,0xfcbb,0xfcbc,
|
sl@0
|
1762 |
0xfcbd,0xfcbe,0xfcbf,0xfcc0,0xfcc1,0xfcc2,0xfcc3,0xfcc4,0xfcc5,0xfcc6,
|
sl@0
|
1763 |
0xfcc7,0xfcc8,0xfcc9,0xfcca,0xfccb,0xfccc,0xfccd,0xfcce,0xfccf,0xfcd0,
|
sl@0
|
1764 |
0xfcd1,0xfcd2,0xfcd3,0xfcd4,0xfcd5,0xfcd6,0xfcd7,0xfcd8,0xfcd9,0xfcda,
|
sl@0
|
1765 |
0xfcdb,0xfcdc,0xfcdd,0xfcde,0xfcdf,0xfce0,0xfce1,0xfce2,0xfce3,0xfce4,
|
sl@0
|
1766 |
0xfce5,0xfce6,0xfce7,0xfce8,0xfce9,0xfcea,0xfceb,0xfcec,0xfced,0xfcee,
|
sl@0
|
1767 |
0xfcef,0xfcf0,0xfcf1,0xfcf2,0xfcf3,0xfcf4,0xfcf5,0xfcf6,0xfcf7,0xfcf8,
|
sl@0
|
1768 |
0xfcf9,0xfcfa,0xfcfb,0xfcfc,0xfcfd,0xfcfe,0xfcff,0xfd00,0xfd01,0xfd02,
|
sl@0
|
1769 |
0xfd03,0xfd04,0xfd05,0xfd06,0xfd07,0xfd08,0xfd09,0xfd0a,0xfd0b,0xfd0c,
|
sl@0
|
1770 |
0xfd0d,0xfd0e,0xfd0f,0xfd10,0xfd11,0xfd12,0xfd13,0xfd14,0xfd15,0xfd16,
|
sl@0
|
1771 |
0xfd17,0xfd18,0xfd19,0xfd1a,0xfd1b,0xfd1c,0xfd1d,0xfd1e,0xfd1f,0xfd20,
|
sl@0
|
1772 |
0xfd21,0xfd22,0xfd23,0xfd24,0xfd25,0xfd26,0xfd27,0xfd28,0xfd29,0xfd2a,
|
sl@0
|
1773 |
0xfd2b,0xfd2c,0xfd2d,0xfd2e,0xfd2f,0xfd30,0xfd31,0xfd32,0xfd33,0xfd34,
|
sl@0
|
1774 |
0xfd35,0xfd36,0xfd37,0xfd38,0xfd39,0xfd3a,0xfd3b,0xfd3c,0xfd3d,0xfd50,
|
sl@0
|
1775 |
0xfd51,0xfd52,0xfd53,0xfd54,0xfd55,0xfd56,0xfd57,0xfd58,0xfd59,0xfd5a,
|
sl@0
|
1776 |
0xfd5b,0xfd5c,0xfd5d,0xfd5e,0xfd5f,0xfd60,0xfd61,0xfd62,0xfd63,0xfd64,
|
sl@0
|
1777 |
0xfd65,0xfd66,0xfd67,0xfd68,0xfd69,0xfd6a,0xfd6b,0xfd6c,0xfd6d,0xfd6e,
|
sl@0
|
1778 |
0xfd6f,0xfd70,0xfd71,0xfd72,0xfd73,0xfd74,0xfd75,0xfd76,0xfd77,0xfd78,
|
sl@0
|
1779 |
0xfd79,0xfd7a,0xfd7b,0xfd7c,0xfd7d,0xfd7e,0xfd7f,0xfd80,0xfd81,0xfd82,
|
sl@0
|
1780 |
0xfd83,0xfd84,0xfd85,0xfd86,0xfd87,0xfd88,0xfd89,0xfd8a,0xfd8b,0xfd8c,
|
sl@0
|
1781 |
0xfd8d,0xfd8e,0xfd8f,0xfd92,0xfd93,0xfd94,0xfd95,0xfd96,0xfd97,0xfd98,
|
sl@0
|
1782 |
0xfd99,0xfd9a,0xfd9b,0xfd9c,0xfd9d,0xfd9e,0xfd9f,0xfda0,0xfda1,0xfda2,
|
sl@0
|
1783 |
0xfda3,0xfda4,0xfda5,0xfda6,0xfda7,0xfda8,0xfda9,0xfdaa,0xfdab,0xfdac,
|
sl@0
|
1784 |
0xfdad,0xfdae,0xfdaf,0xfdb0,0xfdb1,0xfdb2,0xfdb3,0xfdb4,0xfdb5,0xfdb6,
|
sl@0
|
1785 |
0xfdb7,0xfdb8,0xfdb9,0xfdba,0xfdbb,0xfdbc,0xfdbd,0xfdbe,0xfdbf,0xfdc0,
|
sl@0
|
1786 |
0xfdc1,0xfdc2,0xfdc3,0xfdc4,0xfdc5,0xfdc6,0xfdc7,0xfdf0,0xfdf1,0xfdf2,
|
sl@0
|
1787 |
0xfdf3,0xfdf4,0xfdf5,0xfdf6,0xfdf7,0xfdf8,0xfdf9,0xfdfa,0xfdfb,0xfdfc,
|
sl@0
|
1788 |
0xfe70,0xfe71,0xfe72,0xfe73,0xfe74,0xfe76,0xfe77,0xfe78,0xfe79,0xfe7a,
|
sl@0
|
1789 |
0xfe7b,0xfe7c,0xfe7d,0xfe7e,0xfe7f,0xfe80,0xfe81,0xfe82,0xfe83,0xfe84,
|
sl@0
|
1790 |
0xfe85,0xfe86,0xfe87,0xfe88,0xfe89,0xfe8a,0xfe8b,0xfe8c,0xfe8d,0xfe8e,
|
sl@0
|
1791 |
0xfe8f,0xfe90,0xfe91,0xfe92,0xfe93,0xfe94,0xfe95,0xfe96,0xfe97,0xfe98,
|
sl@0
|
1792 |
0xfe99,0xfe9a,0xfe9b,0xfe9c,0xfe9d,0xfe9e,0xfe9f,0xfea0,0xfea1,0xfea2,
|
sl@0
|
1793 |
0xfea3,0xfea4,0xfea5,0xfea6,0xfea7,0xfea8,0xfea9,0xfeaa,0xfeab,0xfeac,
|
sl@0
|
1794 |
0xfead,0xfeae,0xfeaf,0xfeb0,0xfeb1,0xfeb2,0xfeb3,0xfeb4,0xfeb5,0xfeb6,
|
sl@0
|
1795 |
0xfeb7,0xfeb8,0xfeb9,0xfeba,0xfebb,0xfebc,0xfebd,0xfebe,0xfebf,0xfec0,
|
sl@0
|
1796 |
0xfec1,0xfec2,0xfec3,0xfec4,0xfec5,0xfec6,0xfec7,0xfec8,0xfec9,0xfeca,
|
sl@0
|
1797 |
0xfecb,0xfecc,0xfecd,0xfece,0xfecf,0xfed0,0xfed1,0xfed2,0xfed3,0xfed4,
|
sl@0
|
1798 |
0xfed5,0xfed6,0xfed7,0xfed8,0xfed9,0xfeda,0xfedb,0xfedc,0xfedd,0xfede,
|
sl@0
|
1799 |
0xfedf,0xfee0,0xfee1,0xfee2,0xfee3,0xfee4,0xfee5,0xfee6,0xfee7,0xfee8,
|
sl@0
|
1800 |
0xfee9,0xfeea,0xfeeb,0xfeec,0xfeed,0xfeee,0xfeef,0xfef0,0xfef1,0xfef2,
|
sl@0
|
1801 |
0xfef3,0xfef4,0xfef5,0xfef6,0xfef7,0xfef8,0xfef9,0xfefa,0xfefb,0xfefc,
|
sl@0
|
1802 |
};
|
sl@0
|
1803 |
static const TUint KRightToLeftArabicLength = 1010;
|
sl@0
|
1804 |
|
sl@0
|
1805 |
// This constant defines the Unicode characters in the "RightToLeftOverride" (RLO) category.
|
sl@0
|
1806 |
static const TUint16 KRightToLeftOverride[] =
|
sl@0
|
1807 |
{
|
sl@0
|
1808 |
0x202e
|
sl@0
|
1809 |
};
|
sl@0
|
1810 |
|
sl@0
|
1811 |
// This constant defines the Unicode characters in the "PopDirectionalFormat" (PDF) category.
|
sl@0
|
1812 |
static const TUint16 KPopDirectionalFormat[] =
|
sl@0
|
1813 |
{
|
sl@0
|
1814 |
0x202c
|
sl@0
|
1815 |
};
|
sl@0
|
1816 |
|
sl@0
|
1817 |
// This constant defines the Unicode characters in the "EuropeanNumber" (EN) category.
|
sl@0
|
1818 |
static const TUint16 KEuropeanNumber[] =
|
sl@0
|
1819 |
{
|
sl@0
|
1820 |
0x0030,0x0031,0x0032,0x0033,0x0034,0x0035,0x0036,0x0037,0x0038,0x0039,
|
sl@0
|
1821 |
0x00b2,0x00b3,0x00b9,0x06f0,0x06f1,0x06f2,0x06f3,0x06f4,0x06f5,0x06f6,
|
sl@0
|
1822 |
0x06f7,0x06f8,0x06f9,0x2070,0x2074,0x2075,0x2076,0x2077,0x2078,0x2079,
|
sl@0
|
1823 |
0x2080,0x2081,0x2082,0x2083,0x2084,0x2085,0x2086,0x2087,0x2088,0x2089,
|
sl@0
|
1824 |
0x2488,0x2489,0x248a,0x248b,0x248c,0x248d,0x248e,0x248f,0x2490,0x2491,
|
sl@0
|
1825 |
0x2492,0x2493,0x2494,0x2495,0x2496,0x2497,0x2498,0x2499,0x249a,0x249b,
|
sl@0
|
1826 |
0xff10,0xff11,0xff12,0xff13,0xff14,0xff15,0xff16,0xff17,0xff18,0xff19,
|
sl@0
|
1827 |
0xd835,0xdfce,0xd835,0xdfcf,0xd835,0xdfd0,0xd835,0xdfd1,0xd835,0xdfd2,
|
sl@0
|
1828 |
0xd835,0xdfd3,0xd835,0xdfd4,0xd835,0xdfd5,0xd835,0xdfd6,0xd835,0xdfd7,
|
sl@0
|
1829 |
0xd835,0xdfd8,0xd835,0xdfd9,0xd835,0xdfda,0xd835,0xdfdb,0xd835,0xdfdc,
|
sl@0
|
1830 |
0xd835,0xdfdd,0xd835,0xdfde,0xd835,0xdfdf,0xd835,0xdfe0,0xd835,0xdfe1,
|
sl@0
|
1831 |
0xd835,0xdfe2,0xd835,0xdfe3,0xd835,0xdfe4,0xd835,0xdfe5,0xd835,0xdfe6,
|
sl@0
|
1832 |
0xd835,0xdfe7,0xd835,0xdfe8,0xd835,0xdfe9,0xd835,0xdfea,0xd835,0xdfeb,
|
sl@0
|
1833 |
0xd835,0xdfec,0xd835,0xdfed,0xd835,0xdfee,0xd835,0xdfef,0xd835,0xdff0,
|
sl@0
|
1834 |
0xd835,0xdff1,0xd835,0xdff2,0xd835,0xdff3,0xd835,0xdff4,0xd835,0xdff5,
|
sl@0
|
1835 |
0xd835,0xdff6,0xd835,0xdff7,0xd835,0xdff8,0xd835,0xdff9,0xd835,0xdffa,
|
sl@0
|
1836 |
0xd835,0xdffb,0xd835,0xdffc,0xd835,0xdffd,0xd835,0xdffe,0xd835,0xdfff,
|
sl@0
|
1837 |
};
|
sl@0
|
1838 |
static const TUint KEuropeanNumberLength = 70 + 100;
|
sl@0
|
1839 |
|
sl@0
|
1840 |
// This constant defines the Unicode characters in the "EuropeanNumberTerminator" (ET) category.
|
sl@0
|
1841 |
static const TUint16 KEuropeanNumberTerminator[] =
|
sl@0
|
1842 |
{
|
sl@0
|
1843 |
0x0023,0x0024,0x0025,0x00a2,0x00a3,0x00a4,0x00a5,0x00b0,0x00b1,0x066a,
|
sl@0
|
1844 |
0x09f2,0x09f3,0x0af1,0x0bf9,0x0e3f,0x17db,0x2030,0x2031,0x2032,0x2033,
|
sl@0
|
1845 |
0x2034,0x20a0,0x20a1,0x20a2,0x20a3,0x20a4,0x20a5,0x20a6,0x20a7,0x20a8,
|
sl@0
|
1846 |
0x20a9,0x20aa,0x20ab,0x20ac,0x20ad,0x20ae,0x20af,0x20b0,0x20b1,0x20b2,
|
sl@0
|
1847 |
0x20b3,0x20b4,0x20b5,0x212e,0x2213,0xfe5f,0xfe69,0xfe6a,0xff03,0xff04,
|
sl@0
|
1848 |
0xff05,0xffe0,0xffe1,0xffe5,0xffe6,
|
sl@0
|
1849 |
};
|
sl@0
|
1850 |
static const TUint KEuropeanNumberTerminatorLength = 55;
|
sl@0
|
1851 |
|
sl@0
|
1852 |
|
sl@0
|
1853 |
// This constant defines the Unicode characters in the "ArabicNumber" (AN) category.
|
sl@0
|
1854 |
static const TUint16 KArabicNumber[] =
|
sl@0
|
1855 |
{
|
sl@0
|
1856 |
0x0660,0x0661,0x0662,0x0663,0x0664,0x0665,0x0666,0x0667,0x0668,0x0669,
|
sl@0
|
1857 |
0x066b,0x066c,
|
sl@0
|
1858 |
};
|
sl@0
|
1859 |
|
sl@0
|
1860 |
static const TUint KArabicNumberLength = 12;
|
sl@0
|
1861 |
|
sl@0
|
1862 |
// This constant defines the Unicode characters in the "OtherNeutrals" category.
|
sl@0
|
1863 |
// A conventional _LIT cannot be used here because of the Microsoft limit of
|
sl@0
|
1864 |
// 2048 bytes for literal strings.
|
sl@0
|
1865 |
static const TUint16 KOtherNeutrals[] =
|
sl@0
|
1866 |
{
|
sl@0
|
1867 |
0x0021,0x0022,0x0026,0x0027,0x0028,0x0029,0x002a,0x003b,0x003c,0x003d,
|
sl@0
|
1868 |
0x003e,0x003f,0x0040,0x005b,0x005c,0x005d,0x005e,0x005f,0x0060,0x007b,
|
sl@0
|
1869 |
0x007c,0x007d,0x007e,0x00a1,0x00a6,0x00a7,0x00a8,0x00a9,0x00ab,0x00ac,
|
sl@0
|
1870 |
0x00ae,0x00af,0x00b4,0x00b6,0x00b7,0x00b8,0x00bb,0x00bc,0x00bd,0x00be,
|
sl@0
|
1871 |
0x00bf,0x00d7,0x00f7,0x02b9,0x02ba,0x02c2,0x02c3,0x02c4,0x02c5,0x02c6,
|
sl@0
|
1872 |
0x02c7,0x02c8,0x02c9,0x02ca,0x02cb,0x02cc,0x02cd,0x02ce,0x02cf,0x02d2,
|
sl@0
|
1873 |
0x02d3,0x02d4,0x02d5,0x02d6,0x02d7,0x02d8,0x02d9,0x02da,0x02db,0x02dc,
|
sl@0
|
1874 |
0x02dd,0x02de,0x02df,0x02e5,0x02e6,0x02e7,0x02e8,0x02e9,0x02ea,0x02eb,
|
sl@0
|
1875 |
0x02ec,0x02ed,0x02ef,0x02f0,0x02f1,0x02f2,0x02f3,0x02f4,0x02f5,0x02f6,
|
sl@0
|
1876 |
0x02f7,0x02f8,0x02f9,0x02fa,0x02fb,0x02fc,0x02fd,0x02fe,0x02ff,0x0374,
|
sl@0
|
1877 |
0x0375,0x037e,0x0384,0x0385,0x0387,0x03f6,0x058a,0x060e,0x060f,0x06e9,
|
sl@0
|
1878 |
0x07f6,0x07f7,0x07f8,0x07f9,0x0bf3,0x0bf4,0x0bf5,0x0bf6,0x0bf7,0x0bf8,
|
sl@0
|
1879 |
0x0bfa,0x0cf1,0x0cf2,0x0f3a,0x0f3b,0x0f3c,0x0f3d,0x1390,0x1391,0x1392,
|
sl@0
|
1880 |
0x1393,0x1394,0x1395,0x1396,0x1397,0x1398,0x1399,0x169b,0x169c,0x17f0,
|
sl@0
|
1881 |
0x17f1,0x17f2,0x17f3,0x17f4,0x17f5,0x17f6,0x17f7,0x17f8,0x17f9,0x1800,
|
sl@0
|
1882 |
0x1801,0x1802,0x1803,0x1804,0x1805,0x1806,0x1807,0x1808,0x1809,0x180a,
|
sl@0
|
1883 |
0x1940,0x1944,0x1945,0x19de,0x19df,0x19e0,0x19e1,0x19e2,0x19e3,0x19e4,
|
sl@0
|
1884 |
0x19e5,0x19e6,0x19e7,0x19e8,0x19e9,0x19ea,0x19eb,0x19ec,0x19ed,0x19ee,
|
sl@0
|
1885 |
0x19ef,0x19f0,0x19f1,0x19f2,0x19f3,0x19f4,0x19f5,0x19f6,0x19f7,0x19f8,
|
sl@0
|
1886 |
0x19f9,0x19fa,0x19fb,0x19fc,0x19fd,0x19fe,0x19ff,0x1fbd,0x1fbf,0x1fc0,
|
sl@0
|
1887 |
0x1fc1,0x1fcd,0x1fce,0x1fcf,0x1fdd,0x1fde,0x1fdf,0x1fed,0x1fee,0x1fef,
|
sl@0
|
1888 |
0x1ffd,0x1ffe,0x2010,0x2011,0x2012,0x2013,0x2014,0x2015,0x2016,0x2017,
|
sl@0
|
1889 |
0x2018,0x2019,0x201a,0x201b,0x201c,0x201d,0x201e,0x201f,0x2020,0x2021,
|
sl@0
|
1890 |
0x2022,0x2023,0x2024,0x2025,0x2026,0x2027,0x2035,0x2036,0x2037,0x2038,
|
sl@0
|
1891 |
0x2039,0x203a,0x203b,0x203c,0x203d,0x203e,0x203f,0x2040,0x2041,0x2042,
|
sl@0
|
1892 |
0x2043,0x2045,0x2046,0x2047,0x2048,0x2049,0x204a,0x204b,0x204c,0x204d,
|
sl@0
|
1893 |
0x204e,0x204f,0x2050,0x2051,0x2052,0x2053,0x2054,0x2055,0x2056,0x2057,
|
sl@0
|
1894 |
0x2058,0x2059,0x205a,0x205b,0x205c,0x205d,0x205e,0x207c,0x207d,0x207e,
|
sl@0
|
1895 |
0x208c,0x208d,0x208e,0x2100,0x2101,0x2103,0x2104,0x2105,0x2106,0x2108,
|
sl@0
|
1896 |
0x2109,0x2114,0x2116,0x2117,0x2118,0x211e,0x211f,0x2120,0x2121,0x2122,
|
sl@0
|
1897 |
0x2123,0x2125,0x2127,0x2129,0x213a,0x213b,0x2140,0x2141,0x2142,0x2143,
|
sl@0
|
1898 |
0x2144,0x214a,0x214b,0x214c,0x214d,0x2153,0x2154,0x2155,0x2156,0x2157,
|
sl@0
|
1899 |
0x2158,0x2159,0x215a,0x215b,0x215c,0x215d,0x215e,0x215f,0x2190,0x2191,
|
sl@0
|
1900 |
0x2192,0x2193,0x2194,0x2195,0x2196,0x2197,0x2198,0x2199,0x219a,0x219b,
|
sl@0
|
1901 |
0x219c,0x219d,0x219e,0x219f,0x21a0,0x21a1,0x21a2,0x21a3,0x21a4,0x21a5,
|
sl@0
|
1902 |
0x21a6,0x21a7,0x21a8,0x21a9,0x21aa,0x21ab,0x21ac,0x21ad,0x21ae,0x21af,
|
sl@0
|
1903 |
0x21b0,0x21b1,0x21b2,0x21b3,0x21b4,0x21b5,0x21b6,0x21b7,0x21b8,0x21b9,
|
sl@0
|
1904 |
0x21ba,0x21bb,0x21bc,0x21bd,0x21be,0x21bf,0x21c0,0x21c1,0x21c2,0x21c3,
|
sl@0
|
1905 |
0x21c4,0x21c5,0x21c6,0x21c7,0x21c8,0x21c9,0x21ca,0x21cb,0x21cc,0x21cd,
|
sl@0
|
1906 |
0x21ce,0x21cf,0x21d0,0x21d1,0x21d2,0x21d3,0x21d4,0x21d5,0x21d6,0x21d7,
|
sl@0
|
1907 |
0x21d8,0x21d9,0x21da,0x21db,0x21dc,0x21dd,0x21de,0x21df,0x21e0,0x21e1,
|
sl@0
|
1908 |
0x21e2,0x21e3,0x21e4,0x21e5,0x21e6,0x21e7,0x21e8,0x21e9,0x21ea,0x21eb,
|
sl@0
|
1909 |
0x21ec,0x21ed,0x21ee,0x21ef,0x21f0,0x21f1,0x21f2,0x21f3,0x21f4,0x21f5,
|
sl@0
|
1910 |
0x21f6,0x21f7,0x21f8,0x21f9,0x21fa,0x21fb,0x21fc,0x21fd,0x21fe,0x21ff,
|
sl@0
|
1911 |
0x2200,0x2201,0x2202,0x2203,0x2204,0x2205,0x2206,0x2207,0x2208,0x2209,
|
sl@0
|
1912 |
0x220a,0x220b,0x220c,0x220d,0x220e,0x220f,0x2210,0x2211,0x2214,0x2215,
|
sl@0
|
1913 |
0x2216,0x2217,0x2218,0x2219,0x221a,0x221b,0x221c,0x221d,0x221e,0x221f,
|
sl@0
|
1914 |
0x2220,0x2221,0x2222,0x2223,0x2224,0x2225,0x2226,0x2227,0x2228,0x2229,
|
sl@0
|
1915 |
0x222a,0x222b,0x222c,0x222d,0x222e,0x222f,0x2230,0x2231,0x2232,0x2233,
|
sl@0
|
1916 |
0x2234,0x2235,0x2236,0x2237,0x2238,0x2239,0x223a,0x223b,0x223c,0x223d,
|
sl@0
|
1917 |
0x223e,0x223f,0x2240,0x2241,0x2242,0x2243,0x2244,0x2245,0x2246,0x2247,
|
sl@0
|
1918 |
0x2248,0x2249,0x224a,0x224b,0x224c,0x224d,0x224e,0x224f,0x2250,0x2251,
|
sl@0
|
1919 |
0x2252,0x2253,0x2254,0x2255,0x2256,0x2257,0x2258,0x2259,0x225a,0x225b,
|
sl@0
|
1920 |
0x225c,0x225d,0x225e,0x225f,0x2260,0x2261,0x2262,0x2263,0x2264,0x2265,
|
sl@0
|
1921 |
0x2266,0x2267,0x2268,0x2269,0x226a,0x226b,0x226c,0x226d,0x226e,0x226f,
|
sl@0
|
1922 |
0x2270,0x2271,0x2272,0x2273,0x2274,0x2275,0x2276,0x2277,0x2278,0x2279,
|
sl@0
|
1923 |
0x227a,0x227b,0x227c,0x227d,0x227e,0x227f,0x2280,0x2281,0x2282,0x2283,
|
sl@0
|
1924 |
0x2284,0x2285,0x2286,0x2287,0x2288,0x2289,0x228a,0x228b,0x228c,0x228d,
|
sl@0
|
1925 |
0x228e,0x228f,0x2290,0x2291,0x2292,0x2293,0x2294,0x2295,0x2296,0x2297,
|
sl@0
|
1926 |
0x2298,0x2299,0x229a,0x229b,0x229c,0x229d,0x229e,0x229f,0x22a0,0x22a1,
|
sl@0
|
1927 |
0x22a2,0x22a3,0x22a4,0x22a5,0x22a6,0x22a7,0x22a8,0x22a9,0x22aa,0x22ab,
|
sl@0
|
1928 |
0x22ac,0x22ad,0x22ae,0x22af,0x22b0,0x22b1,0x22b2,0x22b3,0x22b4,0x22b5,
|
sl@0
|
1929 |
0x22b6,0x22b7,0x22b8,0x22b9,0x22ba,0x22bb,0x22bc,0x22bd,0x22be,0x22bf,
|
sl@0
|
1930 |
0x22c0,0x22c1,0x22c2,0x22c3,0x22c4,0x22c5,0x22c6,0x22c7,0x22c8,0x22c9,
|
sl@0
|
1931 |
0x22ca,0x22cb,0x22cc,0x22cd,0x22ce,0x22cf,0x22d0,0x22d1,0x22d2,0x22d3,
|
sl@0
|
1932 |
0x22d4,0x22d5,0x22d6,0x22d7,0x22d8,0x22d9,0x22da,0x22db,0x22dc,0x22dd,
|
sl@0
|
1933 |
0x22de,0x22df,0x22e0,0x22e1,0x22e2,0x22e3,0x22e4,0x22e5,0x22e6,0x22e7,
|
sl@0
|
1934 |
0x22e8,0x22e9,0x22ea,0x22eb,0x22ec,0x22ed,0x22ee,0x22ef,0x22f0,0x22f1,
|
sl@0
|
1935 |
0x22f2,0x22f3,0x22f4,0x22f5,0x22f6,0x22f7,0x22f8,0x22f9,0x22fa,0x22fb,
|
sl@0
|
1936 |
0x22fc,0x22fd,0x22fe,0x22ff,0x2300,0x2301,0x2302,0x2303,0x2304,0x2305,
|
sl@0
|
1937 |
0x2306,0x2307,0x2308,0x2309,0x230a,0x230b,0x230c,0x230d,0x230e,0x230f,
|
sl@0
|
1938 |
0x2310,0x2311,0x2312,0x2313,0x2314,0x2315,0x2316,0x2317,0x2318,0x2319,
|
sl@0
|
1939 |
0x231a,0x231b,0x231c,0x231d,0x231e,0x231f,0x2320,0x2321,0x2322,0x2323,
|
sl@0
|
1940 |
0x2324,0x2325,0x2326,0x2327,0x2328,0x2329,0x232a,0x232b,0x232c,0x232d,
|
sl@0
|
1941 |
0x232e,0x232f,0x2330,0x2331,0x2332,0x2333,0x2334,0x2335,0x237b,0x237c,
|
sl@0
|
1942 |
0x237d,0x237e,0x237f,0x2380,0x2381,0x2382,0x2383,0x2384,0x2385,0x2386,
|
sl@0
|
1943 |
0x2387,0x2388,0x2389,0x238a,0x238b,0x238c,0x238d,0x238e,0x238f,0x2390,
|
sl@0
|
1944 |
0x2391,0x2392,0x2393,0x2394,0x2396,0x2397,0x2398,0x2399,0x239a,0x239b,
|
sl@0
|
1945 |
0x239c,0x239d,0x239e,0x239f,0x23a0,0x23a1,0x23a2,0x23a3,0x23a4,0x23a5,
|
sl@0
|
1946 |
0x23a6,0x23a7,0x23a8,0x23a9,0x23aa,0x23ab,0x23ac,0x23ad,0x23ae,0x23af,
|
sl@0
|
1947 |
0x23b0,0x23b1,0x23b2,0x23b3,0x23b4,0x23b5,0x23b6,0x23b7,0x23b8,0x23b9,
|
sl@0
|
1948 |
0x23ba,0x23bb,0x23bc,0x23bd,0x23be,0x23bf,0x23c0,0x23c1,0x23c2,0x23c3,
|
sl@0
|
1949 |
0x23c4,0x23c5,0x23c6,0x23c7,0x23c8,0x23c9,0x23ca,0x23cb,0x23cc,0x23cd,
|
sl@0
|
1950 |
0x23ce,0x23cf,0x23d0,0x23d1,0x23d2,0x23d3,0x23d4,0x23d5,0x23d6,0x23d7,
|
sl@0
|
1951 |
0x23d8,0x23d9,0x23da,0x23db,0x23dc,0x23dd,0x23de,0x23df,0x23e0,0x23e1,
|
sl@0
|
1952 |
0x23e2,0x23e3,0x23e4,0x23e5,0x23e6,0x23e7,0x2400,0x2401,0x2402,0x2403,
|
sl@0
|
1953 |
0x2404,0x2405,0x2406,0x2407,0x2408,0x2409,0x240a,0x240b,0x240c,0x240d,
|
sl@0
|
1954 |
0x240e,0x240f,0x2410,0x2411,0x2412,0x2413,0x2414,0x2415,0x2416,0x2417,
|
sl@0
|
1955 |
0x2418,0x2419,0x241a,0x241b,0x241c,0x241d,0x241e,0x241f,0x2420,0x2421,
|
sl@0
|
1956 |
0x2422,0x2423,0x2424,0x2425,0x2426,0x2440,0x2441,0x2442,0x2443,0x2444,
|
sl@0
|
1957 |
0x2445,0x2446,0x2447,0x2448,0x2449,0x244a,0x2460,0x2461,0x2462,0x2463,
|
sl@0
|
1958 |
0x2464,0x2465,0x2466,0x2467,0x2468,0x2469,0x246a,0x246b,0x246c,0x246d,
|
sl@0
|
1959 |
0x246e,0x246f,0x2470,0x2471,0x2472,0x2473,0x2474,0x2475,0x2476,0x2477,
|
sl@0
|
1960 |
0x2478,0x2479,0x247a,0x247b,0x247c,0x247d,0x247e,0x247f,0x2480,0x2481,
|
sl@0
|
1961 |
0x2482,0x2483,0x2484,0x2485,0x2486,0x2487,0x24ea,0x24eb,0x24ec,0x24ed,
|
sl@0
|
1962 |
0x24ee,0x24ef,0x24f0,0x24f1,0x24f2,0x24f3,0x24f4,0x24f5,0x24f6,0x24f7,
|
sl@0
|
1963 |
0x24f8,0x24f9,0x24fa,0x24fb,0x24fc,0x24fd,0x24fe,0x24ff,0x2500,0x2501,
|
sl@0
|
1964 |
0x2502,0x2503,0x2504,0x2505,0x2506,0x2507,0x2508,0x2509,0x250a,0x250b,
|
sl@0
|
1965 |
0x250c,0x250d,0x250e,0x250f,0x2510,0x2511,0x2512,0x2513,0x2514,0x2515,
|
sl@0
|
1966 |
0x2516,0x2517,0x2518,0x2519,0x251a,0x251b,0x251c,0x251d,0x251e,0x251f,
|
sl@0
|
1967 |
0x2520,0x2521,0x2522,0x2523,0x2524,0x2525,0x2526,0x2527,0x2528,0x2529,
|
sl@0
|
1968 |
0x252a,0x252b,0x252c,0x252d,0x252e,0x252f,0x2530,0x2531,0x2532,0x2533,
|
sl@0
|
1969 |
0x2534,0x2535,0x2536,0x2537,0x2538,0x2539,0x253a,0x253b,0x253c,0x253d,
|
sl@0
|
1970 |
0x253e,0x253f,0x2540,0x2541,0x2542,0x2543,0x2544,0x2545,0x2546,0x2547,
|
sl@0
|
1971 |
0x2548,0x2549,0x254a,0x254b,0x254c,0x254d,0x254e,0x254f,0x2550,0x2551,
|
sl@0
|
1972 |
0x2552,0x2553,0x2554,0x2555,0x2556,0x2557,0x2558,0x2559,0x255a,0x255b,
|
sl@0
|
1973 |
0x255c,0x255d,0x255e,0x255f,0x2560,0x2561,0x2562,0x2563,0x2564,0x2565,
|
sl@0
|
1974 |
0x2566,0x2567,0x2568,0x2569,0x256a,0x256b,0x256c,0x256d,0x256e,0x256f,
|
sl@0
|
1975 |
0x2570,0x2571,0x2572,0x2573,0x2574,0x2575,0x2576,0x2577,0x2578,0x2579,
|
sl@0
|
1976 |
0x257a,0x257b,0x257c,0x257d,0x257e,0x257f,0x2580,0x2581,0x2582,0x2583,
|
sl@0
|
1977 |
0x2584,0x2585,0x2586,0x2587,0x2588,0x2589,0x258a,0x258b,0x258c,0x258d,
|
sl@0
|
1978 |
0x258e,0x258f,0x2590,0x2591,0x2592,0x2593,0x2594,0x2595,0x2596,0x2597,
|
sl@0
|
1979 |
0x2598,0x2599,0x259a,0x259b,0x259c,0x259d,0x259e,0x259f,0x25a0,0x25a1,
|
sl@0
|
1980 |
0x25a2,0x25a3,0x25a4,0x25a5,0x25a6,0x25a7,0x25a8,0x25a9,0x25aa,0x25ab,
|
sl@0
|
1981 |
0x25ac,0x25ad,0x25ae,0x25af,0x25b0,0x25b1,0x25b2,0x25b3,0x25b4,0x25b5,
|
sl@0
|
1982 |
0x25b6,0x25b7,0x25b8,0x25b9,0x25ba,0x25bb,0x25bc,0x25bd,0x25be,0x25bf,
|
sl@0
|
1983 |
0x25c0,0x25c1,0x25c2,0x25c3,0x25c4,0x25c5,0x25c6,0x25c7,0x25c8,0x25c9,
|
sl@0
|
1984 |
0x25ca,0x25cb,0x25cc,0x25cd,0x25ce,0x25cf,0x25d0,0x25d1,0x25d2,0x25d3,
|
sl@0
|
1985 |
0x25d4,0x25d5,0x25d6,0x25d7,0x25d8,0x25d9,0x25da,0x25db,0x25dc,0x25dd,
|
sl@0
|
1986 |
0x25de,0x25df,0x25e0,0x25e1,0x25e2,0x25e3,0x25e4,0x25e5,0x25e6,0x25e7,
|
sl@0
|
1987 |
0x25e8,0x25e9,0x25ea,0x25eb,0x25ec,0x25ed,0x25ee,0x25ef,0x25f0,0x25f1,
|
sl@0
|
1988 |
0x25f2,0x25f3,0x25f4,0x25f5,0x25f6,0x25f7,0x25f8,0x25f9,0x25fa,0x25fb,
|
sl@0
|
1989 |
0x25fc,0x25fd,0x25fe,0x25ff,0x2600,0x2601,0x2602,0x2603,0x2604,0x2605,
|
sl@0
|
1990 |
0x2606,0x2607,0x2608,0x2609,0x260a,0x260b,0x260c,0x260d,0x260e,0x260f,
|
sl@0
|
1991 |
0x2610,0x2611,0x2612,0x2613,0x2614,0x2615,0x2616,0x2617,0x2618,0x2619,
|
sl@0
|
1992 |
0x261a,0x261b,0x261c,0x261d,0x261e,0x261f,0x2620,0x2621,0x2622,0x2623,
|
sl@0
|
1993 |
0x2624,0x2625,0x2626,0x2627,0x2628,0x2629,0x262a,0x262b,0x262c,0x262d,
|
sl@0
|
1994 |
0x262e,0x262f,0x2630,0x2631,0x2632,0x2633,0x2634,0x2635,0x2636,0x2637,
|
sl@0
|
1995 |
0x2638,0x2639,0x263a,0x263b,0x263c,0x263d,0x263e,0x263f,0x2640,0x2641,
|
sl@0
|
1996 |
0x2642,0x2643,0x2644,0x2645,0x2646,0x2647,0x2648,0x2649,0x264a,0x264b,
|
sl@0
|
1997 |
0x264c,0x264d,0x264e,0x264f,0x2650,0x2651,0x2652,0x2653,0x2654,0x2655,
|
sl@0
|
1998 |
0x2656,0x2657,0x2658,0x2659,0x265a,0x265b,0x265c,0x265d,0x265e,0x265f,
|
sl@0
|
1999 |
0x2660,0x2661,0x2662,0x2663,0x2664,0x2665,0x2666,0x2667,0x2668,0x2669,
|
sl@0
|
2000 |
0x266a,0x266b,0x266c,0x266d,0x266e,0x266f,0x2670,0x2671,0x2672,0x2673,
|
sl@0
|
2001 |
0x2674,0x2675,0x2676,0x2677,0x2678,0x2679,0x267a,0x267b,0x267c,0x267d,
|
sl@0
|
2002 |
0x267e,0x267f,0x2680,0x2681,0x2682,0x2683,0x2684,0x2685,0x2686,0x2687,
|
sl@0
|
2003 |
0x2688,0x2689,0x268a,0x268b,0x268c,0x268d,0x268e,0x268f,0x2690,0x2691,
|
sl@0
|
2004 |
0x2692,0x2693,0x2694,0x2695,0x2696,0x2697,0x2698,0x2699,0x269a,0x269b,
|
sl@0
|
2005 |
0x269c,0x26a0,0x26a1,0x26a2,0x26a3,0x26a4,0x26a5,0x26a6,0x26a7,0x26a8,
|
sl@0
|
2006 |
0x26a9,0x26aa,0x26ab,0x26ad,0x26ae,0x26af,0x26b0,0x26b1,0x26b2,0x2701,
|
sl@0
|
2007 |
0x2702,0x2703,0x2704,0x2706,0x2707,0x2708,0x2709,0x270c,0x270d,0x270e,
|
sl@0
|
2008 |
0x270f,0x2710,0x2711,0x2712,0x2713,0x2714,0x2715,0x2716,0x2717,0x2718,
|
sl@0
|
2009 |
0x2719,0x271a,0x271b,0x271c,0x271d,0x271e,0x271f,0x2720,0x2721,0x2722,
|
sl@0
|
2010 |
0x2723,0x2724,0x2725,0x2726,0x2727,0x2729,0x272a,0x272b,0x272c,0x272d,
|
sl@0
|
2011 |
0x272e,0x272f,0x2730,0x2731,0x2732,0x2733,0x2734,0x2735,0x2736,0x2737,
|
sl@0
|
2012 |
0x2738,0x2739,0x273a,0x273b,0x273c,0x273d,0x273e,0x273f,0x2740,0x2741,
|
sl@0
|
2013 |
0x2742,0x2743,0x2744,0x2745,0x2746,0x2747,0x2748,0x2749,0x274a,0x274b,
|
sl@0
|
2014 |
0x274d,0x274f,0x2750,0x2751,0x2752,0x2756,0x2758,0x2759,0x275a,0x275b,
|
sl@0
|
2015 |
0x275c,0x275d,0x275e,0x2761,0x2762,0x2763,0x2764,0x2765,0x2766,0x2767,
|
sl@0
|
2016 |
0x2768,0x2769,0x276a,0x276b,0x276c,0x276d,0x276e,0x276f,0x2770,0x2771,
|
sl@0
|
2017 |
0x2772,0x2773,0x2774,0x2775,0x2776,0x2777,0x2778,0x2779,0x277a,0x277b,
|
sl@0
|
2018 |
0x277c,0x277d,0x277e,0x277f,0x2780,0x2781,0x2782,0x2783,0x2784,0x2785,
|
sl@0
|
2019 |
0x2786,0x2787,0x2788,0x2789,0x278a,0x278b,0x278c,0x278d,0x278e,0x278f,
|
sl@0
|
2020 |
0x2790,0x2791,0x2792,0x2793,0x2794,0x2798,0x2799,0x279a,0x279b,0x279c,
|
sl@0
|
2021 |
0x279d,0x279e,0x279f,0x27a0,0x27a1,0x27a2,0x27a3,0x27a4,0x27a5,0x27a6,
|
sl@0
|
2022 |
0x27a7,0x27a8,0x27a9,0x27aa,0x27ab,0x27ac,0x27ad,0x27ae,0x27af,0x27b1,
|
sl@0
|
2023 |
0x27b2,0x27b3,0x27b4,0x27b5,0x27b6,0x27b7,0x27b8,0x27b9,0x27ba,0x27bb,
|
sl@0
|
2024 |
0x27bc,0x27bd,0x27be,0x27c0,0x27c1,0x27c2,0x27c3,0x27c4,0x27c5,0x27c6,
|
sl@0
|
2025 |
0x27c7,0x27c8,0x27c9,0x27ca,0x27d0,0x27d1,0x27d2,0x27d3,0x27d4,0x27d5,
|
sl@0
|
2026 |
0x27d6,0x27d7,0x27d8,0x27d9,0x27da,0x27db,0x27dc,0x27dd,0x27de,0x27df,
|
sl@0
|
2027 |
0x27e0,0x27e1,0x27e2,0x27e3,0x27e4,0x27e5,0x27e6,0x27e7,0x27e8,0x27e9,
|
sl@0
|
2028 |
0x27ea,0x27eb,0x27f0,0x27f1,0x27f2,0x27f3,0x27f4,0x27f5,0x27f6,0x27f7,
|
sl@0
|
2029 |
0x27f8,0x27f9,0x27fa,0x27fb,0x27fc,0x27fd,0x27fe,0x27ff,0x2900,0x2901,
|
sl@0
|
2030 |
0x2902,0x2903,0x2904,0x2905,0x2906,0x2907,0x2908,0x2909,0x290a,0x290b,
|
sl@0
|
2031 |
0x290c,0x290d,0x290e,0x290f,0x2910,0x2911,0x2912,0x2913,0x2914,0x2915,
|
sl@0
|
2032 |
0x2916,0x2917,0x2918,0x2919,0x291a,0x291b,0x291c,0x291d,0x291e,0x291f,
|
sl@0
|
2033 |
0x2920,0x2921,0x2922,0x2923,0x2924,0x2925,0x2926,0x2927,0x2928,0x2929,
|
sl@0
|
2034 |
0x292a,0x292b,0x292c,0x292d,0x292e,0x292f,0x2930,0x2931,0x2932,0x2933,
|
sl@0
|
2035 |
0x2934,0x2935,0x2936,0x2937,0x2938,0x2939,0x293a,0x293b,0x293c,0x293d,
|
sl@0
|
2036 |
0x293e,0x293f,0x2940,0x2941,0x2942,0x2943,0x2944,0x2945,0x2946,0x2947,
|
sl@0
|
2037 |
0x2948,0x2949,0x294a,0x294b,0x294c,0x294d,0x294e,0x294f,0x2950,0x2951,
|
sl@0
|
2038 |
0x2952,0x2953,0x2954,0x2955,0x2956,0x2957,0x2958,0x2959,0x295a,0x295b,
|
sl@0
|
2039 |
0x295c,0x295d,0x295e,0x295f,0x2960,0x2961,0x2962,0x2963,0x2964,0x2965,
|
sl@0
|
2040 |
0x2966,0x2967,0x2968,0x2969,0x296a,0x296b,0x296c,0x296d,0x296e,0x296f,
|
sl@0
|
2041 |
0x2970,0x2971,0x2972,0x2973,0x2974,0x2975,0x2976,0x2977,0x2978,0x2979,
|
sl@0
|
2042 |
0x297a,0x297b,0x297c,0x297d,0x297e,0x297f,0x2980,0x2981,0x2982,0x2983,
|
sl@0
|
2043 |
0x2984,0x2985,0x2986,0x2987,0x2988,0x2989,0x298a,0x298b,0x298c,0x298d,
|
sl@0
|
2044 |
0x298e,0x298f,0x2990,0x2991,0x2992,0x2993,0x2994,0x2995,0x2996,0x2997,
|
sl@0
|
2045 |
0x2998,0x2999,0x299a,0x299b,0x299c,0x299d,0x299e,0x299f,0x29a0,0x29a1,
|
sl@0
|
2046 |
0x29a2,0x29a3,0x29a4,0x29a5,0x29a6,0x29a7,0x29a8,0x29a9,0x29aa,0x29ab,
|
sl@0
|
2047 |
0x29ac,0x29ad,0x29ae,0x29af,0x29b0,0x29b1,0x29b2,0x29b3,0x29b4,0x29b5,
|
sl@0
|
2048 |
0x29b6,0x29b7,0x29b8,0x29b9,0x29ba,0x29bb,0x29bc,0x29bd,0x29be,0x29bf,
|
sl@0
|
2049 |
0x29c0,0x29c1,0x29c2,0x29c3,0x29c4,0x29c5,0x29c6,0x29c7,0x29c8,0x29c9,
|
sl@0
|
2050 |
0x29ca,0x29cb,0x29cc,0x29cd,0x29ce,0x29cf,0x29d0,0x29d1,0x29d2,0x29d3,
|
sl@0
|
2051 |
0x29d4,0x29d5,0x29d6,0x29d7,0x29d8,0x29d9,0x29da,0x29db,0x29dc,0x29dd,
|
sl@0
|
2052 |
0x29de,0x29df,0x29e0,0x29e1,0x29e2,0x29e3,0x29e4,0x29e5,0x29e6,0x29e7,
|
sl@0
|
2053 |
0x29e8,0x29e9,0x29ea,0x29eb,0x29ec,0x29ed,0x29ee,0x29ef,0x29f0,0x29f1,
|
sl@0
|
2054 |
0x29f2,0x29f3,0x29f4,0x29f5,0x29f6,0x29f7,0x29f8,0x29f9,0x29fa,0x29fb,
|
sl@0
|
2055 |
0x29fc,0x29fd,0x29fe,0x29ff,0x2a00,0x2a01,0x2a02,0x2a03,0x2a04,0x2a05,
|
sl@0
|
2056 |
0x2a06,0x2a07,0x2a08,0x2a09,0x2a0a,0x2a0b,0x2a0c,0x2a0d,0x2a0e,0x2a0f,
|
sl@0
|
2057 |
0x2a10,0x2a11,0x2a12,0x2a13,0x2a14,0x2a15,0x2a16,0x2a17,0x2a18,0x2a19,
|
sl@0
|
2058 |
0x2a1a,0x2a1b,0x2a1c,0x2a1d,0x2a1e,0x2a1f,0x2a20,0x2a21,0x2a22,0x2a23,
|
sl@0
|
2059 |
0x2a24,0x2a25,0x2a26,0x2a27,0x2a28,0x2a29,0x2a2a,0x2a2b,0x2a2c,0x2a2d,
|
sl@0
|
2060 |
0x2a2e,0x2a2f,0x2a30,0x2a31,0x2a32,0x2a33,0x2a34,0x2a35,0x2a36,0x2a37,
|
sl@0
|
2061 |
0x2a38,0x2a39,0x2a3a,0x2a3b,0x2a3c,0x2a3d,0x2a3e,0x2a3f,0x2a40,0x2a41,
|
sl@0
|
2062 |
0x2a42,0x2a43,0x2a44,0x2a45,0x2a46,0x2a47,0x2a48,0x2a49,0x2a4a,0x2a4b,
|
sl@0
|
2063 |
0x2a4c,0x2a4d,0x2a4e,0x2a4f,0x2a50,0x2a51,0x2a52,0x2a53,0x2a54,0x2a55,
|
sl@0
|
2064 |
0x2a56,0x2a57,0x2a58,0x2a59,0x2a5a,0x2a5b,0x2a5c,0x2a5d,0x2a5e,0x2a5f,
|
sl@0
|
2065 |
0x2a60,0x2a61,0x2a62,0x2a63,0x2a64,0x2a65,0x2a66,0x2a67,0x2a68,0x2a69,
|
sl@0
|
2066 |
0x2a6a,0x2a6b,0x2a6c,0x2a6d,0x2a6e,0x2a6f,0x2a70,0x2a71,0x2a72,0x2a73,
|
sl@0
|
2067 |
0x2a74,0x2a75,0x2a76,0x2a77,0x2a78,0x2a79,0x2a7a,0x2a7b,0x2a7c,0x2a7d,
|
sl@0
|
2068 |
0x2a7e,0x2a7f,0x2a80,0x2a81,0x2a82,0x2a83,0x2a84,0x2a85,0x2a86,0x2a87,
|
sl@0
|
2069 |
0x2a88,0x2a89,0x2a8a,0x2a8b,0x2a8c,0x2a8d,0x2a8e,0x2a8f,0x2a90,0x2a91,
|
sl@0
|
2070 |
0x2a92,0x2a93,0x2a94,0x2a95,0x2a96,0x2a97,0x2a98,0x2a99,0x2a9a,0x2a9b,
|
sl@0
|
2071 |
0x2a9c,0x2a9d,0x2a9e,0x2a9f,0x2aa0,0x2aa1,0x2aa2,0x2aa3,0x2aa4,0x2aa5,
|
sl@0
|
2072 |
0x2aa6,0x2aa7,0x2aa8,0x2aa9,0x2aaa,0x2aab,0x2aac,0x2aad,0x2aae,0x2aaf,
|
sl@0
|
2073 |
0x2ab0,0x2ab1,0x2ab2,0x2ab3,0x2ab4,0x2ab5,0x2ab6,0x2ab7,0x2ab8,0x2ab9,
|
sl@0
|
2074 |
0x2aba,0x2abb,0x2abc,0x2abd,0x2abe,0x2abf,0x2ac0,0x2ac1,0x2ac2,0x2ac3,
|
sl@0
|
2075 |
0x2ac4,0x2ac5,0x2ac6,0x2ac7,0x2ac8,0x2ac9,0x2aca,0x2acb,0x2acc,0x2acd,
|
sl@0
|
2076 |
0x2ace,0x2acf,0x2ad0,0x2ad1,0x2ad2,0x2ad3,0x2ad4,0x2ad5,0x2ad6,0x2ad7,
|
sl@0
|
2077 |
0x2ad8,0x2ad9,0x2ada,0x2adb,0x2adc,0x2add,0x2ade,0x2adf,0x2ae0,0x2ae1,
|
sl@0
|
2078 |
0x2ae2,0x2ae3,0x2ae4,0x2ae5,0x2ae6,0x2ae7,0x2ae8,0x2ae9,0x2aea,0x2aeb,
|
sl@0
|
2079 |
0x2aec,0x2aed,0x2aee,0x2aef,0x2af0,0x2af1,0x2af2,0x2af3,0x2af4,0x2af5,
|
sl@0
|
2080 |
0x2af6,0x2af7,0x2af8,0x2af9,0x2afa,0x2afb,0x2afc,0x2afd,0x2afe,0x2aff,
|
sl@0
|
2081 |
0x2b00,0x2b01,0x2b02,0x2b03,0x2b04,0x2b05,0x2b06,0x2b07,0x2b08,0x2b09,
|
sl@0
|
2082 |
0x2b0a,0x2b0b,0x2b0c,0x2b0d,0x2b0e,0x2b0f,0x2b10,0x2b11,0x2b12,0x2b13,
|
sl@0
|
2083 |
0x2b14,0x2b15,0x2b16,0x2b17,0x2b18,0x2b19,0x2b1a,0x2b20,0x2b21,0x2b22,
|
sl@0
|
2084 |
0x2b23,0x2ce5,0x2ce6,0x2ce7,0x2ce8,0x2ce9,0x2cea,0x2cf9,0x2cfa,0x2cfb,
|
sl@0
|
2085 |
0x2cfc,0x2cfd,0x2cfe,0x2cff,0x2e00,0x2e01,0x2e02,0x2e03,0x2e04,0x2e05,
|
sl@0
|
2086 |
0x2e06,0x2e07,0x2e08,0x2e09,0x2e0a,0x2e0b,0x2e0c,0x2e0d,0x2e0e,0x2e0f,
|
sl@0
|
2087 |
0x2e10,0x2e11,0x2e12,0x2e13,0x2e14,0x2e15,0x2e16,0x2e17,0x2e1c,0x2e1d,
|
sl@0
|
2088 |
0x2e80,0x2e81,0x2e82,0x2e83,0x2e84,0x2e85,0x2e86,0x2e87,0x2e88,0x2e89,
|
sl@0
|
2089 |
0x2e8a,0x2e8b,0x2e8c,0x2e8d,0x2e8e,0x2e8f,0x2e90,0x2e91,0x2e92,0x2e93,
|
sl@0
|
2090 |
0x2e94,0x2e95,0x2e96,0x2e97,0x2e98,0x2e99,0x2e9b,0x2e9c,0x2e9d,0x2e9e,
|
sl@0
|
2091 |
0x2e9f,0x2ea0,0x2ea1,0x2ea2,0x2ea3,0x2ea4,0x2ea5,0x2ea6,0x2ea7,0x2ea8,
|
sl@0
|
2092 |
0x2ea9,0x2eaa,0x2eab,0x2eac,0x2ead,0x2eae,0x2eaf,0x2eb0,0x2eb1,0x2eb2,
|
sl@0
|
2093 |
0x2eb3,0x2eb4,0x2eb5,0x2eb6,0x2eb7,0x2eb8,0x2eb9,0x2eba,0x2ebb,0x2ebc,
|
sl@0
|
2094 |
0x2ebd,0x2ebe,0x2ebf,0x2ec0,0x2ec1,0x2ec2,0x2ec3,0x2ec4,0x2ec5,0x2ec6,
|
sl@0
|
2095 |
0x2ec7,0x2ec8,0x2ec9,0x2eca,0x2ecb,0x2ecc,0x2ecd,0x2ece,0x2ecf,0x2ed0,
|
sl@0
|
2096 |
0x2ed1,0x2ed2,0x2ed3,0x2ed4,0x2ed5,0x2ed6,0x2ed7,0x2ed8,0x2ed9,0x2eda,
|
sl@0
|
2097 |
0x2edb,0x2edc,0x2edd,0x2ede,0x2edf,0x2ee0,0x2ee1,0x2ee2,0x2ee3,0x2ee4,
|
sl@0
|
2098 |
0x2ee5,0x2ee6,0x2ee7,0x2ee8,0x2ee9,0x2eea,0x2eeb,0x2eec,0x2eed,0x2eee,
|
sl@0
|
2099 |
0x2eef,0x2ef0,0x2ef1,0x2ef2,0x2ef3,0x2f00,0x2f01,0x2f02,0x2f03,0x2f04,
|
sl@0
|
2100 |
0x2f05,0x2f06,0x2f07,0x2f08,0x2f09,0x2f0a,0x2f0b,0x2f0c,0x2f0d,0x2f0e,
|
sl@0
|
2101 |
0x2f0f,0x2f10,0x2f11,0x2f12,0x2f13,0x2f14,0x2f15,0x2f16,0x2f17,0x2f18,
|
sl@0
|
2102 |
0x2f19,0x2f1a,0x2f1b,0x2f1c,0x2f1d,0x2f1e,0x2f1f,0x2f20,0x2f21,0x2f22,
|
sl@0
|
2103 |
0x2f23,0x2f24,0x2f25,0x2f26,0x2f27,0x2f28,0x2f29,0x2f2a,0x2f2b,0x2f2c,
|
sl@0
|
2104 |
0x2f2d,0x2f2e,0x2f2f,0x2f30,0x2f31,0x2f32,0x2f33,0x2f34,0x2f35,0x2f36,
|
sl@0
|
2105 |
0x2f37,0x2f38,0x2f39,0x2f3a,0x2f3b,0x2f3c,0x2f3d,0x2f3e,0x2f3f,0x2f40,
|
sl@0
|
2106 |
0x2f41,0x2f42,0x2f43,0x2f44,0x2f45,0x2f46,0x2f47,0x2f48,0x2f49,0x2f4a,
|
sl@0
|
2107 |
0x2f4b,0x2f4c,0x2f4d,0x2f4e,0x2f4f,0x2f50,0x2f51,0x2f52,0x2f53,0x2f54,
|
sl@0
|
2108 |
0x2f55,0x2f56,0x2f57,0x2f58,0x2f59,0x2f5a,0x2f5b,0x2f5c,0x2f5d,0x2f5e,
|
sl@0
|
2109 |
0x2f5f,0x2f60,0x2f61,0x2f62,0x2f63,0x2f64,0x2f65,0x2f66,0x2f67,0x2f68,
|
sl@0
|
2110 |
0x2f69,0x2f6a,0x2f6b,0x2f6c,0x2f6d,0x2f6e,0x2f6f,0x2f70,0x2f71,0x2f72,
|
sl@0
|
2111 |
0x2f73,0x2f74,0x2f75,0x2f76,0x2f77,0x2f78,0x2f79,0x2f7a,0x2f7b,0x2f7c,
|
sl@0
|
2112 |
0x2f7d,0x2f7e,0x2f7f,0x2f80,0x2f81,0x2f82,0x2f83,0x2f84,0x2f85,0x2f86,
|
sl@0
|
2113 |
0x2f87,0x2f88,0x2f89,0x2f8a,0x2f8b,0x2f8c,0x2f8d,0x2f8e,0x2f8f,0x2f90,
|
sl@0
|
2114 |
0x2f91,0x2f92,0x2f93,0x2f94,0x2f95,0x2f96,0x2f97,0x2f98,0x2f99,0x2f9a,
|
sl@0
|
2115 |
0x2f9b,0x2f9c,0x2f9d,0x2f9e,0x2f9f,0x2fa0,0x2fa1,0x2fa2,0x2fa3,0x2fa4,
|
sl@0
|
2116 |
0x2fa5,0x2fa6,0x2fa7,0x2fa8,0x2fa9,0x2faa,0x2fab,0x2fac,0x2fad,0x2fae,
|
sl@0
|
2117 |
0x2faf,0x2fb0,0x2fb1,0x2fb2,0x2fb3,0x2fb4,0x2fb5,0x2fb6,0x2fb7,0x2fb8,
|
sl@0
|
2118 |
0x2fb9,0x2fba,0x2fbb,0x2fbc,0x2fbd,0x2fbe,0x2fbf,0x2fc0,0x2fc1,0x2fc2,
|
sl@0
|
2119 |
0x2fc3,0x2fc4,0x2fc5,0x2fc6,0x2fc7,0x2fc8,0x2fc9,0x2fca,0x2fcb,0x2fcc,
|
sl@0
|
2120 |
0x2fcd,0x2fce,0x2fcf,0x2fd0,0x2fd1,0x2fd2,0x2fd3,0x2fd4,0x2fd5,0x2ff0,
|
sl@0
|
2121 |
0x2ff1,0x2ff2,0x2ff3,0x2ff4,0x2ff5,0x2ff6,0x2ff7,0x2ff8,0x2ff9,0x2ffa,
|
sl@0
|
2122 |
0x2ffb,0x3001,0x3002,0x3003,0x3004,0x3008,0x3009,0x300a,0x300b,0x300c,
|
sl@0
|
2123 |
0x300d,0x300e,0x300f,0x3010,0x3011,0x3012,0x3013,0x3014,0x3015,0x3016,
|
sl@0
|
2124 |
0x3017,0x3018,0x3019,0x301a,0x301b,0x301c,0x301d,0x301e,0x301f,0x3020,
|
sl@0
|
2125 |
0x3030,0x3036,0x3037,0x303d,0x303e,0x303f,0x309b,0x309c,0x30a0,0x30fb,
|
sl@0
|
2126 |
0x31c0,0x31c1,0x31c2,0x31c3,0x31c4,0x31c5,0x31c6,0x31c7,0x31c8,0x31c9,
|
sl@0
|
2127 |
0x31ca,0x31cb,0x31cc,0x31cd,0x31ce,0x31cf,0x321d,0x321e,0x3250,0x3251,
|
sl@0
|
2128 |
0x3252,0x3253,0x3254,0x3255,0x3256,0x3257,0x3258,0x3259,0x325a,0x325b,
|
sl@0
|
2129 |
0x325c,0x325d,0x325e,0x325f,0x327c,0x327d,0x327e,0x32b1,0x32b2,0x32b3,
|
sl@0
|
2130 |
0x32b4,0x32b5,0x32b6,0x32b7,0x32b8,0x32b9,0x32ba,0x32bb,0x32bc,0x32bd,
|
sl@0
|
2131 |
0x32be,0x32bf,0x32cc,0x32cd,0x32ce,0x32cf,0x3377,0x3378,0x3379,0x337a,
|
sl@0
|
2132 |
0x33de,0x33df,0x33ff,0x4dc0,0x4dc1,0x4dc2,0x4dc3,0x4dc4,0x4dc5,0x4dc6,
|
sl@0
|
2133 |
0x4dc7,0x4dc8,0x4dc9,0x4dca,0x4dcb,0x4dcc,0x4dcd,0x4dce,0x4dcf,0x4dd0,
|
sl@0
|
2134 |
0x4dd1,0x4dd2,0x4dd3,0x4dd4,0x4dd5,0x4dd6,0x4dd7,0x4dd8,0x4dd9,0x4dda,
|
sl@0
|
2135 |
0x4ddb,0x4ddc,0x4ddd,0x4dde,0x4ddf,0x4de0,0x4de1,0x4de2,0x4de3,0x4de4,
|
sl@0
|
2136 |
0x4de5,0x4de6,0x4de7,0x4de8,0x4de9,0x4dea,0x4deb,0x4dec,0x4ded,0x4dee,
|
sl@0
|
2137 |
0x4def,0x4df0,0x4df1,0x4df2,0x4df3,0x4df4,0x4df5,0x4df6,0x4df7,0x4df8,
|
sl@0
|
2138 |
0x4df9,0x4dfa,0x4dfb,0x4dfc,0x4dfd,0x4dfe,0x4dff,0xa490,0xa491,0xa492,
|
sl@0
|
2139 |
0xa493,0xa494,0xa495,0xa496,0xa497,0xa498,0xa499,0xa49a,0xa49b,0xa49c,
|
sl@0
|
2140 |
0xa49d,0xa49e,0xa49f,0xa4a0,0xa4a1,0xa4a2,0xa4a3,0xa4a4,0xa4a5,0xa4a6,
|
sl@0
|
2141 |
0xa4a7,0xa4a8,0xa4a9,0xa4aa,0xa4ab,0xa4ac,0xa4ad,0xa4ae,0xa4af,0xa4b0,
|
sl@0
|
2142 |
0xa4b1,0xa4b2,0xa4b3,0xa4b4,0xa4b5,0xa4b6,0xa4b7,0xa4b8,0xa4b9,0xa4ba,
|
sl@0
|
2143 |
0xa4bb,0xa4bc,0xa4bd,0xa4be,0xa4bf,0xa4c0,0xa4c1,0xa4c2,0xa4c3,0xa4c4,
|
sl@0
|
2144 |
0xa4c5,0xa4c6,0xa700,0xa701,0xa702,0xa703,0xa704,0xa705,0xa706,0xa707,
|
sl@0
|
2145 |
0xa708,0xa709,0xa70a,0xa70b,0xa70c,0xa70d,0xa70e,0xa70f,0xa710,0xa711,
|
sl@0
|
2146 |
0xa712,0xa713,0xa714,0xa715,0xa716,0xa717,0xa718,0xa719,0xa71a,0xa720,
|
sl@0
|
2147 |
0xa721,0xa828,0xa829,0xa82a,0xa82b,0xa874,0xa875,0xa876,0xa877,0xfd3e,
|
sl@0
|
2148 |
0xfd3f,0xfdfd,0xfe10,0xfe11,0xfe12,0xfe13,0xfe14,0xfe15,0xfe16,0xfe17,
|
sl@0
|
2149 |
0xfe18,0xfe19,0xfe30,0xfe31,0xfe32,0xfe33,0xfe34,0xfe35,0xfe36,0xfe37,
|
sl@0
|
2150 |
0xfe38,0xfe39,0xfe3a,0xfe3b,0xfe3c,0xfe3d,0xfe3e,0xfe3f,0xfe40,0xfe41,
|
sl@0
|
2151 |
0xfe42,0xfe43,0xfe44,0xfe45,0xfe46,0xfe47,0xfe48,0xfe49,0xfe4a,0xfe4b,
|
sl@0
|
2152 |
0xfe4c,0xfe4d,0xfe4e,0xfe4f,0xfe51,0xfe54,0xfe56,0xfe57,0xfe58,0xfe59,
|
sl@0
|
2153 |
0xfe5a,0xfe5b,0xfe5c,0xfe5d,0xfe5e,0xfe60,0xfe61,0xfe64,0xfe65,0xfe66,
|
sl@0
|
2154 |
0xfe68,0xfe6b,0xff01,0xff02,0xff06,0xff07,0xff08,0xff09,0xff0a,0xff1b,
|
sl@0
|
2155 |
0xff1c,0xff1d,0xff1e,0xff1f,0xff20,0xff3b,0xff3c,0xff3d,0xff3e,0xff3f,
|
sl@0
|
2156 |
0xff40,0xff5b,0xff5c,0xff5d,0xff5e,0xff5f,0xff60,0xff61,0xff62,0xff63,
|
sl@0
|
2157 |
0xff64,0xff65,0xffe2,0xffe3,0xffe4,0xffe8,0xffe9,0xffea,0xffeb,0xffec,
|
sl@0
|
2158 |
0xffed,0xffee,0xfff9,0xfffa,0xfffb,0xfffc,0xfffd,0xd800,0xdd01,
|
sl@0
|
2159 |
0xd800,0xdd40,0xd800,0xdd41,0xd800,0xdd42,0xd800,0xdd43,0xd800,0xdd44,
|
sl@0
|
2160 |
0xd800,0xdd45,0xd800,0xdd46,0xd800,0xdd47,0xd800,0xdd48,0xd800,0xdd49,
|
sl@0
|
2161 |
0xd800,0xdd4a,0xd800,0xdd4b,0xd800,0xdd4c,0xd800,0xdd4d,0xd800,0xdd4e,
|
sl@0
|
2162 |
0xd800,0xdd4f,0xd800,0xdd50,0xd800,0xdd51,0xd800,0xdd52,0xd800,0xdd53,
|
sl@0
|
2163 |
0xd800,0xdd54,0xd800,0xdd55,0xd800,0xdd56,0xd800,0xdd57,0xd800,0xdd58,
|
sl@0
|
2164 |
0xd800,0xdd59,0xd800,0xdd5a,0xd800,0xdd5b,0xd800,0xdd5c,0xd800,0xdd5d,
|
sl@0
|
2165 |
0xd800,0xdd5e,0xd800,0xdd5f,0xd800,0xdd60,0xd800,0xdd61,0xd800,0xdd62,
|
sl@0
|
2166 |
0xd800,0xdd63,0xd800,0xdd64,0xd800,0xdd65,0xd800,0xdd66,0xd800,0xdd67,
|
sl@0
|
2167 |
0xd800,0xdd68,0xd800,0xdd69,0xd800,0xdd6a,0xd800,0xdd6b,0xd800,0xdd6c,
|
sl@0
|
2168 |
0xd800,0xdd6d,0xd800,0xdd6e,0xd800,0xdd6f,0xd800,0xdd70,0xd800,0xdd71,
|
sl@0
|
2169 |
0xd800,0xdd72,0xd800,0xdd73,0xd800,0xdd74,0xd800,0xdd75,0xd800,0xdd76,
|
sl@0
|
2170 |
0xd800,0xdd77,0xd800,0xdd78,0xd800,0xdd79,0xd800,0xdd7a,0xd800,0xdd7b,
|
sl@0
|
2171 |
0xd800,0xdd7c,0xd800,0xdd7d,0xd800,0xdd7e,0xd800,0xdd7f,0xd800,0xdd80,
|
sl@0
|
2172 |
0xd800,0xdd81,0xd800,0xdd82,0xd800,0xdd83,0xd800,0xdd84,0xd800,0xdd85,
|
sl@0
|
2173 |
0xd800,0xdd86,0xd800,0xdd87,0xd800,0xdd88,0xd800,0xdd89,0xd800,0xdd8a,
|
sl@0
|
2174 |
0xd802,0xdd1f,0xd834,0xde00,0xd834,0xde01,0xd834,0xde02,0xd834,0xde03,
|
sl@0
|
2175 |
0xd834,0xde04,0xd834,0xde05,0xd834,0xde06,0xd834,0xde07,0xd834,0xde08,
|
sl@0
|
2176 |
0xd834,0xde09,0xd834,0xde0a,0xd834,0xde0b,0xd834,0xde0c,0xd834,0xde0d,
|
sl@0
|
2177 |
0xd834,0xde0e,0xd834,0xde0f,0xd834,0xde10,0xd834,0xde11,0xd834,0xde12,
|
sl@0
|
2178 |
0xd834,0xde13,0xd834,0xde14,0xd834,0xde15,0xd834,0xde16,0xd834,0xde17,
|
sl@0
|
2179 |
0xd834,0xde18,0xd834,0xde19,0xd834,0xde1a,0xd834,0xde1b,0xd834,0xde1c,
|
sl@0
|
2180 |
0xd834,0xde1d,0xd834,0xde1e,0xd834,0xde1f,0xd834,0xde20,0xd834,0xde21,
|
sl@0
|
2181 |
0xd834,0xde22,0xd834,0xde23,0xd834,0xde24,0xd834,0xde25,0xd834,0xde26,
|
sl@0
|
2182 |
0xd834,0xde27,0xd834,0xde28,0xd834,0xde29,0xd834,0xde2a,0xd834,0xde2b,
|
sl@0
|
2183 |
0xd834,0xde2c,0xd834,0xde2d,0xd834,0xde2e,0xd834,0xde2f,0xd834,0xde30,
|
sl@0
|
2184 |
0xd834,0xde31,0xd834,0xde32,0xd834,0xde33,0xd834,0xde34,0xd834,0xde35,
|
sl@0
|
2185 |
0xd834,0xde36,0xd834,0xde37,0xd834,0xde38,0xd834,0xde39,0xd834,0xde3a,
|
sl@0
|
2186 |
0xd834,0xde3b,0xd834,0xde3c,0xd834,0xde3d,0xd834,0xde3e,0xd834,0xde3f,
|
sl@0
|
2187 |
0xd834,0xde40,0xd834,0xde41,0xd834,0xde45,0xd834,0xdf00,0xd834,0xdf01,
|
sl@0
|
2188 |
0xd834,0xdf02,0xd834,0xdf03,0xd834,0xdf04,0xd834,0xdf05,0xd834,0xdf06,
|
sl@0
|
2189 |
0xd834,0xdf07,0xd834,0xdf08,0xd834,0xdf09,0xd834,0xdf0a,0xd834,0xdf0b,
|
sl@0
|
2190 |
0xd834,0xdf0c,0xd834,0xdf0d,0xd834,0xdf0e,0xd834,0xdf0f,0xd834,0xdf10,
|
sl@0
|
2191 |
0xd834,0xdf11,0xd834,0xdf12,0xd834,0xdf13,0xd834,0xdf14,0xd834,0xdf15,
|
sl@0
|
2192 |
0xd834,0xdf16,0xd834,0xdf17,0xd834,0xdf18,0xd834,0xdf19,0xd834,0xdf1a,
|
sl@0
|
2193 |
0xd834,0xdf1b,0xd834,0xdf1c,0xd834,0xdf1d,0xd834,0xdf1e,0xd834,0xdf1f,
|
sl@0
|
2194 |
0xd834,0xdf20,0xd834,0xdf21,0xd834,0xdf22,0xd834,0xdf23,0xd834,0xdf24,
|
sl@0
|
2195 |
0xd834,0xdf25,0xd834,0xdf26,0xd834,0xdf27,0xd834,0xdf28,0xd834,0xdf29,
|
sl@0
|
2196 |
0xd834,0xdf2a,0xd834,0xdf2b,0xd834,0xdf2c,0xd834,0xdf2d,0xd834,0xdf2e,
|
sl@0
|
2197 |
0xd834,0xdf2f,0xd834,0xdf30,0xd834,0xdf31,0xd834,0xdf32,0xd834,0xdf33,
|
sl@0
|
2198 |
0xd834,0xdf34,0xd834,0xdf35,0xd834,0xdf36,0xd834,0xdf37,0xd834,0xdf38,
|
sl@0
|
2199 |
0xd834,0xdf39,0xd834,0xdf3a,0xd834,0xdf3b,0xd834,0xdf3c,0xd834,0xdf3d,
|
sl@0
|
2200 |
0xd834,0xdf3e,0xd834,0xdf3f,0xd834,0xdf40,0xd834,0xdf41,0xd834,0xdf42,
|
sl@0
|
2201 |
0xd834,0xdf43,0xd834,0xdf44,0xd834,0xdf45,0xd834,0xdf46,0xd834,0xdf47,
|
sl@0
|
2202 |
0xd834,0xdf48,0xd834,0xdf49,0xd834,0xdf4a,0xd834,0xdf4b,0xd834,0xdf4c,
|
sl@0
|
2203 |
0xd834,0xdf4d,0xd834,0xdf4e,0xd834,0xdf4f,0xd834,0xdf50,0xd834,0xdf51,
|
sl@0
|
2204 |
0xd834,0xdf52,0xd834,0xdf53,0xd834,0xdf54,0xd834,0xdf55,0xd834,0xdf56,
|
sl@0
|
2205 |
};
|
sl@0
|
2206 |
static const TUint KOtherNeutralsLength = 2917 + 462;
|
sl@0
|
2207 |
|
sl@0
|
2208 |
//This test data is an extract from the Project Gutenberg version of
|
sl@0
|
2209 |
//The War Of The Worlds by H G Wells
|
sl@0
|
2210 |
|
sl@0
|
2211 |
static const TUint16 KArab1Data[] =
|
sl@0
|
2212 |
{
|
sl@0
|
2213 |
0xfeff, 0x0623, 0x0633, 0x0627, 0x0633, 0x064b, 0x0627, 0x060c,
|
sl@0
|
2214 |
0x0020, 0x000d, 0x000a, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020,
|
sl@0
|
2215 |
0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020,
|
sl@0
|
2216 |
0x0020, 0x062a, 0x062a, 0x0639, 0x0627, 0x0645, 0x0644, 0x0020,
|
sl@0
|
2217 |
0x0627, 0x0644, 0x062d, 0x0648, 0x0627, 0x0633, 0x064a, 0x0628,
|
sl@0
|
2218 |
0x0020, 0x0641, 0x0642, 0x0637, 0x0020, 0x0645, 0x0639, 0x0020,
|
sl@0
|
2219 |
0x0627, 0x0644, 0x0623, 0x0631, 0x0642, 0x0627, 0x0645, 0x060c,
|
sl@0
|
2220 |
0x0020, 0x0648, 0x062a, 0x0642, 0x0648, 0x0645, 0x0020, 0x0628,
|
sl@0
|
2221 |
0x062a, 0x062e, 0x0632, 0x064a, 0x0646, 0x0020, 0x0627, 0x0644,
|
sl@0
|
2222 |
0x0623, 0x062d, 0x0631, 0x0641, 0x0020, 0x0648, 0x0627, 0x0644,
|
sl@0
|
2223 |
0x0645, 0x062d, 0x0627, 0x0631, 0x0641, 0x0020, 0x000d, 0x000a,
|
sl@0
|
2224 |
0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020,
|
sl@0
|
2225 |
0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0627, 0x0644,
|
sl@0
|
2226 |
0x0623, 0x062e, 0x0631, 0x0649, 0x0020, 0x0628, 0x0639, 0x062f,
|
sl@0
|
2227 |
0x0020, 0x0623, 0x0646, 0x0020, 0x062a, 0x064f, 0x0639, 0x0637,
|
sl@0
|
2228 |
0x064a, 0x0020, 0x0631, 0x0642, 0x0645, 0x0627, 0x0020, 0x0645,
|
sl@0
|
2229 |
0x0639, 0x064a, 0x0646, 0x0627, 0x0020, 0x0644, 0x0643, 0x0644,
|
sl@0
|
2230 |
0x0020, 0x0648, 0x0627, 0x062d, 0x062f, 0x0020, 0x0645, 0x0646,
|
sl@0
|
2231 |
0x0647, 0x0627, 0x002e, 0x0020, 0x0648, 0x0642, 0x0628, 0x0644,
|
sl@0
|
2232 |
0x0020, 0x0627, 0x062e, 0x062a, 0x0631, 0x0627, 0x0639, 0x0020,
|
sl@0
|
2233 |
0x000d, 0x000a, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020,
|
sl@0
|
2234 |
0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020,
|
sl@0
|
2235 |
0x0022, 0x064a, 0x0648, 0x0646, 0x0650, 0x0643, 0x0648, 0x062f,
|
sl@0
|
2236 |
0x0022, 0x060c, 0x0020, 0x0643, 0x0627, 0x0646, 0x0020, 0x0647,
|
sl@0
|
2237 |
0x0646, 0x0627, 0x0643, 0x0020, 0x0645, 0x0626, 0x0627, 0x062a,
|
sl@0
|
2238 |
0x0020, 0x0627, 0x0644, 0x0623, 0x0646, 0x0638, 0x0645, 0x0629,
|
sl@0
|
2239 |
0x0020, 0x0644, 0x0644, 0x062a, 0x0634, 0x0641, 0x064a, 0x0631,
|
sl@0
|
2240 |
0x0020, 0x0648, 0x062a, 0x062e, 0x0635, 0x064a, 0x0635, 0x0020,
|
sl@0
|
2241 |
0x0647, 0x0630, 0x0647, 0x0020, 0x0627, 0x0644, 0x0623, 0x0631,
|
sl@0
|
2242 |
0x0642, 0x0627, 0x0645, 0x0020, 0x000d, 0x000a, 0x0020, 0x0020,
|
sl@0
|
2243 |
0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020,
|
sl@0
|
2244 |
0x0020, 0x0020, 0x0020, 0x0020, 0x0644, 0x0644, 0x0645, 0x062d,
|
sl@0
|
2245 |
0x0627, 0x0631, 0x0641, 0x060c, 0x0020, 0x0648, 0x0644, 0x0645,
|
sl@0
|
2246 |
0x0020, 0x064a, 0x0648, 0x062c, 0x062f, 0x0020, 0x0646, 0x0638,
|
sl@0
|
2247 |
0x0627, 0x0645, 0x0020, 0x062a, 0x0634, 0x0641, 0x064a, 0x0631,
|
sl@0
|
2248 |
0x0020, 0x0648, 0x0627, 0x062d, 0x062f, 0x0020, 0x064a, 0x062d,
|
sl@0
|
2249 |
0x062a, 0x0648, 0x064a, 0x0020, 0x0639, 0x0644, 0x0649, 0x0020,
|
sl@0
|
2250 |
0x062c, 0x0645, 0x064a, 0x0639, 0x0020, 0x0627, 0x0644, 0x0645,
|
sl@0
|
2251 |
0x062d, 0x0627, 0x0631, 0x0641, 0x0020, 0x0627, 0x0644, 0x0636,
|
sl@0
|
2252 |
0x0631, 0x0648, 0x0631, 0x064a, 0x0629, 0x002e, 0x0020, 0x000d,
|
sl@0
|
2253 |
0x000a, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020,
|
sl@0
|
2254 |
0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0648,
|
sl@0
|
2255 |
0x0639, 0x0644, 0x0649, 0x0020, 0x0633, 0x0628, 0x064a, 0x0644,
|
sl@0
|
2256 |
0x0020, 0x0627, 0x0644, 0x0645, 0x062b, 0x0627, 0x0644, 0x060c,
|
sl@0
|
2257 |
0x0020, 0x0641, 0x0625, 0x0646, 0x0020, 0x0627, 0x0644, 0x0627,
|
sl@0
|
2258 |
0x062a, 0x062d, 0x0627, 0x062f, 0x0020, 0x0627, 0x0644, 0x0623,
|
sl@0
|
2259 |
0x0648, 0x0631, 0x0648, 0x0628, 0x064a, 0x0020, 0x0644, 0x0648,
|
sl@0
|
2260 |
0x062d, 0x062f, 0x0647, 0x060c, 0x0020, 0x0627, 0x062d, 0x062a,
|
sl@0
|
2261 |
0x0648, 0x0649, 0x0020, 0x0627, 0x0644, 0x0639, 0x062f, 0x064a,
|
sl@0
|
2262 |
0x062f, 0x0020, 0x0645, 0x0646, 0x0020, 0x000d, 0x000a, 0x0020,
|
sl@0
|
2263 |
0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020,
|
sl@0
|
2264 |
0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0627, 0x0644, 0x0634,
|
sl@0
|
2265 |
0x0641, 0x0631, 0x0627, 0x062a, 0x0020, 0x0627, 0x0644, 0x0645,
|
sl@0
|
2266 |
0x062e, 0x062a, 0x0644, 0x0641, 0x0629, 0x0020, 0x0644, 0x064a,
|
sl@0
|
2267 |
0x063a, 0x0637, 0x064a, 0x0020, 0x062c, 0x0645, 0x064a, 0x0639,
|
sl@0
|
2268 |
0x0020, 0x0627, 0x0644, 0x0644, 0x063a, 0x0627, 0x062a, 0x0020,
|
sl@0
|
2269 |
0x0627, 0x0644, 0x0645, 0x0633, 0x062a, 0x062e, 0x062f, 0x0645,
|
sl@0
|
2270 |
0x0629, 0x0020, 0x0641, 0x064a, 0x0020, 0x0627, 0x0644, 0x0627,
|
sl@0
|
2271 |
0x062a, 0x062d, 0x0627, 0x062f, 0x002e, 0x0020, 0x0648, 0x062d,
|
sl@0
|
2272 |
0x062a, 0x0649, 0x0020, 0x0644, 0x0648, 0x0020, 0x000d, 0x000a,
|
sl@0
|
2273 |
0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020,
|
sl@0
|
2274 |
0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0627, 0x0639,
|
sl@0
|
2275 |
0x062a, 0x0628, 0x0631, 0x0646, 0x0627, 0x0020, 0x0644, 0x063a,
|
sl@0
|
2276 |
0x0629, 0x0020, 0x0648, 0x0627, 0x062d, 0x062f, 0x0629, 0x060c,
|
sl@0
|
2277 |
0x0020, 0x0643, 0x0627, 0x0644, 0x0644, 0x063a, 0x0629, 0x0020,
|
sl@0
|
2278 |
0x0627, 0x0644, 0x0625, 0x0646, 0x062c, 0x0644, 0x064a, 0x0632,
|
sl@0
|
2279 |
0x064a, 0x0629, 0x060c, 0x0020, 0x0641, 0x0625, 0x0646, 0x0020,
|
sl@0
|
2280 |
0x062c, 0x062f, 0x0648, 0x0644, 0x0020, 0x0634, 0x0641, 0x0631,
|
sl@0
|
2281 |
0x0629, 0x0020, 0x0648, 0x0627, 0x062d, 0x062f, 0x0020, 0x0644,
|
sl@0
|
2282 |
0x0645, 0x0020, 0x064a, 0x0643, 0x0641, 0x0020, 0x000d, 0x000a,
|
sl@0
|
2283 |
0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020,
|
sl@0
|
2284 |
0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0644, 0x0627,
|
sl@0
|
2285 |
0x0633, 0x062a, 0x064a, 0x0639, 0x0627, 0x0628, 0x0020, 0x062c,
|
sl@0
|
2286 |
0x0645, 0x064a, 0x0639, 0x0020, 0x0627, 0x0644, 0x0623, 0x062d,
|
sl@0
|
2287 |
0x0631, 0x0641, 0x0020, 0x0648, 0x0639, 0x0644, 0x0627, 0x0645,
|
sl@0
|
2288 |
0x0627, 0x062a, 0x0020, 0x0627, 0x0644, 0x062a, 0x0631, 0x0642,
|
sl@0
|
2289 |
0x064a, 0x0645, 0x0020, 0x0648, 0x0627, 0x0644, 0x0631, 0x0645,
|
sl@0
|
2290 |
0x0648, 0x0632, 0x0020, 0x0627, 0x0644, 0x0641, 0x0646, 0x064a,
|
sl@0
|
2291 |
0x0629, 0x0020, 0x0648, 0x0627, 0x0644, 0x0639, 0x0644, 0x0645,
|
sl@0
|
2292 |
0x064a, 0x0629, 0x0020, 0x000d, 0x000a, 0x0020, 0x0020, 0x0020,
|
sl@0
|
2293 |
0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020, 0x0020,
|
sl@0
|
2294 |
0x0020, 0x0020, 0x0020, 0x0627, 0x0644, 0x0634, 0x0627, 0x0626,
|
sl@0
|
2295 |
0x0639, 0x0629, 0x0020, 0x0627, 0x0644, 0x0627, 0x0633, 0x062a,
|
sl@0
|
2296 |
0x0639, 0x0645, 0x0627
|
sl@0
|
2297 |
};
|
sl@0
|
2298 |
|
sl@0
|
2299 |
static const TInt KArab1Length = sizeof(KArab1Data)/sizeof(TUint16);
|
sl@0
|
2300 |
|
sl@0
|
2301 |
static const TPtrC KArab1(KArab1Data, KArab1Length);
|
sl@0
|
2302 |
|
sl@0
|
2303 |
//Test data for Arabic Illegal Linebreaking
|
sl@0
|
2304 |
|
sl@0
|
2305 |
static const TUint16 KArabicDualJoiningLettersData[] =
|
sl@0
|
2306 |
{
|
sl@0
|
2307 |
0x0626, 0x0628, 0x062a, 0x062b, 0x062c, 0x062e, 0x0633, 0x0634, 0x0637, 0x0638, 0x0639, 0x063a,
|
sl@0
|
2308 |
0x0641, 0x0642, 0x0643, 0x0644, 0x0645, 0x0647, 0x0648, 0x0649, 0x064a, 0x0678, 0x0679, 0x067a,
|
sl@0
|
2309 |
0x067b, 0x067c, 0x067d, 0x067e, 0x067f, 0x0680, 0x0681, 0x0682, 0x0683, 0x0684, 0x0685, 0x0686,
|
sl@0
|
2310 |
0x0687, 0x069a, 0x069b, 0x069c, 0x069d, 0x069e, 0x069f, 0x06a0, 0x06a1, 0x06a2, 0x06a3, 0x06a4,
|
sl@0
|
2311 |
0x06a5, 0x06a6, 0x06a7, 0x06a9, 0x06aa, 0x06ab, 0x06ac, 0x06ad, 0x06ae, 0x06af, 0x06b0, 0x06b1,
|
sl@0
|
2312 |
0x06b2, 0x06b3, 0x06b4, 0x06b5, 0x06b6, 0x06b7, 0x06b8, 0x06b9, 0x06ba, 0x06bb, 0x06bc, 0x06bd,
|
sl@0
|
2313 |
0x06be, 0x06bf, 0x06c1, 0x06cc, 0x06ce, 0x06d0, 0x06d1, 0x06fa, 0x06fb, 0x06fc
|
sl@0
|
2314 |
};
|
sl@0
|
2315 |
|
sl@0
|
2316 |
static const TInt KArabicDualJoiningLettersLength = sizeof(KArabicDualJoiningLettersData)/sizeof(TUint16);
|
sl@0
|
2317 |
|
sl@0
|
2318 |
static const TPtrC KArabicDualJoiningLetters(KArabicDualJoiningLettersData, KArabicDualJoiningLettersLength);
|
sl@0
|
2319 |
|
sl@0
|
2320 |
static const TUint16 KArabicRightJoiningLettersData[] =
|
sl@0
|
2321 |
{
|
sl@0
|
2322 |
0x0622, 0x0623, 0x0624, 0x0625, 0x0627, 0x0629, 0x062f, 0x0630, 0x0631, 0x0632, 0x0648, 0x0671,
|
sl@0
|
2323 |
0x0672, 0x0673, 0x0675, 0x0676, 0x0677, 0x0688, 0x0689, 0x068a, 0x068b, 0x068c, 0x068d, 0x068e,
|
sl@0
|
2324 |
0x068f, 0x0690, 0x0691, 0x0692, 0x0693, 0x0694, 0x0695, 0x0696, 0x0697, 0x0698, 0x0699, 0x06c0,
|
sl@0
|
2325 |
0x06c2, 0x06c3, 0x06c4, 0x06c5, 0x06c6, 0x06c7, 0x06c8, 0x06c9, 0x06ca, 0x06cb, 0x06cd, 0x06cf,
|
sl@0
|
2326 |
0x06d2, 0x06d3
|
sl@0
|
2327 |
};
|
sl@0
|
2328 |
|
sl@0
|
2329 |
static const TInt KArabicRightJoiningLettersLength = sizeof(KArabicRightJoiningLettersData)/sizeof(TUint16);
|
sl@0
|
2330 |
|
sl@0
|
2331 |
static const TPtrC KArabicRightJoiningLetters(KArabicRightJoiningLettersData, KArabicRightJoiningLettersLength);
|
sl@0
|
2332 |
|
sl@0
|
2333 |
static const TUint16 KArabicNonJoiningLettersData[] =
|
sl@0
|
2334 |
{
|
sl@0
|
2335 |
0x0640, 0x0674, 0x06D5
|
sl@0
|
2336 |
};
|
sl@0
|
2337 |
|
sl@0
|
2338 |
static const TInt KArabicNonJoiningLettersLength = sizeof(KArabicNonJoiningLettersData)/sizeof(TUint16);
|
sl@0
|
2339 |
|
sl@0
|
2340 |
static const TPtrC KArabicNonJoiningLetters(KArabicNonJoiningLettersData, KArabicNonJoiningLettersLength);
|
sl@0
|
2341 |
|
sl@0
|
2342 |
static const TUint16 KAlefJoiningGroupData[] =
|
sl@0
|
2343 |
{
|
sl@0
|
2344 |
0x0622, 0x0623, 0x0625, 0x0671, 0x0672, 0x0673, 0x0675
|
sl@0
|
2345 |
};
|
sl@0
|
2346 |
|
sl@0
|
2347 |
static const TInt KAlefJoiningGroupLength = sizeof(KAlefJoiningGroupData)/sizeof(TUint16);
|
sl@0
|
2348 |
|
sl@0
|
2349 |
static const TPtrC KAlefJoiningGroup(KAlefJoiningGroupData, KAlefJoiningGroupLength);
|
sl@0
|
2350 |
|
sl@0
|
2351 |
static const TUint16 KWawJoiningGroupData[] =
|
sl@0
|
2352 |
{
|
sl@0
|
2353 |
0x0624, 0x0648, 0x0676, 0x0677, 0x06c4, 0x06c5, 0x06c6, 0x06c7, 0x06c8, 0x06c9, 0x06ca, 0x06cb,
|
sl@0
|
2354 |
0x06cf
|
sl@0
|
2355 |
};
|
sl@0
|
2356 |
|
sl@0
|
2357 |
static const TInt KWawJoiningGroupLength = sizeof(KWawJoiningGroupData)/sizeof(TUint16);
|
sl@0
|
2358 |
|
sl@0
|
2359 |
static const TPtrC KWawJoiningGroup(KWawJoiningGroupData, KWawJoiningGroupLength);
|
sl@0
|
2360 |
|
sl@0
|
2361 |
|
sl@0
|
2362 |
static const TUint16 KYehJoiningGroupData[] =
|
sl@0
|
2363 |
{
|
sl@0
|
2364 |
0x0626, 0x0649, 0x064a, 0x0678, 0x06cc, 0x06ce, 0x06d0, 0x06d1
|
sl@0
|
2365 |
};
|
sl@0
|
2366 |
|
sl@0
|
2367 |
|
sl@0
|
2368 |
static const TInt KYehJoiningGroupLength = sizeof(KYehJoiningGroupData)/sizeof(TUint16);
|
sl@0
|
2369 |
|
sl@0
|
2370 |
static const TPtrC KYehJoiningGroup(KYehJoiningGroupData, KYehJoiningGroupLength);
|
sl@0
|
2371 |
|
sl@0
|
2372 |
static const TUint16 KBehJoiningGroupData[] =
|
sl@0
|
2373 |
{
|
sl@0
|
2374 |
0x0628, 0x062a, 0x062b, 0x0679, 0x067a, 0x067b, 0x067c, 0x067d, 0x067e, 0x067f, 0x0680
|
sl@0
|
2375 |
};
|
sl@0
|
2376 |
|
sl@0
|
2377 |
static const TInt KBehJoiningGroupLength = sizeof(KBehJoiningGroupData)/sizeof(TUint16);
|
sl@0
|
2378 |
|
sl@0
|
2379 |
static const TPtrC KBehJoiningGroup(KBehJoiningGroupData, KBehJoiningGroupLength);
|
sl@0
|
2380 |
|
sl@0
|
2381 |
static const TUint16 KTehMarbutaJoiningGroupData[] =
|
sl@0
|
2382 |
{
|
sl@0
|
2383 |
0x0629, 0x06c0
|
sl@0
|
2384 |
};
|
sl@0
|
2385 |
|
sl@0
|
2386 |
static const TInt KTehMarbutaJoiningGroupLength = sizeof(KTehMarbutaJoiningGroupData)/sizeof(TUint16);
|
sl@0
|
2387 |
|
sl@0
|
2388 |
static const TPtrC KTehMarbutaJoiningGroup(KTehMarbutaJoiningGroupData, KTehMarbutaJoiningGroupLength);
|
sl@0
|
2389 |
|
sl@0
|
2390 |
static const TUint16 KHahJoiningGroupData[] =
|
sl@0
|
2391 |
{
|
sl@0
|
2392 |
0x062c, 0x062d, 0x062e, 0x0681, 0x0682, 0x0683, 0x0684, 0x0685, 0x0686, 0x0687
|
sl@0
|
2393 |
};
|
sl@0
|
2394 |
|
sl@0
|
2395 |
static const TInt KHahJoiningGroupLength = sizeof(KHahJoiningGroupData)/sizeof(TUint16);
|
sl@0
|
2396 |
|
sl@0
|
2397 |
static const TPtrC KHahJoiningGroup(KHahJoiningGroupData, KHahJoiningGroupLength);
|
sl@0
|
2398 |
|
sl@0
|
2399 |
static const TUint16 KDalJoiningGroupData[] =
|
sl@0
|
2400 |
{
|
sl@0
|
2401 |
0x062f, 0x0688, 0x0689, 0x068a, 0x068b, 0x068c, 0x068d, 0x068e, 0x068f, 0x0690
|
sl@0
|
2402 |
};
|
sl@0
|
2403 |
|
sl@0
|
2404 |
static const TInt KDalJoiningGroupLength = sizeof(KDalJoiningGroupData)/sizeof(TUint16);
|
sl@0
|
2405 |
|
sl@0
|
2406 |
static const TPtrC KDalJoiningGroup(KDalJoiningGroupData, KDalJoiningGroupLength);
|
sl@0
|
2407 |
|
sl@0
|
2408 |
|
sl@0
|
2409 |
static const TUint16 KRehJoiningGroupData[] =
|
sl@0
|
2410 |
{
|
sl@0
|
2411 |
0x0631, 0x0632, 0x0691, 0x0692, 0x0693, 0x0694, 0x0695, 0x0696, 0x0697, 0x0698, 0x0699
|
sl@0
|
2412 |
};
|
sl@0
|
2413 |
|
sl@0
|
2414 |
static const TInt KRehJoiningGroupLength = sizeof(KRehJoiningGroupData)/sizeof(TUint16);
|
sl@0
|
2415 |
|
sl@0
|
2416 |
static const TPtrC KRehJoiningGroup(KRehJoiningGroupData, KRehJoiningGroupLength);
|
sl@0
|
2417 |
|
sl@0
|
2418 |
static const TUint16 KSeenJoiningGroupData[] =
|
sl@0
|
2419 |
{
|
sl@0
|
2420 |
0x0633, 0x0634, 0x069a, 0x069b, 0x069c, 0x06fa
|
sl@0
|
2421 |
};
|
sl@0
|
2422 |
|
sl@0
|
2423 |
static const TInt KSeenJoiningGroupLength = sizeof(KSeenJoiningGroupData)/sizeof(TUint16);
|
sl@0
|
2424 |
|
sl@0
|
2425 |
static const TPtrC KSeenJoiningGroup(KSeenJoiningGroupData, KSeenJoiningGroupLength);
|
sl@0
|
2426 |
|
sl@0
|
2427 |
static const TUint16 KSadJoiningGroupData[] =
|
sl@0
|
2428 |
{
|
sl@0
|
2429 |
0x0635, 0x0636, 0x069d, 0x069e, 0x06fb
|
sl@0
|
2430 |
};
|
sl@0
|
2431 |
|
sl@0
|
2432 |
static const TInt KSadJoiningGroupLength = sizeof(KSadJoiningGroupData)/sizeof(TUint16);
|
sl@0
|
2433 |
|
sl@0
|
2434 |
static const TPtrC KSadJoiningGroup(KSadJoiningGroupData, KSadJoiningGroupLength);
|
sl@0
|
2435 |
|
sl@0
|
2436 |
static const TUint16 KTahJoiningGroupData[] =
|
sl@0
|
2437 |
{
|
sl@0
|
2438 |
0x0637, 0x0638, 0x069f
|
sl@0
|
2439 |
};
|
sl@0
|
2440 |
|
sl@0
|
2441 |
static const TInt KTahJoiningGroupLength = sizeof(KTahJoiningGroupData)/sizeof(TUint16);
|
sl@0
|
2442 |
|
sl@0
|
2443 |
static const TPtrC KTahJoiningGroup(KTahJoiningGroupData, KTahJoiningGroupLength);
|
sl@0
|
2444 |
|
sl@0
|
2445 |
static const TUint16 KAinJoiningGroupData[] =
|
sl@0
|
2446 |
{
|
sl@0
|
2447 |
0x0639, 0x063a, 0x6a0, 0x06fc
|
sl@0
|
2448 |
};
|
sl@0
|
2449 |
|
sl@0
|
2450 |
static const TInt KAinJoiningGroupLength = sizeof(KAinJoiningGroupData)/sizeof(TUint16);
|
sl@0
|
2451 |
|
sl@0
|
2452 |
static const TPtrC KAinJoiningGroup(KAinJoiningGroupData, KAinJoiningGroupLength);
|
sl@0
|
2453 |
|
sl@0
|
2454 |
static const TUint16 KFehJoiningGroupData[] =
|
sl@0
|
2455 |
{
|
sl@0
|
2456 |
0x0641, 0x06a1, 0x06a2, 0x06a3, 0x06a4, 0x06a5, 0x06a6
|
sl@0
|
2457 |
};
|
sl@0
|
2458 |
|
sl@0
|
2459 |
|
sl@0
|
2460 |
static const TInt KFehJoiningGroupLength = sizeof(KFehJoiningGroupData)/sizeof(TUint16);
|
sl@0
|
2461 |
|
sl@0
|
2462 |
static const TPtrC KFehJoiningGroup(KFehJoiningGroupData, KFehJoiningGroupLength);
|
sl@0
|
2463 |
|
sl@0
|
2464 |
static const TUint16 KQafJoiningGroupData[] =
|
sl@0
|
2465 |
{
|
sl@0
|
2466 |
0x0642, 0x06a7, 0x06a8
|
sl@0
|
2467 |
};
|
sl@0
|
2468 |
|
sl@0
|
2469 |
static const TInt KQafJoiningGroupLength = sizeof(KQafJoiningGroupData)/sizeof(TUint16);
|
sl@0
|
2470 |
|
sl@0
|
2471 |
static const TPtrC KQafJoiningGroup(KQafJoiningGroupData, KQafJoiningGroupLength);
|
sl@0
|
2472 |
|
sl@0
|
2473 |
static const TUint16 KKafJoiningGroupData[] =
|
sl@0
|
2474 |
{
|
sl@0
|
2475 |
0x0643, 0x06aa, 0x06ac, 0x06ad, 0x06ae
|
sl@0
|
2476 |
};
|
sl@0
|
2477 |
|
sl@0
|
2478 |
static const TInt KKafJoiningGroupLength = sizeof(KKafJoiningGroupData)/sizeof(TUint16);
|
sl@0
|
2479 |
|
sl@0
|
2480 |
static const TPtrC KKafJoiningGroup(KKafJoiningGroupData, KKafJoiningGroupLength);
|
sl@0
|
2481 |
|
sl@0
|
2482 |
static const TUint16 KLamJoiningGroupData[] =
|
sl@0
|
2483 |
{
|
sl@0
|
2484 |
0x0644, 0x06b5, 0x06b6, 0x06b7, 0x06b8
|
sl@0
|
2485 |
};
|
sl@0
|
2486 |
|
sl@0
|
2487 |
static const TInt KLamJoiningGroupLength = sizeof(KLamJoiningGroupData)/sizeof(TUint16);
|
sl@0
|
2488 |
|
sl@0
|
2489 |
static const TPtrC KLamJoiningGroup(KLamJoiningGroupData, KLamJoiningGroupLength);
|
sl@0
|
2490 |
|
sl@0
|
2491 |
static const TUint16 KMeemJoiningGroupData[] =
|
sl@0
|
2492 |
{
|
sl@0
|
2493 |
0x0645
|
sl@0
|
2494 |
};
|
sl@0
|
2495 |
|
sl@0
|
2496 |
static const TInt KMeemJoiningGroupLength = sizeof(KMeemJoiningGroupData)/sizeof(TUint16);
|
sl@0
|
2497 |
|
sl@0
|
2498 |
static const TPtrC KMeemJoiningGroup(KMeemJoiningGroupData, KMeemJoiningGroupLength);
|
sl@0
|
2499 |
|
sl@0
|
2500 |
static const TUint16 KNoonJoiningGroupData[] =
|
sl@0
|
2501 |
{
|
sl@0
|
2502 |
0x0646, 0x06b9, 0x06ba, 0x06bb, 0x06bc, 0x06bd
|
sl@0
|
2503 |
};
|
sl@0
|
2504 |
|
sl@0
|
2505 |
static const TInt KNoonJoiningGroupLength = sizeof(KNoonJoiningGroupData)/sizeof(TUint16);
|
sl@0
|
2506 |
|
sl@0
|
2507 |
static const TPtrC KNoonJoiningGroup(KNoonJoiningGroupData, KNoonJoiningGroupLength);
|
sl@0
|
2508 |
|
sl@0
|
2509 |
static const TUint16 KHehJoiningGroupData[] =
|
sl@0
|
2510 |
{
|
sl@0
|
2511 |
0x0647
|
sl@0
|
2512 |
};
|
sl@0
|
2513 |
|
sl@0
|
2514 |
static const TInt KHehJoiningGroupLength = sizeof(KHehJoiningGroupData)/sizeof(TUint16);
|
sl@0
|
2515 |
|
sl@0
|
2516 |
static const TPtrC KHehJoiningGroup(KHehJoiningGroupData, KHehJoiningGroupLength);
|
sl@0
|
2517 |
|
sl@0
|
2518 |
static const TUint16 KGafJoiningGroupData[] =
|
sl@0
|
2519 |
{
|
sl@0
|
2520 |
0x06a9, 0x06ab, 0x06af, 0x06b0, 0x06b1, 0x06b2, 0x06b3, 0x06b4
|
sl@0
|
2521 |
};
|
sl@0
|
2522 |
|
sl@0
|
2523 |
static const TInt KGafJoiningGroupLength = sizeof(KGafJoiningGroupData)/sizeof(TUint16);
|
sl@0
|
2524 |
|
sl@0
|
2525 |
static const TPtrC KGafJoiningGroup(KGafJoiningGroupData, KGafJoiningGroupLength);
|
sl@0
|
2526 |
|
sl@0
|
2527 |
static const TUint16 KKnottedHehJoiningGroupData[] =
|
sl@0
|
2528 |
{
|
sl@0
|
2529 |
0x06be
|
sl@0
|
2530 |
};
|
sl@0
|
2531 |
|
sl@0
|
2532 |
static const TInt KKnottedHehJoiningGroupLength = sizeof(KKnottedHehJoiningGroupData)/sizeof(TUint16);
|
sl@0
|
2533 |
|
sl@0
|
2534 |
static const TPtrC KKnottedHehJoiningGroup(KKnottedHehJoiningGroupData, KKnottedHehJoiningGroupLength);
|
sl@0
|
2535 |
|
sl@0
|
2536 |
static const TUint16 KHehGoalJoiningGroupData[] =
|
sl@0
|
2537 |
{
|
sl@0
|
2538 |
0x06c1
|
sl@0
|
2539 |
};
|
sl@0
|
2540 |
|
sl@0
|
2541 |
static const TInt KHehGoalJoiningGroupLength = sizeof(KHehGoalJoiningGroupData)/sizeof(TUint16);
|
sl@0
|
2542 |
|
sl@0
|
2543 |
static const TPtrC KHehGoalJoiningGroup(KHehGoalJoiningGroupData, KHehGoalJoiningGroupLength);
|
sl@0
|
2544 |
|
sl@0
|
2545 |
static const TUint16 KHamzaOnHehGoalJoiningGroupData[] =
|
sl@0
|
2546 |
{
|
sl@0
|
2547 |
0x06c2, 0x06c3
|
sl@0
|
2548 |
};
|
sl@0
|
2549 |
|
sl@0
|
2550 |
static const TInt KHamzaOnHehGoalJoiningGroupLength = sizeof(KHamzaOnHehGoalJoiningGroupData)/sizeof(TUint16);
|
sl@0
|
2551 |
|
sl@0
|
2552 |
static const TPtrC KHamzaOnHehGoalJoiningGroup(KHamzaOnHehGoalJoiningGroupData, KHamzaOnHehGoalJoiningGroupLength);
|
sl@0
|
2553 |
|
sl@0
|
2554 |
static const TUint16 KYehWithTailJoiningGroupData[] =
|
sl@0
|
2555 |
{
|
sl@0
|
2556 |
0x06cd
|
sl@0
|
2557 |
};
|
sl@0
|
2558 |
|
sl@0
|
2559 |
static const TInt KYehWithTailJoiningGroupLength = sizeof(KYehWithTailJoiningGroupData)/sizeof(TUint16);
|
sl@0
|
2560 |
|
sl@0
|
2561 |
static const TPtrC KYehWithTailJoiningGroup(KYehWithTailJoiningGroupData, KYehWithTailJoiningGroupLength);
|
sl@0
|
2562 |
|
sl@0
|
2563 |
static const TUint16 KYehBarreeJoiningGroupData[] =
|
sl@0
|
2564 |
{
|
sl@0
|
2565 |
0x06d2, 0x06d3
|
sl@0
|
2566 |
};
|
sl@0
|
2567 |
|
sl@0
|
2568 |
static const TInt KYehBarreeJoiningGroupLength = sizeof(KYehBarreeJoiningGroupData)/sizeof(TUint16);
|
sl@0
|
2569 |
|
sl@0
|
2570 |
static const TPtrC KYehBarreeJoiningGroup(KYehBarreeJoiningGroupData, KYehBarreeJoiningGroupLength);
|
sl@0
|
2571 |
|
sl@0
|
2572 |
enum JoiningGroupType
|
sl@0
|
2573 |
{
|
sl@0
|
2574 |
EAlefJoiningGroup,
|
sl@0
|
2575 |
EWawJoiningGroup,
|
sl@0
|
2576 |
EYehJoiningGroup,
|
sl@0
|
2577 |
EBehJoiningGroup,
|
sl@0
|
2578 |
ETehMarbutaJoiningGroup,
|
sl@0
|
2579 |
EHahJoiningGroup,
|
sl@0
|
2580 |
EDalJoiningGroup,
|
sl@0
|
2581 |
ERehJoiningGroup,
|
sl@0
|
2582 |
ESeenJoiningGroup,
|
sl@0
|
2583 |
ESadJoiningGroup,
|
sl@0
|
2584 |
ETahJoiningGroup,
|
sl@0
|
2585 |
EAinJoiningGroup,
|
sl@0
|
2586 |
EFehJoiningGroup,
|
sl@0
|
2587 |
EQafJoiningGroup,
|
sl@0
|
2588 |
EKafJoiningGroup,
|
sl@0
|
2589 |
ELamJoiningGroup,
|
sl@0
|
2590 |
EMeemJoiningGroup,
|
sl@0
|
2591 |
ENoonJoiningGroup,
|
sl@0
|
2592 |
EHehJoiningGroup,
|
sl@0
|
2593 |
EGafJoiningGroup,
|
sl@0
|
2594 |
EKnottedHehJoiningGroup,
|
sl@0
|
2595 |
EHehGoalJoiningGroup,
|
sl@0
|
2596 |
EHamzaOnHehGoalJoiningGroup,
|
sl@0
|
2597 |
EYehWithTailJoiningGroup,
|
sl@0
|
2598 |
EYehBarreeJoiningGroup
|
sl@0
|
2599 |
};
|
sl@0
|
2600 |
|
sl@0
|
2601 |
struct JoiningGroupListData
|
sl@0
|
2602 |
{
|
sl@0
|
2603 |
TInt iGroupType;
|
sl@0
|
2604 |
const TPtrC* iGroup;
|
sl@0
|
2605 |
};
|
sl@0
|
2606 |
|
sl@0
|
2607 |
// Structure to hold basic shape glyph values
|
sl@0
|
2608 |
|
sl@0
|
2609 |
struct ArabicLetterShapes
|
sl@0
|
2610 |
{
|
sl@0
|
2611 |
TUint16 iCode; //base Unicode value for character
|
sl@0
|
2612 |
TUint16 iIsolated;
|
sl@0
|
2613 |
TUint16 iFinal;
|
sl@0
|
2614 |
TUint16 iInitial;
|
sl@0
|
2615 |
TUint16 iMedial;
|
sl@0
|
2616 |
};
|
sl@0
|
2617 |
|
sl@0
|
2618 |
static const ArabicLetterShapes KArabicShapeList[] =
|
sl@0
|
2619 |
{
|
sl@0
|
2620 |
{ 0x0622, 0xfe81, 0xfe82, 0x0622, 0x0622 },
|
sl@0
|
2621 |
{ 0x0623, 0xfe83, 0xfe84, 0x0623, 0x0623 },
|
sl@0
|
2622 |
{ 0x0624, 0xfe85, 0xfe86, 0x0624, 0x0624 },
|
sl@0
|
2623 |
{ 0x0625, 0xfe87, 0xfe88, 0x0625, 0x0625 },
|
sl@0
|
2624 |
{ 0x0626, 0xfe89, 0xfe8a, 0xfe8b, 0xfe8c },
|
sl@0
|
2625 |
{ 0x0627, 0xfe8d, 0xfe8e, 0x0627, 0x0627 },
|
sl@0
|
2626 |
{ 0x0628, 0xfe8f, 0xfe90, 0xfe91, 0xfe92 },
|
sl@0
|
2627 |
{ 0x0629, 0xfe93, 0xfe94, 0x0629, 0x0629 },
|
sl@0
|
2628 |
{ 0x062a, 0xfe95, 0xfe96, 0xfe97, 0xfe98 },
|
sl@0
|
2629 |
{ 0x062b, 0xfe99, 0xfe9a, 0xfe9b, 0xfe9c },
|
sl@0
|
2630 |
{ 0x062c, 0xfe9d, 0xfe9e, 0xfe9f, 0xfea0 },
|
sl@0
|
2631 |
{ 0x062d, 0xfea1, 0xfea2, 0xfea3, 0xfea4 },
|
sl@0
|
2632 |
{ 0x062e, 0xfea5, 0xfea6, 0xfea7, 0xfea8 },
|
sl@0
|
2633 |
{ 0x062f, 0xfea9, 0xfeaa, 0x062f, 0x062f },
|
sl@0
|
2634 |
{ 0x0630, 0xfeab, 0xfeac, 0x0630, 0x0630 },
|
sl@0
|
2635 |
{ 0x0631, 0xfead, 0xfeae, 0x0631, 0x0631 },
|
sl@0
|
2636 |
{ 0x0632, 0xfeaf, 0xfeb0, 0x0632, 0x0632 },
|
sl@0
|
2637 |
{ 0x0633, 0xfeb1, 0xfeb2, 0xfeb3, 0xfeb4 },
|
sl@0
|
2638 |
{ 0x0634, 0xfeb5, 0xfeb6, 0xfeb7, 0xfeb8 },
|
sl@0
|
2639 |
{ 0x0635, 0xfeb9, 0xfeba, 0xfebb, 0xfebc },
|
sl@0
|
2640 |
{ 0x0636, 0xfebd, 0xfebe, 0xfebf, 0xfec0 },
|
sl@0
|
2641 |
{ 0x0637, 0xfec1, 0xfec2, 0xfec3, 0xfec4 },
|
sl@0
|
2642 |
{ 0x0638, 0xfec5, 0xfec6, 0xfec7, 0xfec8 },
|
sl@0
|
2643 |
{ 0x0639, 0xfec9, 0xfeca, 0xfecb, 0xfecc },
|
sl@0
|
2644 |
{ 0x063a, 0xfecd, 0xfece, 0xfecf, 0xfed0 },
|
sl@0
|
2645 |
{ 0x0641, 0xfed1, 0xfed2, 0xfed3, 0xfed4 },
|
sl@0
|
2646 |
{ 0x0642, 0xfed5, 0xfed6, 0xfed7, 0xfed8 },
|
sl@0
|
2647 |
{ 0x0643, 0xfed9, 0xfeda, 0xfedb, 0xfedc },
|
sl@0
|
2648 |
{ 0x0644, 0xfedd, 0xfede, 0xfedf, 0xfee0 },
|
sl@0
|
2649 |
{ 0x0645, 0xfee1, 0xfee2, 0xfee3, 0xfee4 },
|
sl@0
|
2650 |
{ 0x0646, 0xfee5, 0xfee6, 0xfee7, 0xfee8 },
|
sl@0
|
2651 |
{ 0x0647, 0xfee9, 0xfeea, 0xfeeb, 0xfeec },
|
sl@0
|
2652 |
{ 0x0648, 0xfeed, 0xfeee, 0x0648, 0x0648 },
|
sl@0
|
2653 |
{ 0x0649, 0xfeef, 0xfef0, 0xfbe8, 0xfbe9 },
|
sl@0
|
2654 |
{ 0x064a, 0xfef1, 0xfef2, 0xfef3, 0xfef4 },
|
sl@0
|
2655 |
{ 0x0671, 0xfb50, 0xfb51, 0x0671, 0x0671 },
|
sl@0
|
2656 |
{ 0x0677, 0xfbdd, 0x0677, 0x0677, 0x0677 },
|
sl@0
|
2657 |
{ 0x0679, 0xfb66, 0xfb67, 0xfb68, 0xfb69 },
|
sl@0
|
2658 |
{ 0x067a, 0xfb5e, 0xfb5f, 0xfb60, 0xfb61 },
|
sl@0
|
2659 |
{ 0x067b, 0xfb52, 0xfb53, 0xfb54, 0xfb55 },
|
sl@0
|
2660 |
{ 0x067e, 0xfb56, 0xfb57, 0xfb58, 0xfb59 },
|
sl@0
|
2661 |
{ 0x067f, 0xfb62, 0xfb63, 0xfb64, 0xfb65 },
|
sl@0
|
2662 |
{ 0x0680, 0xfb5a, 0xfb5b, 0xfb5c, 0xfb5d },
|
sl@0
|
2663 |
{ 0x0683, 0xfb76, 0xfb77, 0xfb78, 0xfb79 },
|
sl@0
|
2664 |
{ 0x0684, 0xfb72, 0xfb73, 0xfb74, 0xfb75 },
|
sl@0
|
2665 |
{ 0x0686, 0xfb7a, 0xfb7b, 0xfb7c, 0xfb7d },
|
sl@0
|
2666 |
{ 0x0687, 0xfb7e, 0xfb7f, 0xfb80, 0xfb81 },
|
sl@0
|
2667 |
{ 0x0688, 0xfb88, 0xfb89, 0x0688, 0x0688 },
|
sl@0
|
2668 |
{ 0x068c, 0xfb84, 0xfb85, 0x068c, 0x068c },
|
sl@0
|
2669 |
{ 0x068d, 0xfb82, 0xfb83, 0x068d, 0x068d },
|
sl@0
|
2670 |
{ 0x068e, 0xfb86, 0xfb87, 0x068e, 0x068e },
|
sl@0
|
2671 |
{ 0x0691, 0xfb8c, 0xfb8d, 0x0691, 0x0691 },
|
sl@0
|
2672 |
{ 0x0698, 0xfb8a, 0xfb8b, 0x0698, 0x0698 },
|
sl@0
|
2673 |
{ 0x06a4, 0xfb6a, 0xfb6b, 0xfb6c, 0xfb6d },
|
sl@0
|
2674 |
{ 0x06a6, 0xfb6e, 0xfb6f, 0xfb70, 0xfb71 },
|
sl@0
|
2675 |
{ 0x06a9, 0xfb8e, 0xfb8f, 0xfb90, 0xfb91 },
|
sl@0
|
2676 |
{ 0x06ad, 0xfbd3, 0xfbd4, 0xfbd5, 0xfbd6 },
|
sl@0
|
2677 |
{ 0x06af, 0xfb92, 0xfb93, 0xfb94, 0xfb95 },
|
sl@0
|
2678 |
{ 0x06b1, 0xfb9a, 0xfb9b, 0xfb9c, 0xfb9d },
|
sl@0
|
2679 |
{ 0x06b3, 0xfb96, 0xfb97, 0xfb98, 0xfb99 },
|
sl@0
|
2680 |
{ 0x06ba, 0xfb9e, 0xfb9f, 0x06ba, 0x06ba },
|
sl@0
|
2681 |
{ 0x06bb, 0xfba0, 0xfba1, 0xfba2, 0xfba3 },
|
sl@0
|
2682 |
{ 0x06be, 0xfbaa, 0xfbab, 0xfbac, 0xfbad },
|
sl@0
|
2683 |
{ 0x06c0, 0xfba4, 0xfba5, 0x06c0, 0x06c0 },
|
sl@0
|
2684 |
{ 0x06c1, 0xfba6, 0xfba7, 0xfba8, 0xfba9 },
|
sl@0
|
2685 |
{ 0x06c5, 0xfbe0, 0xfbe1, 0x06c5, 0x06c5 },
|
sl@0
|
2686 |
{ 0x06c6, 0xfbd9, 0xfbda, 0x06c6, 0x06c6 },
|
sl@0
|
2687 |
{ 0x06c7, 0xfbd7, 0xfbd8, 0x06c7, 0x06c7 },
|
sl@0
|
2688 |
{ 0x06c8, 0xfbdb, 0xfbdc, 0x06c8, 0x06c8 },
|
sl@0
|
2689 |
{ 0x06c9, 0xfbe2, 0xfbe3, 0x06c9, 0x06c9 },
|
sl@0
|
2690 |
{ 0x06cb, 0xfbde, 0xfbdf, 0x06cb, 0x06cb },
|
sl@0
|
2691 |
{ 0x06cc, 0xfbfc, 0xfbfd, 0xfbfe, 0xfbff },
|
sl@0
|
2692 |
{ 0x06d0, 0xfbe4, 0xfbe5, 0xfbe6, 0xfbe7 },
|
sl@0
|
2693 |
{ 0x06d2, 0xfbae, 0xfbaf, 0x06d2, 0x06d2 },
|
sl@0
|
2694 |
{ 0x06d3, 0xfbb0, 0xfbb1, 0x06d3, 0x06d3 }
|
sl@0
|
2695 |
};
|
sl@0
|
2696 |
|
sl@0
|
2697 |
static const TInt KArabicShapeListLength = sizeof(KArabicShapeList) / sizeof (ArabicLetterShapes);
|
sl@0
|
2698 |
|
sl@0
|
2699 |
LOCAL_C TInt GetArabicShapeDataIndex(const TUint16 aCode )
|
sl@0
|
2700 |
{
|
sl@0
|
2701 |
for (TInt i = 0 ; i < KArabicShapeListLength ; ++i)
|
sl@0
|
2702 |
{
|
sl@0
|
2703 |
if (aCode == KArabicShapeList[i].iCode)
|
sl@0
|
2704 |
{
|
sl@0
|
2705 |
return i;
|
sl@0
|
2706 |
}
|
sl@0
|
2707 |
}
|
sl@0
|
2708 |
return -1;//not found
|
sl@0
|
2709 |
}
|
sl@0
|
2710 |
|
sl@0
|
2711 |
#ifdef USE_ISOLATED
|
sl@0
|
2712 |
LOCAL_C TUint16 GetIsolatedForm(const TUint16 aCode)
|
sl@0
|
2713 |
{
|
sl@0
|
2714 |
TInt index = GetArabicShapeDataIndex(aCode);
|
sl@0
|
2715 |
return (index >= 0) ? KArabicShapeList[index].iIsolated : aCode;
|
sl@0
|
2716 |
}
|
sl@0
|
2717 |
#endif /* USE_ISOLATED */
|
sl@0
|
2718 |
|
sl@0
|
2719 |
LOCAL_C TUint16 GetFinalForm(const TUint16 aCode)
|
sl@0
|
2720 |
{
|
sl@0
|
2721 |
TInt index = GetArabicShapeDataIndex(aCode);
|
sl@0
|
2722 |
return (index >= 0) ? KArabicShapeList[index].iFinal : aCode;
|
sl@0
|
2723 |
}
|
sl@0
|
2724 |
|
sl@0
|
2725 |
LOCAL_C TUint16 GetInitialForm(const TUint16 aCode)
|
sl@0
|
2726 |
{
|
sl@0
|
2727 |
TInt index = GetArabicShapeDataIndex(aCode);
|
sl@0
|
2728 |
return (index >= 0) ? KArabicShapeList[index].iInitial : aCode;
|
sl@0
|
2729 |
}
|
sl@0
|
2730 |
|
sl@0
|
2731 |
LOCAL_C TUint16 GetMedialForm(const TUint16 aCode)
|
sl@0
|
2732 |
{
|
sl@0
|
2733 |
TInt index = GetArabicShapeDataIndex(aCode);
|
sl@0
|
2734 |
return (index >= 0) ? KArabicShapeList[index].iMedial : aCode;
|
sl@0
|
2735 |
}
|
sl@0
|
2736 |
|
sl@0
|
2737 |
// Utility functions to show contents of test data using aTest->INFO_PRINTF1
|
sl@0
|
2738 |
|
sl@0
|
2739 |
_LIT(KAddressMarker, "> ");
|
sl@0
|
2740 |
_LIT(KSpace, " ");
|
sl@0
|
2741 |
_LIT(KLength, ", Length of Data = %d 16-bit words\r\n");
|
sl@0
|
2742 |
_LIT(KSpaces, " ");
|
sl@0
|
2743 |
_LIT(KPeriod, ".");
|
sl@0
|
2744 |
_LIT(KSingleString, "%s\r\n");
|
sl@0
|
2745 |
_LIT(KDoubleString, "%s <%s>\r\n");
|
sl@0
|
2746 |
|
sl@0
|
2747 |
|
sl@0
|
2748 |
|
sl@0
|
2749 |
class MOOMTest
|
sl@0
|
2750 |
{
|
sl@0
|
2751 |
public:
|
sl@0
|
2752 |
virtual TInt ConsecutivePassesRequired() const { return 1; }
|
sl@0
|
2753 |
virtual void SetUpL() = 0;
|
sl@0
|
2754 |
virtual void ManipulateL() = 0;
|
sl@0
|
2755 |
virtual void TestLeftCleanlyL(CTGraphicsBase* /*aTest*/) {};
|
sl@0
|
2756 |
virtual void TestIfPassedL(CTGraphicsBase* /*aTest*/) {};
|
sl@0
|
2757 |
virtual void TearDown() = 0;
|
sl@0
|
2758 |
};
|
sl@0
|
2759 |
|
sl@0
|
2760 |
// Test the internals of the algorithm for Unicode compliance.
|
sl@0
|
2761 |
class TBdLevelTest
|
sl@0
|
2762 |
{
|
sl@0
|
2763 |
public:
|
sl@0
|
2764 |
TChar::TBdCategory iCat;
|
sl@0
|
2765 |
TInt iLevel; // or -1 for "no test"
|
sl@0
|
2766 |
TChar::TBdCategory iChangedCat;
|
sl@0
|
2767 |
};
|
sl@0
|
2768 |
|
sl@0
|
2769 |
class CTBiDi : public CTGraphicsBase
|
sl@0
|
2770 |
{
|
sl@0
|
2771 |
public:
|
sl@0
|
2772 |
CTBiDi(CTestStep* aStep);
|
sl@0
|
2773 |
|
sl@0
|
2774 |
void DoTestTextDrawPanic();
|
sl@0
|
2775 |
TInt DoTestPanicSetTextL();
|
sl@0
|
2776 |
TInt DoTestPanicMinimumSizeLineGap();
|
sl@0
|
2777 |
TInt DoTestPanicMinimumSizeMaxLines();
|
sl@0
|
2778 |
TInt DoTestPanicMinimumSizeWidth();
|
sl@0
|
2779 |
TInt DoTestPanicMinimumNumberOfLinesL();
|
sl@0
|
2780 |
static void FillRunArray(const TBdLevelTest* aTests, TBidirectionalState::TRunInfo* aRuns, TInt aArraySize, TBidirectionalState::TReorderContext& aContext);
|
sl@0
|
2781 |
static void SetContext(TBidirectionalState::TReorderContext& aContext, TChar::TBdCategory aCat);
|
sl@0
|
2782 |
protected:
|
sl@0
|
2783 |
//from CTGraphicsStep
|
sl@0
|
2784 |
virtual void RunTestCaseL(TInt aCurTestCase);
|
sl@0
|
2785 |
private:
|
sl@0
|
2786 |
void PrintTestData (const TDesC& aTitle , const TDesC16& aData);
|
sl@0
|
2787 |
void PrintTestData(const TDesC& aTitle, const TText16* aDataBuffer, const TInt aSize);
|
sl@0
|
2788 |
void TestReorderTextL();
|
sl@0
|
2789 |
void TestOOML(MOOMTest& aOOMTest);
|
sl@0
|
2790 |
void PrintRunCategories(const TBidirectionalState::TRunInfo* aRunArray, const TInt aRuns, const TText* aText, const TBool aInternal);
|
sl@0
|
2791 |
void PrintRunArray(const TBidirectionalState::TRunInfo* aRunArray, const TInt aRuns, const TText* aText);
|
sl@0
|
2792 |
void DoTestRRunInfoArrayInternalsL();
|
sl@0
|
2793 |
void DoTestTBidiTextNewL();
|
sl@0
|
2794 |
void DoTestTBidiTextSetTextL();
|
sl@0
|
2795 |
void DoTestTBidiTextMinimumSizeL();
|
sl@0
|
2796 |
void DoTestTBidiTextMinimumSizePanics();
|
sl@0
|
2797 |
void TestCrApos69qd7nL();
|
sl@0
|
2798 |
void TUnicodeExampleTestL();
|
sl@0
|
2799 |
void NoLineBreakDrawTestL();
|
sl@0
|
2800 |
void RightToLeftArabicDrawTestL();
|
sl@0
|
2801 |
void TRunInfoCompactReorderTest();
|
sl@0
|
2802 |
void TBidiLogicalToVisualGetVisualLineTest();
|
sl@0
|
2803 |
void TestScriptDirectionality();
|
sl@0
|
2804 |
void LeftToRightDrawTestL();
|
sl@0
|
2805 |
TBool GlyphTestL(const TDesC16& aTitle, const TDesC16& aOriginal, const TDesC16& aDesired, const TInt aWrapWidth);
|
sl@0
|
2806 |
void LigatureTestsL();
|
sl@0
|
2807 |
void ArabicIllegalLinebreakTestsL();
|
sl@0
|
2808 |
TInt TestPanic(TThreadFunction aFunction);
|
sl@0
|
2809 |
void DEF043323L();
|
sl@0
|
2810 |
void DEF052191L();
|
sl@0
|
2811 |
void TestBidiTextClassL();
|
sl@0
|
2812 |
void TestBidiLogicalToVisualClassL();
|
sl@0
|
2813 |
void TestCatToNumber(TInt aIn, TInt aOut);
|
sl@0
|
2814 |
void CheckRunResults(const TBdLevelTest* aTests, TBidirectionalState::TRunInfo* aRuns,
|
sl@0
|
2815 |
TInt aArraySize);
|
sl@0
|
2816 |
void TestTBidirectionalStateInternalsL();
|
sl@0
|
2817 |
void DoXTests(TBidirectionalState& aState,
|
sl@0
|
2818 |
TBidirectionalState::TReorderContext& aContext,
|
sl@0
|
2819 |
TBidirectionalState::TRunInfo* aRuns);
|
sl@0
|
2820 |
void DoKW123TestsLeft(TBidirectionalState& aState,
|
sl@0
|
2821 |
TBidirectionalState::TReorderContext& aContext,
|
sl@0
|
2822 |
TBidirectionalState::TRunInfo* aRuns) ;
|
sl@0
|
2823 |
void DoKW123TestsRight(TBidirectionalState& aState,
|
sl@0
|
2824 |
TBidirectionalState::TReorderContext& aContext,
|
sl@0
|
2825 |
TBidirectionalState::TRunInfo* aRuns);
|
sl@0
|
2826 |
void DoKW456Tests(TBidirectionalState& aState,
|
sl@0
|
2827 |
TBidirectionalState::TReorderContext& aContext,
|
sl@0
|
2828 |
TBidirectionalState::TRunInfo* aRuns);
|
sl@0
|
2829 |
void DoKW7TestsLeft(TBidirectionalState& aState,
|
sl@0
|
2830 |
TBidirectionalState::TReorderContext& aContext,
|
sl@0
|
2831 |
TBidirectionalState::TRunInfo* aRuns);
|
sl@0
|
2832 |
void DoKW7TestsRight(TBidirectionalState& aState,
|
sl@0
|
2833 |
TBidirectionalState::TReorderContext& aContext,
|
sl@0
|
2834 |
TBidirectionalState::TRunInfo* aRuns) ;
|
sl@0
|
2835 |
void DoKN12TestsLeft(TBidirectionalState& aState,
|
sl@0
|
2836 |
TBidirectionalState::TReorderContext& aContext,
|
sl@0
|
2837 |
TBidirectionalState::TRunInfo* aRuns) ;
|
sl@0
|
2838 |
void DoKN12TestsRight(TBidirectionalState& aState,
|
sl@0
|
2839 |
TBidirectionalState::TReorderContext& aContext,
|
sl@0
|
2840 |
TBidirectionalState::TRunInfo* aRuns) ;
|
sl@0
|
2841 |
void DoKN12TestsRRL(TBidirectionalState& aState,
|
sl@0
|
2842 |
TBidirectionalState::TReorderContext& aContext,
|
sl@0
|
2843 |
TBidirectionalState::TRunInfo* aRuns) ;
|
sl@0
|
2844 |
void DoKN12TestsLRR(TBidirectionalState& aState,
|
sl@0
|
2845 |
TBidirectionalState::TReorderContext& aContext,
|
sl@0
|
2846 |
TBidirectionalState::TRunInfo* aRuns) ;
|
sl@0
|
2847 |
void DoKN12TestsLRP(TBidirectionalState& aState,
|
sl@0
|
2848 |
TBidirectionalState::TReorderContext& aContext,
|
sl@0
|
2849 |
TBidirectionalState::TRunInfo* aRuns) ;
|
sl@0
|
2850 |
void DoKN12TestsRLP(TBidirectionalState& aState,
|
sl@0
|
2851 |
TBidirectionalState::TReorderContext& aContext,
|
sl@0
|
2852 |
TBidirectionalState::TRunInfo* aRuns) ;
|
sl@0
|
2853 |
void DoCarryOverTest1(TBidirectionalState& aState,
|
sl@0
|
2854 |
TBidirectionalState::TReorderContext& aContext,
|
sl@0
|
2855 |
TBidirectionalState::TRunInfo* aRuns);
|
sl@0
|
2856 |
void INC086135TestL();
|
sl@0
|
2857 |
|
sl@0
|
2858 |
TInt iTestThreadCounter;
|
sl@0
|
2859 |
};
|
sl@0
|
2860 |
|
sl@0
|
2861 |
void CTBiDi::PrintTestData (const TDesC& aTitle , const TDesC16& aData)
|
sl@0
|
2862 |
{
|
sl@0
|
2863 |
TInt i;
|
sl@0
|
2864 |
TInt j;
|
sl@0
|
2865 |
TInt end;
|
sl@0
|
2866 |
|
sl@0
|
2867 |
TInt length = aData.Length();
|
sl@0
|
2868 |
|
sl@0
|
2869 |
TBuf<80> buffer;
|
sl@0
|
2870 |
|
sl@0
|
2871 |
buffer.Zero();
|
sl@0
|
2872 |
buffer.Append(aTitle);
|
sl@0
|
2873 |
buffer.Append(KLength);
|
sl@0
|
2874 |
|
sl@0
|
2875 |
INFO_PRINTF2(buffer, length);
|
sl@0
|
2876 |
|
sl@0
|
2877 |
for (i = 0 ; i < length ; i += 8)
|
sl@0
|
2878 |
{
|
sl@0
|
2879 |
buffer.Zero();
|
sl@0
|
2880 |
buffer.AppendNumFixedWidth(i, EHex, 8);
|
sl@0
|
2881 |
buffer += KAddressMarker;
|
sl@0
|
2882 |
|
sl@0
|
2883 |
end = ((length-i) >= 8) ? i+8 : length;
|
sl@0
|
2884 |
|
sl@0
|
2885 |
for (j = i ; j < end ; ++j)
|
sl@0
|
2886 |
{
|
sl@0
|
2887 |
buffer.AppendNumFixedWidth(aData[j], EHex, 4);
|
sl@0
|
2888 |
buffer += KSpace;
|
sl@0
|
2889 |
}
|
sl@0
|
2890 |
buffer += TPtrC(KSpaces().Ptr(), ((8-(j-i))*5)+4);
|
sl@0
|
2891 |
|
sl@0
|
2892 |
for (j = i ; j < end ; ++j)
|
sl@0
|
2893 |
{
|
sl@0
|
2894 |
if (aData[j] >= 32)
|
sl@0
|
2895 |
{
|
sl@0
|
2896 |
buffer.Append(aData[j]);
|
sl@0
|
2897 |
}
|
sl@0
|
2898 |
else
|
sl@0
|
2899 |
{
|
sl@0
|
2900 |
buffer += KPeriod;
|
sl@0
|
2901 |
}
|
sl@0
|
2902 |
}
|
sl@0
|
2903 |
buffer.ZeroTerminate();
|
sl@0
|
2904 |
INFO_PRINTF2(KSingleString, buffer.Ptr());
|
sl@0
|
2905 |
}
|
sl@0
|
2906 |
|
sl@0
|
2907 |
}
|
sl@0
|
2908 |
|
sl@0
|
2909 |
void CTBiDi::PrintTestData(const TDesC& aTitle, const TText16* aDataBuffer, const TInt aSize)
|
sl@0
|
2910 |
{
|
sl@0
|
2911 |
PrintTestData(aTitle, TPtrC16(aDataBuffer, aSize));
|
sl@0
|
2912 |
}
|
sl@0
|
2913 |
|
sl@0
|
2914 |
_LIT(KArabicFontName, ""); //any name will do
|
sl@0
|
2915 |
|
sl@0
|
2916 |
//This replicates the definition in TBidirectionalState
|
sl@0
|
2917 |
//because TCategory is declared as private there
|
sl@0
|
2918 |
enum TCategory
|
sl@0
|
2919 |
{
|
sl@0
|
2920 |
ELeftToRight = 1 << TChar::ELeftToRight,
|
sl@0
|
2921 |
ELeftToRightEmbedding = 1 << TChar::ELeftToRightEmbedding,
|
sl@0
|
2922 |
ELeftToRightOverride = 1 << TChar::ELeftToRightOverride,
|
sl@0
|
2923 |
ERightToLeft = 1 << TChar::ERightToLeft,
|
sl@0
|
2924 |
ERightToLeftArabic = 1 << TChar::ERightToLeftArabic,
|
sl@0
|
2925 |
ERightToLeftEmbedding = 1 << TChar::ERightToLeftEmbedding,
|
sl@0
|
2926 |
ERightToLeftOverride = 1 << TChar::ERightToLeftOverride,
|
sl@0
|
2927 |
EPopDirectionalFormat = 1 << TChar::EPopDirectionalFormat,
|
sl@0
|
2928 |
EEuropeanNumber = 1 << TChar::EEuropeanNumber,
|
sl@0
|
2929 |
EEuropeanNumberSeparator = 1 << TChar::EEuropeanNumberSeparator,
|
sl@0
|
2930 |
EEuropeanNumberTerminator = 1 << TChar::EEuropeanNumberTerminator,
|
sl@0
|
2931 |
EArabicNumber = 1 << TChar::EArabicNumber,
|
sl@0
|
2932 |
ECommonNumberSeparator = 1 << TChar::ECommonNumberSeparator,
|
sl@0
|
2933 |
ENonSpacingMark = 1 << TChar::ENonSpacingMark,
|
sl@0
|
2934 |
EBoundaryNeutral = 1 << TChar::EBoundaryNeutral,
|
sl@0
|
2935 |
EParagraphSeparator = 1 << TChar::EParagraphSeparator,
|
sl@0
|
2936 |
ESegmentSeparator = 1 << TChar::ESegmentSeparator,
|
sl@0
|
2937 |
EWhitespace = 1 << TChar::EWhitespace,
|
sl@0
|
2938 |
EOtherNeutral = 1 << TChar::EOtherNeutral,
|
sl@0
|
2939 |
|
sl@0
|
2940 |
// categories used internally by the bidirectional algorithm
|
sl@0
|
2941 |
EStartOfParagraph = 1 << (TChar::EOtherNeutral + 1),
|
sl@0
|
2942 |
EEndOfParagraph = 1 << (TChar::EOtherNeutral + 2),
|
sl@0
|
2943 |
|
sl@0
|
2944 |
// useful groups
|
sl@0
|
2945 |
EBdControlsGroup = ELeftToRightEmbedding | ERightToLeftEmbedding |
|
sl@0
|
2946 |
ELeftToRightOverride | ERightToLeftOverride | EPopDirectionalFormat,
|
sl@0
|
2947 |
ELeftToRightGroup = ELeftToRight | EEuropeanNumber | ELeftToRightOverride | ELeftToRightEmbedding,
|
sl@0
|
2948 |
ERightToLeftGroup = ERightToLeft | EArabicNumber | ERightToLeftArabic | ERightToLeftOverride |
|
sl@0
|
2949 |
ERightToLeftEmbedding,
|
sl@0
|
2950 |
};
|
sl@0
|
2951 |
|
sl@0
|
2952 |
// Helper function
|
sl@0
|
2953 |
void AppendCharacter(HBufC *aDes, TUint aChar)
|
sl@0
|
2954 |
{
|
sl@0
|
2955 |
if (IsSupplementary(aChar))
|
sl@0
|
2956 |
{
|
sl@0
|
2957 |
TText16 high = GetHighSurrogate(aChar);
|
sl@0
|
2958 |
TText16 low = GetLowSurrogate(aChar);
|
sl@0
|
2959 |
aDes->Des().Append(high);
|
sl@0
|
2960 |
aDes->Des().Append(low);
|
sl@0
|
2961 |
}
|
sl@0
|
2962 |
else
|
sl@0
|
2963 |
{
|
sl@0
|
2964 |
aDes->Des().Append(aChar);
|
sl@0
|
2965 |
}
|
sl@0
|
2966 |
}
|
sl@0
|
2967 |
|
sl@0
|
2968 |
void AppendCharacter(TBuf<24> *aDes, TUint aChar)
|
sl@0
|
2969 |
{
|
sl@0
|
2970 |
if (IsSupplementary(aChar))
|
sl@0
|
2971 |
{
|
sl@0
|
2972 |
TText16 high = GetHighSurrogate(aChar);
|
sl@0
|
2973 |
TText16 low = GetLowSurrogate(aChar);
|
sl@0
|
2974 |
aDes->Append(high);
|
sl@0
|
2975 |
aDes->Append(low);
|
sl@0
|
2976 |
}
|
sl@0
|
2977 |
else
|
sl@0
|
2978 |
{
|
sl@0
|
2979 |
aDes->Append(aChar);
|
sl@0
|
2980 |
}
|
sl@0
|
2981 |
}
|
sl@0
|
2982 |
|
sl@0
|
2983 |
//Class to store the start and end of a run of characters
|
sl@0
|
2984 |
class TTestDataRun
|
sl@0
|
2985 |
{
|
sl@0
|
2986 |
public:
|
sl@0
|
2987 |
TInt iStart;
|
sl@0
|
2988 |
TInt iLength;
|
sl@0
|
2989 |
};
|
sl@0
|
2990 |
|
sl@0
|
2991 |
|
sl@0
|
2992 |
class TestTBidirectionalState
|
sl@0
|
2993 |
{
|
sl@0
|
2994 |
public:
|
sl@0
|
2995 |
enum
|
sl@0
|
2996 |
{
|
sl@0
|
2997 |
EParaLToR = EFalse,
|
sl@0
|
2998 |
EParaRToL = ETrue
|
sl@0
|
2999 |
};
|
sl@0
|
3000 |
|
sl@0
|
3001 |
/**
|
sl@0
|
3002 |
*
|
sl@0
|
3003 |
* Checks that two blocks of 16-bit text contain the same characters in the same order
|
sl@0
|
3004 |
* NOT a collating function!.
|
sl@0
|
3005 |
*
|
sl@0
|
3006 |
*
|
sl@0
|
3007 |
* @param "const TText* aOldText"
|
sl@0
|
3008 |
* Pointer to block of text
|
sl@0
|
3009 |
* @param "const TText* aNewText"
|
sl@0
|
3010 |
* Pointer to block of text.
|
sl@0
|
3011 |
* This may point to the same buffer as oldText.
|
sl@0
|
3012 |
* @param "const TUint aSize"
|
sl@0
|
3013 |
* Unsigned integer representing size of text blocks.
|
sl@0
|
3014 |
*
|
sl@0
|
3015 |
* @return ETrue: test succeeded EFalse: test failed.
|
sl@0
|
3016 |
*
|
sl@0
|
3017 |
*/
|
sl@0
|
3018 |
static TBool TextInSameOrder (const TText* aOldText , const TText* aNewText, const TUint aSize)
|
sl@0
|
3019 |
{
|
sl@0
|
3020 |
|
sl@0
|
3021 |
__ASSERT_ALWAYS(aOldText, User::Invariant());
|
sl@0
|
3022 |
__ASSERT_ALWAYS(aNewText, User::Invariant());
|
sl@0
|
3023 |
__ASSERT_ALWAYS(0 < aSize, User::Invariant());
|
sl@0
|
3024 |
|
sl@0
|
3025 |
if (aOldText == aNewText)
|
sl@0
|
3026 |
{
|
sl@0
|
3027 |
//By definition, if both point to the same buffer, it's identical!
|
sl@0
|
3028 |
return ETrue;
|
sl@0
|
3029 |
}
|
sl@0
|
3030 |
|
sl@0
|
3031 |
for (TUint i = 0 ; i < aSize ; ++i)
|
sl@0
|
3032 |
{
|
sl@0
|
3033 |
if (aOldText[i] != aNewText[i])
|
sl@0
|
3034 |
{
|
sl@0
|
3035 |
return EFalse;
|
sl@0
|
3036 |
}
|
sl@0
|
3037 |
}
|
sl@0
|
3038 |
|
sl@0
|
3039 |
return ETrue;
|
sl@0
|
3040 |
}
|
sl@0
|
3041 |
|
sl@0
|
3042 |
/**
|
sl@0
|
3043 |
*
|
sl@0
|
3044 |
* Checks that two blocks of 16-bit text contain the same characters but in reverse order
|
sl@0
|
3045 |
* NOT a collating function.
|
sl@0
|
3046 |
*
|
sl@0
|
3047 |
*
|
sl@0
|
3048 |
* @param "const TText* aOldText"
|
sl@0
|
3049 |
* Pointer to block of text
|
sl@0
|
3050 |
* @param "const TText* aNewText"
|
sl@0
|
3051 |
* Pointer to block of text.
|
sl@0
|
3052 |
* This may point to the same buffer as oldText.
|
sl@0
|
3053 |
* @param "const TUint aSize"
|
sl@0
|
3054 |
* The size of the text blocks.
|
sl@0
|
3055 |
*
|
sl@0
|
3056 |
* @return ETrue: test succeeded EFalse: test failed.
|
sl@0
|
3057 |
*
|
sl@0
|
3058 |
*/
|
sl@0
|
3059 |
static TBool TextInReverseOrder (const TText* aOldText , const TText* aNewText, const TUint aSize, CTGraphicsBase* aTest=NULL)
|
sl@0
|
3060 |
{
|
sl@0
|
3061 |
__ASSERT_ALWAYS(aOldText, User::Invariant());
|
sl@0
|
3062 |
__ASSERT_ALWAYS(aNewText, User::Invariant());
|
sl@0
|
3063 |
__ASSERT_ALWAYS(0 < aSize, User::Invariant());
|
sl@0
|
3064 |
|
sl@0
|
3065 |
TUint i = 0; // index into aOldText
|
sl@0
|
3066 |
TUint j = aSize - 1; // index into aNewText
|
sl@0
|
3067 |
while (i < aSize)
|
sl@0
|
3068 |
{
|
sl@0
|
3069 |
if (IsHighSurrogate(aOldText[i]))
|
sl@0
|
3070 |
{
|
sl@0
|
3071 |
if (aOldText[i] != aNewText[j-1] || aOldText[i+1] != aNewText[j])
|
sl@0
|
3072 |
{
|
sl@0
|
3073 |
if (aTest)
|
sl@0
|
3074 |
{
|
sl@0
|
3075 |
_LIT(KMismatchFormat, "TextInReverseOrder report mismatch: aOldText[%d]=%04X != aNewText[%d]=%04X || aOldText[%d]=%04X != aNewText[%d]=%04X\r\n");
|
sl@0
|
3076 |
aTest->Logger().LogExtra(((TText8*)__FILE__), __LINE__, ESevrWarn, KMismatchFormat,
|
sl@0
|
3077 |
i, aOldText[i], j-1, aNewText[j-1], i+1, aOldText[i+1], j, aNewText[j]);
|
sl@0
|
3078 |
}
|
sl@0
|
3079 |
return EFalse;
|
sl@0
|
3080 |
}
|
sl@0
|
3081 |
i += 2;
|
sl@0
|
3082 |
j -= 2;
|
sl@0
|
3083 |
}
|
sl@0
|
3084 |
else
|
sl@0
|
3085 |
{
|
sl@0
|
3086 |
if (aOldText[i] != aNewText[j])
|
sl@0
|
3087 |
{
|
sl@0
|
3088 |
if (aTest)
|
sl@0
|
3089 |
{
|
sl@0
|
3090 |
_LIT(KMismatchFormat, "TextInReverseOrder report mismatch: aOldText[%d]=%04X != aNewText[%d]=%04X\r\n");
|
sl@0
|
3091 |
aTest->INFO_PRINTF5(KMismatchFormat, i, aOldText[i], j, aNewText[j]);
|
sl@0
|
3092 |
}
|
sl@0
|
3093 |
return EFalse;
|
sl@0
|
3094 |
}
|
sl@0
|
3095 |
i++;
|
sl@0
|
3096 |
j--;
|
sl@0
|
3097 |
}
|
sl@0
|
3098 |
}
|
sl@0
|
3099 |
|
sl@0
|
3100 |
return ETrue;
|
sl@0
|
3101 |
}
|
sl@0
|
3102 |
|
sl@0
|
3103 |
/**
|
sl@0
|
3104 |
*
|
sl@0
|
3105 |
* Checks that two blocks of 16-bit text contain the same characters but in
|
sl@0
|
3106 |
* reverse order, skipping any zero-width joiners in aNewText.
|
sl@0
|
3107 |
*
|
sl@0
|
3108 |
* @param "const TText* aOldText"
|
sl@0
|
3109 |
* Pointer to block of text
|
sl@0
|
3110 |
* @param "const TText* aNewText"
|
sl@0
|
3111 |
* Pointer to block of text.
|
sl@0
|
3112 |
* This may point to the same buffer as oldText.
|
sl@0
|
3113 |
* @param "const TUint aSize"
|
sl@0
|
3114 |
* The size of aOldText.
|
sl@0
|
3115 |
*
|
sl@0
|
3116 |
* @return
|
sl@0
|
3117 |
* 0 if the text did not match, or a pointer one past the end of aNewText's
|
sl@0
|
3118 |
* match if it did.
|
sl@0
|
3119 |
*
|
sl@0
|
3120 |
*/
|
sl@0
|
3121 |
static const TText* TextInReverseOrderIgnoringJoiners(
|
sl@0
|
3122 |
const TText* aOldText , const TText* aNewText, const TUint aSize)
|
sl@0
|
3123 |
{
|
sl@0
|
3124 |
__ASSERT_ALWAYS(aOldText, User::Invariant());
|
sl@0
|
3125 |
__ASSERT_ALWAYS(aNewText, User::Invariant());
|
sl@0
|
3126 |
__ASSERT_ALWAYS(0 < aSize, User::Invariant());
|
sl@0
|
3127 |
|
sl@0
|
3128 |
const TText* newText = aNewText;
|
sl@0
|
3129 |
for (const TText* old = aOldText + aSize - 1;
|
sl@0
|
3130 |
aOldText <= old;
|
sl@0
|
3131 |
--old, ++newText)
|
sl@0
|
3132 |
{
|
sl@0
|
3133 |
while (*newText == KUnicodeZeroWidthJoiner)
|
sl@0
|
3134 |
++newText;
|
sl@0
|
3135 |
if (*newText != *old)
|
sl@0
|
3136 |
return 0;
|
sl@0
|
3137 |
}
|
sl@0
|
3138 |
|
sl@0
|
3139 |
while (*newText == KUnicodeZeroWidthJoiner)
|
sl@0
|
3140 |
++newText;
|
sl@0
|
3141 |
return newText;
|
sl@0
|
3142 |
}
|
sl@0
|
3143 |
|
sl@0
|
3144 |
/**
|
sl@0
|
3145 |
*
|
sl@0
|
3146 |
* Compares two pointers.
|
sl@0
|
3147 |
* If the second pointer does not point to the same place as the first, the
|
sl@0
|
3148 |
* block of memory it points to is deleted as an array.
|
sl@0
|
3149 |
*
|
sl@0
|
3150 |
*
|
sl@0
|
3151 |
* @param "const TText* aOldText"
|
sl@0
|
3152 |
* Pointer to block of text
|
sl@0
|
3153 |
* @param "TText*& aNewText"
|
sl@0
|
3154 |
* Pointer to block of text.
|
sl@0
|
3155 |
* This may point to the same buffer as aOldText.
|
sl@0
|
3156 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
3157 |
* Pointer to the test object
|
sl@0
|
3158 |
*/
|
sl@0
|
3159 |
|
sl@0
|
3160 |
static void DeleteText( const TText* aOldText, TText*& aNewText, CTGraphicsBase* aTest)
|
sl@0
|
3161 |
{
|
sl@0
|
3162 |
if (aNewText != aOldText)
|
sl@0
|
3163 |
{
|
sl@0
|
3164 |
TInt diff;
|
sl@0
|
3165 |
if (aNewText > aOldText)
|
sl@0
|
3166 |
{
|
sl@0
|
3167 |
diff = aNewText-aOldText;
|
sl@0
|
3168 |
}
|
sl@0
|
3169 |
else
|
sl@0
|
3170 |
{
|
sl@0
|
3171 |
diff = aOldText-aNewText;
|
sl@0
|
3172 |
}
|
sl@0
|
3173 |
if (diff < KBufferSize)
|
sl@0
|
3174 |
{
|
sl@0
|
3175 |
aTest->INFO_PRINTF2(_L("Bad free detected - diff %d\r\n"), diff);
|
sl@0
|
3176 |
aTest->TEST(EFalse);
|
sl@0
|
3177 |
}
|
sl@0
|
3178 |
|
sl@0
|
3179 |
delete[] aNewText;
|
sl@0
|
3180 |
aNewText = 0;
|
sl@0
|
3181 |
}
|
sl@0
|
3182 |
}
|
sl@0
|
3183 |
/**
|
sl@0
|
3184 |
*
|
sl@0
|
3185 |
* Test Internalization and Externalization of TBidirectionalState class.
|
sl@0
|
3186 |
*
|
sl@0
|
3187 |
*
|
sl@0
|
3188 |
* @param "TBidirectionalState& aState"
|
sl@0
|
3189 |
* Reference to a TBidirectionalState object.
|
sl@0
|
3190 |
* The state object is assumed not to be newly created, i.e. it has
|
sl@0
|
3191 |
* non-default internal state.
|
sl@0
|
3192 |
*
|
sl@0
|
3193 |
* @param "TBidirectionalState& aState2"
|
sl@0
|
3194 |
* Reference to a TBidirectionalState object.
|
sl@0
|
3195 |
* The state object is assumed not to be newly created, i.e. it has
|
sl@0
|
3196 |
* non-default internal state. This state is also assumed to be
|
sl@0
|
3197 |
* different to that of aState
|
sl@0
|
3198 |
*
|
sl@0
|
3199 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
3200 |
* Pointer to the test object
|
sl@0
|
3201 |
*/
|
sl@0
|
3202 |
static void TestInternalizeL(TBidirectionalState& aState, TBidirectionalState& aState2, CTGraphicsBase* aTest)
|
sl@0
|
3203 |
{
|
sl@0
|
3204 |
//Now test internalization and externalization functions
|
sl@0
|
3205 |
|
sl@0
|
3206 |
//Create memory-based streams to externalize into
|
sl@0
|
3207 |
|
sl@0
|
3208 |
CBufStore* rStore = CBufStore::NewLC(KBufferSize);
|
sl@0
|
3209 |
CBufStore* lStore = CBufStore::NewLC(KBufferSize);
|
sl@0
|
3210 |
|
sl@0
|
3211 |
RStoreWriteStream lWStream;
|
sl@0
|
3212 |
RStoreWriteStream rWStream;
|
sl@0
|
3213 |
|
sl@0
|
3214 |
TStreamId lStreamID = lWStream.CreateLC(*lStore);
|
sl@0
|
3215 |
TStreamId rStreamID = rWStream.CreateLC(*rStore);
|
sl@0
|
3216 |
|
sl@0
|
3217 |
//Now externalize the states.
|
sl@0
|
3218 |
|
sl@0
|
3219 |
aState.ExternalizeL(lWStream);
|
sl@0
|
3220 |
aState2.ExternalizeL(rWStream);
|
sl@0
|
3221 |
|
sl@0
|
3222 |
lWStream.Close();
|
sl@0
|
3223 |
rWStream.Close();
|
sl@0
|
3224 |
|
sl@0
|
3225 |
//Now read the externalised streams into two new state objects
|
sl@0
|
3226 |
|
sl@0
|
3227 |
TBidirectionalState newLState;
|
sl@0
|
3228 |
TBidirectionalState newRState;
|
sl@0
|
3229 |
|
sl@0
|
3230 |
RStoreReadStream rRStream;
|
sl@0
|
3231 |
RStoreReadStream lRStream;
|
sl@0
|
3232 |
|
sl@0
|
3233 |
lRStream.OpenLC(*lStore, lStreamID);
|
sl@0
|
3234 |
rRStream.OpenLC(*rStore, rStreamID);
|
sl@0
|
3235 |
|
sl@0
|
3236 |
newLState.InternalizeL(lRStream);
|
sl@0
|
3237 |
newRState.InternalizeL(rRStream);
|
sl@0
|
3238 |
|
sl@0
|
3239 |
//Now establish that the internalization has changed the state
|
sl@0
|
3240 |
|
sl@0
|
3241 |
aTest->TEST(!newLState.IsDefault());
|
sl@0
|
3242 |
aTest->TEST(!newRState.IsDefault());
|
sl@0
|
3243 |
|
sl@0
|
3244 |
//Make sure that two distinct sets of data exist
|
sl@0
|
3245 |
|
sl@0
|
3246 |
aTest->TEST(!(newLState == newRState));
|
sl@0
|
3247 |
|
sl@0
|
3248 |
//check that the new state objects are equivalent to the old ones
|
sl@0
|
3249 |
|
sl@0
|
3250 |
aTest->TEST(newLState == aState);
|
sl@0
|
3251 |
aTest->TEST(newRState == aState2);
|
sl@0
|
3252 |
|
sl@0
|
3253 |
//Now check that the externalization / internalization has
|
sl@0
|
3254 |
//produced true copies, i.e. that there are no shared buffers
|
sl@0
|
3255 |
//anywhere
|
sl@0
|
3256 |
|
sl@0
|
3257 |
aState.Reset();
|
sl@0
|
3258 |
aTest->TEST (aState.IsDefault());
|
sl@0
|
3259 |
aTest->TEST (!(aState2 == aState));
|
sl@0
|
3260 |
aTest->TEST (!(aState == aState2));
|
sl@0
|
3261 |
aTest->TEST (!(aState == newLState));
|
sl@0
|
3262 |
aTest->TEST(!newLState.IsDefault());
|
sl@0
|
3263 |
aTest->TEST(!newRState.IsDefault());
|
sl@0
|
3264 |
|
sl@0
|
3265 |
aState2.Reset();
|
sl@0
|
3266 |
aTest->TEST (aState2.IsDefault());
|
sl@0
|
3267 |
aTest->TEST (aState == aState2);
|
sl@0
|
3268 |
aTest->TEST (aState2 == aState);
|
sl@0
|
3269 |
aTest->TEST (!(aState2 == newRState));
|
sl@0
|
3270 |
aTest->TEST(!newLState.IsDefault());
|
sl@0
|
3271 |
aTest->TEST(!newRState.IsDefault());
|
sl@0
|
3272 |
|
sl@0
|
3273 |
//End of tests - deal with cleanup stack
|
sl@0
|
3274 |
|
sl@0
|
3275 |
CleanupStack::PopAndDestroy(6);
|
sl@0
|
3276 |
}
|
sl@0
|
3277 |
|
sl@0
|
3278 |
/**
|
sl@0
|
3279 |
*
|
sl@0
|
3280 |
* Test API of TBidirectionalState class.
|
sl@0
|
3281 |
*
|
sl@0
|
3282 |
* with the exception of BidirectionalState::ReorderText
|
sl@0
|
3283 |
*
|
sl@0
|
3284 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
3285 |
* Pointer to the test object
|
sl@0
|
3286 |
*
|
sl@0
|
3287 |
*/
|
sl@0
|
3288 |
static void TestAPIL(CTGraphicsBase* aTest)
|
sl@0
|
3289 |
{
|
sl@0
|
3290 |
TInt run;
|
sl@0
|
3291 |
TInt i;
|
sl@0
|
3292 |
|
sl@0
|
3293 |
//General tests for the DLL API to TBidirectionalState
|
sl@0
|
3294 |
|
sl@0
|
3295 |
aTest->INFO_PRINTF1(_L("TBidirectionalState general exported API test\r\n"));
|
sl@0
|
3296 |
|
sl@0
|
3297 |
#ifdef PRINT_RUNS
|
sl@0
|
3298 |
_LIT(KRunTitle, "Populating aOldText buffer with embedded runs of characters as follows:\r\n");
|
sl@0
|
3299 |
_LIT(KRunFormat, "Run %d begins with %04x\r\n");
|
sl@0
|
3300 |
_LIT(KEndRunFormat, "End of Run %d begins with %04x\r\n");
|
sl@0
|
3301 |
|
sl@0
|
3302 |
#endif // PRINT_RUNS
|
sl@0
|
3303 |
|
sl@0
|
3304 |
const TInt KRuns = 64;
|
sl@0
|
3305 |
const TInt KRunSize = ((KBufferSize/KRuns)/2 );
|
sl@0
|
3306 |
|
sl@0
|
3307 |
//Create buffer to hold test data
|
sl@0
|
3308 |
|
sl@0
|
3309 |
HBufC* oldTextBufPtr = HBufC::NewLC(KBufferSize);
|
sl@0
|
3310 |
|
sl@0
|
3311 |
for (i = 0 ; i < KBufferSize ; ++i)
|
sl@0
|
3312 |
{
|
sl@0
|
3313 |
oldTextBufPtr->Des().Append(0);
|
sl@0
|
3314 |
}
|
sl@0
|
3315 |
|
sl@0
|
3316 |
TPtr oldText(oldTextBufPtr->Des());
|
sl@0
|
3317 |
|
sl@0
|
3318 |
|
sl@0
|
3319 |
TBidirectionalState::TRunInfo* lRunInfoArray = new(ELeave) TBidirectionalState::TRunInfo[KRuns];
|
sl@0
|
3320 |
CleanupArrayDeletePushL(lRunInfoArray);
|
sl@0
|
3321 |
TBidirectionalState::TRunInfo* rRunInfoArray = new(ELeave) TBidirectionalState::TRunInfo[KRuns];
|
sl@0
|
3322 |
CleanupArrayDeletePushL(rRunInfoArray);
|
sl@0
|
3323 |
|
sl@0
|
3324 |
|
sl@0
|
3325 |
//Build up a lot of levels of L-R and R-L text
|
sl@0
|
3326 |
|
sl@0
|
3327 |
TextIterator ltorIterator(KLeftToRight, KLeftToRightLength);
|
sl@0
|
3328 |
TextIterator rtolIterator(KRightToLeft, KRightToLeftLength);
|
sl@0
|
3329 |
|
sl@0
|
3330 |
//Loop through all available test data
|
sl@0
|
3331 |
//There are more Left-To-Right characters than Right-To-Left, so
|
sl@0
|
3332 |
//use ltorIterator as the guide
|
sl@0
|
3333 |
|
sl@0
|
3334 |
while (!ltorIterator.Wrapped())
|
sl@0
|
3335 |
{
|
sl@0
|
3336 |
//Build up runs
|
sl@0
|
3337 |
TInt index = 0;
|
sl@0
|
3338 |
#ifdef PRINT_RUNS
|
sl@0
|
3339 |
aTest->INFO_PRINTF1(KRunTitle);
|
sl@0
|
3340 |
#endif // PRINT_RUNS
|
sl@0
|
3341 |
for (run = 0 ; run < KRuns ; run++)
|
sl@0
|
3342 |
{
|
sl@0
|
3343 |
TUint first;
|
sl@0
|
3344 |
lRunInfoArray[run].iStart = rRunInfoArray[run].iStart = index;
|
sl@0
|
3345 |
lRunInfoArray[run].iIndex = rRunInfoArray[run].iIndex = 0;
|
sl@0
|
3346 |
lRunInfoArray[run].iEmbeddingLevel = rRunInfoArray[run].iEmbeddingLevel = 0;
|
sl@0
|
3347 |
|
sl@0
|
3348 |
if ((run & 1) == 0)
|
sl@0
|
3349 |
{
|
sl@0
|
3350 |
//Odd values of Run use R-L, even use L-R
|
sl@0
|
3351 |
|
sl@0
|
3352 |
first = ltorIterator.NextChar();
|
sl@0
|
3353 |
#ifdef PRINT_RUNS
|
sl@0
|
3354 |
aTest->INFO_PRINTF3(KRunFormat, run, first);
|
sl@0
|
3355 |
#endif // PRINT_RUNS
|
sl@0
|
3356 |
ltorIterator.NextCharInto(oldText, index, -1, ETrue, EFalse);
|
sl@0
|
3357 |
for (i = 1; i < KRunSize ; ++i)
|
sl@0
|
3358 |
{
|
sl@0
|
3359 |
if (!ltorIterator.NextCharInto(oldText, index))
|
sl@0
|
3360 |
break;
|
sl@0
|
3361 |
}
|
sl@0
|
3362 |
lRunInfoArray[run].iDirection = rRunInfoArray[run].iDirection = 0;
|
sl@0
|
3363 |
#ifdef PRINT_RUNS
|
sl@0
|
3364 |
aTest->INFO_PRINTF4(KRunFormat, run, (first & 0xffff), 0);
|
sl@0
|
3365 |
#endif // PRINT_RUN
|
sl@0
|
3366 |
|
sl@0
|
3367 |
}
|
sl@0
|
3368 |
else
|
sl@0
|
3369 |
{
|
sl@0
|
3370 |
first = rtolIterator.NextChar();
|
sl@0
|
3371 |
oldText[index++] = first;
|
sl@0
|
3372 |
for (i = 1; i < KRunSize ; ++i)
|
sl@0
|
3373 |
{
|
sl@0
|
3374 |
oldText[index++] = rtolIterator.NextChar();
|
sl@0
|
3375 |
}
|
sl@0
|
3376 |
lRunInfoArray[run].iDirection = rRunInfoArray[run].iDirection = 1;
|
sl@0
|
3377 |
}
|
sl@0
|
3378 |
#ifdef PRINT_RUNS
|
sl@0
|
3379 |
aTest->INFO_PRINTF4(KRunFormat, run, (first & 0xffff) , 1);
|
sl@0
|
3380 |
#endif // PRINT_RUNS
|
sl@0
|
3381 |
lRunInfoArray[run].iCategory = rRunInfoArray[run].iCategory = TChar(first).GetBdCategory();
|
sl@0
|
3382 |
lRunInfoArray[run].iLength = rRunInfoArray[run].iLength = KRunSize;
|
sl@0
|
3383 |
}
|
sl@0
|
3384 |
|
sl@0
|
3385 |
#ifdef PRINT_ARRAYS
|
sl@0
|
3386 |
_LIT(KArrayData, "Data\r\n");
|
sl@0
|
3387 |
PrintTestData(KArrayData, oldText.Ptr(), KBufferSize);
|
sl@0
|
3388 |
#endif // PRINT_ARRAYS
|
sl@0
|
3389 |
|
sl@0
|
3390 |
TBidirectionalState lState;
|
sl@0
|
3391 |
TBidirectionalState rState;
|
sl@0
|
3392 |
|
sl@0
|
3393 |
//Check that newly created state objects match IsDefault
|
sl@0
|
3394 |
aTest->TEST (lState.IsDefault());
|
sl@0
|
3395 |
aTest->TEST (rState.IsDefault());
|
sl@0
|
3396 |
|
sl@0
|
3397 |
//Check that default state objects work with operator==
|
sl@0
|
3398 |
aTest->TEST (lState == rState);
|
sl@0
|
3399 |
aTest->TEST (rState == lState);
|
sl@0
|
3400 |
|
sl@0
|
3401 |
//Call ReorderLine to both populate lRunInfoArray and change
|
sl@0
|
3402 |
//the internal state of lState
|
sl@0
|
3403 |
lState.ReorderLine(lRunInfoArray, KRuns, ETrue, ETrue, EParaLToR,
|
sl@0
|
3404 |
TChar::EOtherNeutral, TChar::EOtherNeutral);
|
sl@0
|
3405 |
|
sl@0
|
3406 |
//Check that the state object is no longer in default state
|
sl@0
|
3407 |
aTest->TEST (!lState.IsDefault());
|
sl@0
|
3408 |
|
sl@0
|
3409 |
//Check that operator== can detect that
|
sl@0
|
3410 |
aTest->TEST (!(lState == rState));
|
sl@0
|
3411 |
|
sl@0
|
3412 |
//Call ReorderLine to both populate rRunInfoArray and change
|
sl@0
|
3413 |
//the internal state of RState
|
sl@0
|
3414 |
rState.ReorderLine(rRunInfoArray, KRuns, ETrue, ETrue, EParaRToL,
|
sl@0
|
3415 |
TChar::EOtherNeutral, TChar::EOtherNeutral);
|
sl@0
|
3416 |
|
sl@0
|
3417 |
//now rState should not be in default state
|
sl@0
|
3418 |
aTest->TEST(!rState.IsDefault());
|
sl@0
|
3419 |
|
sl@0
|
3420 |
//Test that lSTate and rState are not the same.
|
sl@0
|
3421 |
//Make sure that lState.operator== and rState.operator== give
|
sl@0
|
3422 |
//the same answer.
|
sl@0
|
3423 |
|
sl@0
|
3424 |
aTest->TEST (!(lState == rState));
|
sl@0
|
3425 |
aTest->TEST (!(rState == lState));
|
sl@0
|
3426 |
|
sl@0
|
3427 |
|
sl@0
|
3428 |
#ifdef PRINT_RUNS
|
sl@0
|
3429 |
//Print the contents of kRunInfo in epocwind.out
|
sl@0
|
3430 |
_LIT(KRunInfo1, "run Category Embedding Level Direction Index Start Length\r\n");
|
sl@0
|
3431 |
_LIT(KRunInfo2, " %d %d %d %d %d %d %d\r\n");
|
sl@0
|
3432 |
|
sl@0
|
3433 |
//Temp - print contents of arrays
|
sl@0
|
3434 |
aTest->INFO_PRINTF1(_L("Left-To-Right Paragraph\r\n"));
|
sl@0
|
3435 |
aTest->INFO_PRINTF1(KRunInfo1);
|
sl@0
|
3436 |
for (run = 0 ; run < KRuns ; ++run)
|
sl@0
|
3437 |
{
|
sl@0
|
3438 |
aTest->Logger().LogExtra(((TText8*)__FILE__), __LINE__, ESevrInfo,
|
sl@0
|
3439 |
KRunInfo2, run, lRunInfoArray[run].iCategory,
|
sl@0
|
3440 |
lRunInfoArray[run].iEmbeddingLevel, lRunInfoArray[run].iDirection,
|
sl@0
|
3441 |
lRunInfoArray[run].iIndex, lRunInfoArray[run].iStart, lRunInfoArray[run].iLength);
|
sl@0
|
3442 |
}
|
sl@0
|
3443 |
aTest->INFO_PRINTF1(_L("Right-to-Left Paragraph\r\n"));
|
sl@0
|
3444 |
aTest->INFO_PRINTF1(KRunInfo1);
|
sl@0
|
3445 |
for (run = 0 ; run < KRuns ; ++run)
|
sl@0
|
3446 |
{
|
sl@0
|
3447 |
aTest->Logger().LogExtra(((TText8*)__FILE__), __LINE__, ESevrInfo,
|
sl@0
|
3448 |
KRunInfo2, run, rRunInfoArray[run].iCategory,
|
sl@0
|
3449 |
rRunInfoArray[run].iEmbeddingLevel, rRunInfoArray[run].iDirection,
|
sl@0
|
3450 |
rRunInfoArray[run].iIndex, rRunInfoArray[run].iStart, rRunInfoArray[run].iLength);
|
sl@0
|
3451 |
}
|
sl@0
|
3452 |
|
sl@0
|
3453 |
#endif // PRINT_RUNS
|
sl@0
|
3454 |
|
sl@0
|
3455 |
//With the test data presented, there should be 64 runs in ascending order
|
sl@0
|
3456 |
//when processed in a left-to-right context and in descending order when processed
|
sl@0
|
3457 |
//as right-to-left, corresponding to each run being printed in entry order in
|
sl@0
|
3458 |
//the former case and in reverse order in the latter case.
|
sl@0
|
3459 |
|
sl@0
|
3460 |
for (run = 0 ; run < KRuns ; ++run)
|
sl@0
|
3461 |
{
|
sl@0
|
3462 |
aTest->TEST(lRunInfoArray[run].iIndex == run);
|
sl@0
|
3463 |
aTest->TEST(rRunInfoArray[KRuns - run - 1].iIndex == run);
|
sl@0
|
3464 |
}
|
sl@0
|
3465 |
|
sl@0
|
3466 |
|
sl@0
|
3467 |
TestInternalizeL(lState,rState, aTest);
|
sl@0
|
3468 |
}
|
sl@0
|
3469 |
|
sl@0
|
3470 |
|
sl@0
|
3471 |
CleanupStack::PopAndDestroy(rRunInfoArray);
|
sl@0
|
3472 |
CleanupStack::PopAndDestroy(lRunInfoArray);
|
sl@0
|
3473 |
CleanupStack::PopAndDestroy();
|
sl@0
|
3474 |
}
|
sl@0
|
3475 |
|
sl@0
|
3476 |
/**
|
sl@0
|
3477 |
*
|
sl@0
|
3478 |
* Tests that the Bidirectional Algorithm leaves left to right text alone.
|
sl@0
|
3479 |
*
|
sl@0
|
3480 |
*
|
sl@0
|
3481 |
* @param "TDes& aOldText"
|
sl@0
|
3482 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
3483 |
*
|
sl@0
|
3484 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
3485 |
* Pointer to the test object
|
sl@0
|
3486 |
*
|
sl@0
|
3487 |
*/
|
sl@0
|
3488 |
static void LeftToRightReorderTest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
3489 |
{//LeftToRight test - are left-to-right character strings preserved?
|
sl@0
|
3490 |
TText* lText = 0;
|
sl@0
|
3491 |
TText* rText = 0;
|
sl@0
|
3492 |
TInt lretval = KErrNone;
|
sl@0
|
3493 |
TInt rretval = KErrNone;
|
sl@0
|
3494 |
|
sl@0
|
3495 |
TextIterator ltorIterator(KLeftToRight, KLeftToRightLength);
|
sl@0
|
3496 |
|
sl@0
|
3497 |
aTest->TEST(aOldText.Length() >= KBufferSize);
|
sl@0
|
3498 |
while (!ltorIterator.Wrapped())
|
sl@0
|
3499 |
{
|
sl@0
|
3500 |
for (TInt i = 0 ; i < KBufferSize; )
|
sl@0
|
3501 |
{
|
sl@0
|
3502 |
if (!ltorIterator.NextCharInto(aOldText, i))
|
sl@0
|
3503 |
break;
|
sl@0
|
3504 |
}
|
sl@0
|
3505 |
|
sl@0
|
3506 |
lretval = TBidirectionalState::ReorderText(aOldText.Ptr(), KBufferSize, EParaLToR, lText);
|
sl@0
|
3507 |
rretval = TBidirectionalState::ReorderText(aOldText.Ptr(), KBufferSize, EParaRToL, rText);
|
sl@0
|
3508 |
|
sl@0
|
3509 |
aTest->TEST(lretval == KErrNone);
|
sl@0
|
3510 |
aTest->TEST(rretval == KErrNone);
|
sl@0
|
3511 |
|
sl@0
|
3512 |
//LtoR characters should remain unchanged in either paragraph direction
|
sl@0
|
3513 |
aTest->TEST(TextInSameOrder(aOldText.Ptr(), lText, KBufferSize));
|
sl@0
|
3514 |
aTest->TEST(TextInSameOrder(aOldText.Ptr(), rText, KBufferSize));
|
sl@0
|
3515 |
|
sl@0
|
3516 |
DeleteText(aOldText.Ptr(), lText, aTest);
|
sl@0
|
3517 |
DeleteText(aOldText.Ptr(), rText, aTest);
|
sl@0
|
3518 |
|
sl@0
|
3519 |
}
|
sl@0
|
3520 |
}
|
sl@0
|
3521 |
/**
|
sl@0
|
3522 |
*
|
sl@0
|
3523 |
* Tests that the Bidirectional Algorithm leaves european numbers alone
|
sl@0
|
3524 |
*
|
sl@0
|
3525 |
*
|
sl@0
|
3526 |
* @param "TDes& aOldText"
|
sl@0
|
3527 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
3528 |
*
|
sl@0
|
3529 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
3530 |
* Pointer to the test object
|
sl@0
|
3531 |
*
|
sl@0
|
3532 |
*/
|
sl@0
|
3533 |
static void SimpleEuropeanNumberTest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
3534 |
{//European number test - are left-to-right character strings preserved?
|
sl@0
|
3535 |
|
sl@0
|
3536 |
TText* lText = 0;
|
sl@0
|
3537 |
TText* rText = 0;
|
sl@0
|
3538 |
TInt lretval = KErrNone;
|
sl@0
|
3539 |
TInt rretval = KErrNone;
|
sl@0
|
3540 |
|
sl@0
|
3541 |
|
sl@0
|
3542 |
TextIterator numIterator(KEuropeanNumber, KEuropeanNumberLength);
|
sl@0
|
3543 |
aTest->TEST(aOldText.Length() >= KBufferSize);
|
sl@0
|
3544 |
|
sl@0
|
3545 |
while (!numIterator.Wrapped())
|
sl@0
|
3546 |
{
|
sl@0
|
3547 |
for (TInt i = 0 ; i < KBufferSize; ++i)
|
sl@0
|
3548 |
{
|
sl@0
|
3549 |
aOldText[i] = numIterator.NextChar();
|
sl@0
|
3550 |
}
|
sl@0
|
3551 |
|
sl@0
|
3552 |
lretval = TBidirectionalState::ReorderText(aOldText.Ptr(), KBufferSize, EParaLToR, lText);
|
sl@0
|
3553 |
rretval = TBidirectionalState::ReorderText(aOldText.Ptr(), KBufferSize, EParaRToL, rText);
|
sl@0
|
3554 |
|
sl@0
|
3555 |
aTest->TEST(lretval == KErrNone);
|
sl@0
|
3556 |
aTest->TEST(rretval == KErrNone);
|
sl@0
|
3557 |
|
sl@0
|
3558 |
aTest->TEST(TextInSameOrder(aOldText.Ptr(), lText, KBufferSize));
|
sl@0
|
3559 |
aTest->TEST(TextInSameOrder(aOldText.Ptr(), rText, KBufferSize));
|
sl@0
|
3560 |
|
sl@0
|
3561 |
DeleteText(aOldText.Ptr(), lText, aTest);
|
sl@0
|
3562 |
DeleteText(aOldText.Ptr(), rText, aTest);
|
sl@0
|
3563 |
}
|
sl@0
|
3564 |
|
sl@0
|
3565 |
}
|
sl@0
|
3566 |
/**
|
sl@0
|
3567 |
*
|
sl@0
|
3568 |
* Tests that the Bidirectional Algorithm reverses right-to-left text.
|
sl@0
|
3569 |
*
|
sl@0
|
3570 |
* @param "TDes& aOldText"
|
sl@0
|
3571 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
3572 |
*
|
sl@0
|
3573 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
3574 |
* Pointer to the test object
|
sl@0
|
3575 |
*
|
sl@0
|
3576 |
*/
|
sl@0
|
3577 |
static void SimpleRightToLeftTest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
3578 |
{// Basic Right-to-Left test
|
sl@0
|
3579 |
|
sl@0
|
3580 |
TText* lText = 0;
|
sl@0
|
3581 |
TText* rText = 0;
|
sl@0
|
3582 |
TInt lretval = KErrNone;
|
sl@0
|
3583 |
TInt rretval = KErrNone;
|
sl@0
|
3584 |
TInt oldTextLength = aOldText.Length();
|
sl@0
|
3585 |
|
sl@0
|
3586 |
TextIterator rtolIterator(KRightToLeft, KRightToLeftLength);
|
sl@0
|
3587 |
|
sl@0
|
3588 |
aTest->TEST(aOldText.Length() >= KBufferSize);
|
sl@0
|
3589 |
|
sl@0
|
3590 |
while (!rtolIterator.Wrapped())
|
sl@0
|
3591 |
{
|
sl@0
|
3592 |
TInt i = 0;
|
sl@0
|
3593 |
rtolIterator.FillInto(aOldText, i, KBufferSize);
|
sl@0
|
3594 |
aOldText.SetLength(i);
|
sl@0
|
3595 |
|
sl@0
|
3596 |
lretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaLToR, lText);
|
sl@0
|
3597 |
rretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaRToL, rText);
|
sl@0
|
3598 |
|
sl@0
|
3599 |
aTest->TEST(lretval == KErrNone);
|
sl@0
|
3600 |
aTest->TEST(rretval == KErrNone);
|
sl@0
|
3601 |
|
sl@0
|
3602 |
//RightToLeft characters should be reversed in order
|
sl@0
|
3603 |
aTest->TEST(TextInReverseOrder(aOldText.Ptr(), lText, i));
|
sl@0
|
3604 |
aTest->TEST(TextInReverseOrder(aOldText.Ptr(), rText, i));
|
sl@0
|
3605 |
|
sl@0
|
3606 |
DeleteText(aOldText.Ptr(), lText, aTest);
|
sl@0
|
3607 |
DeleteText(aOldText.Ptr(), rText, aTest);
|
sl@0
|
3608 |
aOldText.SetLength(oldTextLength);
|
sl@0
|
3609 |
}
|
sl@0
|
3610 |
}
|
sl@0
|
3611 |
|
sl@0
|
3612 |
/**
|
sl@0
|
3613 |
*
|
sl@0
|
3614 |
* Tests that the Bidirectional Algorithm reverses right-to-left Arabic text.
|
sl@0
|
3615 |
*
|
sl@0
|
3616 |
* @param "TDes& aOldText"
|
sl@0
|
3617 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
3618 |
*
|
sl@0
|
3619 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
3620 |
* Pointer to the test object
|
sl@0
|
3621 |
*
|
sl@0
|
3622 |
*/
|
sl@0
|
3623 |
static void SimpleRightToLeftArabicTest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
3624 |
{// Basic Right-to-Left Arabic test
|
sl@0
|
3625 |
|
sl@0
|
3626 |
TText* lText = 0;
|
sl@0
|
3627 |
TText* rText = 0;
|
sl@0
|
3628 |
TInt lretval = KErrNone;
|
sl@0
|
3629 |
TInt rretval = KErrNone;
|
sl@0
|
3630 |
|
sl@0
|
3631 |
// Basic Right-to-Left Arabic test
|
sl@0
|
3632 |
|
sl@0
|
3633 |
TextIterator rtolIterator(KRightToLeftArabic, KRightToLeftArabicLength);
|
sl@0
|
3634 |
|
sl@0
|
3635 |
aTest->TEST(aOldText.Length() >= KBufferSize);
|
sl@0
|
3636 |
|
sl@0
|
3637 |
while (!rtolIterator.Wrapped())
|
sl@0
|
3638 |
{
|
sl@0
|
3639 |
for (TInt i = 0 ; i < KBufferSize; ++i)
|
sl@0
|
3640 |
{
|
sl@0
|
3641 |
aOldText[i] = rtolIterator.NextChar();
|
sl@0
|
3642 |
}
|
sl@0
|
3643 |
|
sl@0
|
3644 |
lretval = TBidirectionalState::ReorderText(aOldText.Ptr(), KBufferSize, EParaLToR, lText);
|
sl@0
|
3645 |
rretval = TBidirectionalState::ReorderText(aOldText.Ptr(), KBufferSize, EParaRToL, rText);
|
sl@0
|
3646 |
|
sl@0
|
3647 |
aTest->TEST(lretval == KErrNone);
|
sl@0
|
3648 |
aTest->TEST(rretval == KErrNone);
|
sl@0
|
3649 |
|
sl@0
|
3650 |
//RightToLeftArabic characters should be reversed
|
sl@0
|
3651 |
aTest->TEST(TextInReverseOrder(aOldText.Ptr(), lText, KBufferSize));
|
sl@0
|
3652 |
aTest->TEST(TextInReverseOrder(aOldText.Ptr(), rText, KBufferSize));
|
sl@0
|
3653 |
|
sl@0
|
3654 |
DeleteText(aOldText.Ptr(), lText, aTest);
|
sl@0
|
3655 |
DeleteText(aOldText.Ptr(), rText, aTest);
|
sl@0
|
3656 |
|
sl@0
|
3657 |
|
sl@0
|
3658 |
}
|
sl@0
|
3659 |
}
|
sl@0
|
3660 |
|
sl@0
|
3661 |
/**
|
sl@0
|
3662 |
*
|
sl@0
|
3663 |
* Tests that characters that have mirrors are replaced by their mirrors
|
sl@0
|
3664 |
* when right-to-left Arabic text is reversed.
|
sl@0
|
3665 |
*
|
sl@0
|
3666 |
* @param "TDes& aOldText"
|
sl@0
|
3667 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
3668 |
*
|
sl@0
|
3669 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
3670 |
* Pointer to the test object
|
sl@0
|
3671 |
*
|
sl@0
|
3672 |
*/
|
sl@0
|
3673 |
static void MirroredCharacterTest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
3674 |
{
|
sl@0
|
3675 |
TText* lText = 0;
|
sl@0
|
3676 |
TText* rText = 0;
|
sl@0
|
3677 |
TInt lretval = KErrNone;
|
sl@0
|
3678 |
TInt rretval = KErrNone;
|
sl@0
|
3679 |
|
sl@0
|
3680 |
// Mirrored Characters Test
|
sl@0
|
3681 |
|
sl@0
|
3682 |
//Some Arabic test is interspersed with characters that have Mirror versions.
|
sl@0
|
3683 |
|
sl@0
|
3684 |
//After reordering the text should be reversed and the mirror characters substituted
|
sl@0
|
3685 |
TextIterator rtolIterator(KRightToLeftArabic, KRightToLeftArabicLength);
|
sl@0
|
3686 |
TextIterator mirrorsIterator(KMirrors().Ptr(), KMirrors().Length());
|
sl@0
|
3687 |
TextIterator mirrordIterator(KMirrord().Ptr(), KMirrord().Length());
|
sl@0
|
3688 |
|
sl@0
|
3689 |
while (!rtolIterator.Wrapped())
|
sl@0
|
3690 |
{
|
sl@0
|
3691 |
TInt i;
|
sl@0
|
3692 |
TInt j;
|
sl@0
|
3693 |
for (i = 0 ; i < (KBufferSize-3); i+=4)
|
sl@0
|
3694 |
{
|
sl@0
|
3695 |
aOldText[i] = rtolIterator.NextChar();
|
sl@0
|
3696 |
aOldText[i+1] = mirrorsIterator.NextChar();
|
sl@0
|
3697 |
aOldText[i+2] = mirrorsIterator.NextChar();
|
sl@0
|
3698 |
aOldText[i+3] = rtolIterator.NextChar();
|
sl@0
|
3699 |
}
|
sl@0
|
3700 |
|
sl@0
|
3701 |
lretval = TBidirectionalState::ReorderText(aOldText.Ptr(), KBufferSize, EParaLToR, lText);
|
sl@0
|
3702 |
rretval = TBidirectionalState::ReorderText(aOldText.Ptr(), KBufferSize, EParaRToL, rText);
|
sl@0
|
3703 |
|
sl@0
|
3704 |
aTest->TEST(lretval == KErrNone);
|
sl@0
|
3705 |
aTest->TEST(rretval == KErrNone);
|
sl@0
|
3706 |
#ifdef PRINT_DATA
|
sl@0
|
3707 |
_LIT(KOTitleT, "Original (Top)");
|
sl@0
|
3708 |
_LIT(KLTitleT, "Left-to-Right (Top)");
|
sl@0
|
3709 |
_LIT(KRTitleT, "Right-to-Left (Top)");
|
sl@0
|
3710 |
_LIT(KOTitleB, "Original (Bottom)");
|
sl@0
|
3711 |
_LIT(KLTitleB, "Left-to-Right (Bottom)");
|
sl@0
|
3712 |
_LIT(KRTitleB, "Right-to-Left (Bottom)");
|
sl@0
|
3713 |
|
sl@0
|
3714 |
|
sl@0
|
3715 |
PrintTestData(KOTitleT, aOldText.Ptr(), 32);
|
sl@0
|
3716 |
PrintTestData(KOTitleB, aOldText.Ptr()+KBufferSize-32, 32);
|
sl@0
|
3717 |
|
sl@0
|
3718 |
PrintTestData(KLTitleT, lText, 32);
|
sl@0
|
3719 |
PrintTestData(KLTitleB, lText+KBufferSize-32, 32);
|
sl@0
|
3720 |
|
sl@0
|
3721 |
PrintTestData(KRTitleT, rText, 32);
|
sl@0
|
3722 |
PrintTestData(KRTitleB, rText+KBufferSize-32, 32);
|
sl@0
|
3723 |
|
sl@0
|
3724 |
#endif
|
sl@0
|
3725 |
|
sl@0
|
3726 |
for (i = 0 ; i < (KBufferSize-3) ; i+=4)
|
sl@0
|
3727 |
{
|
sl@0
|
3728 |
j = KBufferSize - i - 1;
|
sl@0
|
3729 |
aTest->TEST(aOldText[i] == lText[j]);
|
sl@0
|
3730 |
aTest->TEST(aOldText[i] == rText[j]);
|
sl@0
|
3731 |
aTest->TEST(aOldText[i+3] == lText[j-3]);
|
sl@0
|
3732 |
aTest->TEST(aOldText[i+3] == rText[j-3]);
|
sl@0
|
3733 |
|
sl@0
|
3734 |
TText16 nextMirror = mirrordIterator.NextChar();
|
sl@0
|
3735 |
|
sl@0
|
3736 |
aTest->TEST(nextMirror == lText[j-1]);
|
sl@0
|
3737 |
aTest->TEST(nextMirror == rText[j-1]);
|
sl@0
|
3738 |
|
sl@0
|
3739 |
nextMirror = mirrordIterator.NextChar();
|
sl@0
|
3740 |
|
sl@0
|
3741 |
aTest->TEST(nextMirror == lText[j-2]);
|
sl@0
|
3742 |
aTest->TEST(nextMirror == rText[j-2]);
|
sl@0
|
3743 |
}
|
sl@0
|
3744 |
|
sl@0
|
3745 |
|
sl@0
|
3746 |
DeleteText(aOldText.Ptr(), lText, aTest);
|
sl@0
|
3747 |
DeleteText(aOldText.Ptr(), rText, aTest);
|
sl@0
|
3748 |
|
sl@0
|
3749 |
|
sl@0
|
3750 |
}
|
sl@0
|
3751 |
}
|
sl@0
|
3752 |
/**
|
sl@0
|
3753 |
*
|
sl@0
|
3754 |
* Tests the effect of LeftToRightOverride on left-to-right text.
|
sl@0
|
3755 |
*
|
sl@0
|
3756 |
* @param "TDes& aOldText"
|
sl@0
|
3757 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
3758 |
*
|
sl@0
|
3759 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
3760 |
* Pointer to the test object
|
sl@0
|
3761 |
*
|
sl@0
|
3762 |
*/
|
sl@0
|
3763 |
static void LROLeftToRightTest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
3764 |
{
|
sl@0
|
3765 |
TText* newText = 0;
|
sl@0
|
3766 |
TInt retval = KErrNone;
|
sl@0
|
3767 |
|
sl@0
|
3768 |
aTest->TEST(aOldText.Length() >= KBufferSize);
|
sl@0
|
3769 |
//LRO test - are left-to-right character strings preserved?
|
sl@0
|
3770 |
|
sl@0
|
3771 |
TextIterator ltorIterator(KLeftToRight, KLeftToRightLength);
|
sl@0
|
3772 |
while (ltorIterator.Wrapped())
|
sl@0
|
3773 |
{
|
sl@0
|
3774 |
aOldText[0] = KLeftToRightOverride[0];
|
sl@0
|
3775 |
for (TInt i = 1 ; i < (KBufferSize-1); ++i)
|
sl@0
|
3776 |
{
|
sl@0
|
3777 |
aOldText[i] = ltorIterator.NextChar();
|
sl@0
|
3778 |
}
|
sl@0
|
3779 |
|
sl@0
|
3780 |
aOldText[KBufferSize-1] = KPopDirectionalFormat[0];
|
sl@0
|
3781 |
retval = TBidirectionalState::ReorderText(aOldText.Ptr(), KBufferSize, EParaLToR, newText);
|
sl@0
|
3782 |
|
sl@0
|
3783 |
aTest->TEST(retval == KErrNone);
|
sl@0
|
3784 |
|
sl@0
|
3785 |
aTest->TEST(TextInSameOrder(aOldText.Ptr(), newText, KBufferSize));
|
sl@0
|
3786 |
|
sl@0
|
3787 |
DeleteText(aOldText.Ptr(), newText, aTest);
|
sl@0
|
3788 |
|
sl@0
|
3789 |
}
|
sl@0
|
3790 |
}
|
sl@0
|
3791 |
|
sl@0
|
3792 |
/**
|
sl@0
|
3793 |
*
|
sl@0
|
3794 |
* Tests the effect of LeftToRightOverride on right-to-left text.
|
sl@0
|
3795 |
*
|
sl@0
|
3796 |
* @param "TDes& aOldText"
|
sl@0
|
3797 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
3798 |
*
|
sl@0
|
3799 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
3800 |
* Pointer to the test object
|
sl@0
|
3801 |
*
|
sl@0
|
3802 |
*/
|
sl@0
|
3803 |
static void LRORightToLeftTest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
3804 |
{
|
sl@0
|
3805 |
TText* newText = 0;
|
sl@0
|
3806 |
TInt retval = KErrNone;
|
sl@0
|
3807 |
|
sl@0
|
3808 |
|
sl@0
|
3809 |
//LRO test - are right-to-left character strings overidden?
|
sl@0
|
3810 |
TextIterator rtolIterator(KRightToLeft, KRightToLeftLength);
|
sl@0
|
3811 |
|
sl@0
|
3812 |
aTest->TEST(aOldText.Length() >= KBufferSize);
|
sl@0
|
3813 |
while (!rtolIterator.Wrapped())
|
sl@0
|
3814 |
{
|
sl@0
|
3815 |
aOldText[0] = KLeftToRightOverride[0];
|
sl@0
|
3816 |
for (TInt i = 1 ; i < (KBufferSize-1); ++i)
|
sl@0
|
3817 |
{
|
sl@0
|
3818 |
aOldText[i] = rtolIterator.NextChar();
|
sl@0
|
3819 |
}
|
sl@0
|
3820 |
|
sl@0
|
3821 |
aOldText[KBufferSize-1] = KPopDirectionalFormat[0];
|
sl@0
|
3822 |
retval = TBidirectionalState::ReorderText(aOldText.Ptr(), KBufferSize, EParaLToR, newText);
|
sl@0
|
3823 |
|
sl@0
|
3824 |
aTest->TEST(retval == KErrNone);
|
sl@0
|
3825 |
|
sl@0
|
3826 |
aTest->TEST(TextInSameOrder(aOldText.Ptr(), newText, KBufferSize));
|
sl@0
|
3827 |
|
sl@0
|
3828 |
DeleteText(aOldText.Ptr(),newText, aTest);
|
sl@0
|
3829 |
}
|
sl@0
|
3830 |
}
|
sl@0
|
3831 |
|
sl@0
|
3832 |
/**
|
sl@0
|
3833 |
*
|
sl@0
|
3834 |
* Tests the effect of RightToLeftOverride on right-to-left text.
|
sl@0
|
3835 |
*
|
sl@0
|
3836 |
* @param "TDes& aOldText"
|
sl@0
|
3837 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
3838 |
*
|
sl@0
|
3839 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
3840 |
* Pointer to the test object
|
sl@0
|
3841 |
*
|
sl@0
|
3842 |
*/
|
sl@0
|
3843 |
static void RLORightToLeftTest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
3844 |
{
|
sl@0
|
3845 |
TText* newText = 0;
|
sl@0
|
3846 |
TInt retval = KErrNone;
|
sl@0
|
3847 |
TInt oldTextLength = aOldText.Length();
|
sl@0
|
3848 |
|
sl@0
|
3849 |
// RLO Test - are right-to-left characters unaffected?
|
sl@0
|
3850 |
TextIterator rtolIterator(KRightToLeft, KRightToLeftLength);
|
sl@0
|
3851 |
|
sl@0
|
3852 |
aTest->TEST(aOldText.Length() >= KBufferSize);
|
sl@0
|
3853 |
|
sl@0
|
3854 |
while (!rtolIterator.Wrapped())
|
sl@0
|
3855 |
{
|
sl@0
|
3856 |
aOldText[0] = KRightToLeftOverride[0];
|
sl@0
|
3857 |
|
sl@0
|
3858 |
TInt i = 1;
|
sl@0
|
3859 |
rtolIterator.FillInto(aOldText, i, KBufferSize-1);
|
sl@0
|
3860 |
aOldText[i++] = KPopDirectionalFormat[0];
|
sl@0
|
3861 |
aOldText.SetLength(i);
|
sl@0
|
3862 |
|
sl@0
|
3863 |
retval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaRToL, newText);
|
sl@0
|
3864 |
|
sl@0
|
3865 |
aTest->TEST(retval == KErrNone);
|
sl@0
|
3866 |
|
sl@0
|
3867 |
aTest->TEST(TextInReverseOrder(aOldText.Ptr(), newText, i));
|
sl@0
|
3868 |
|
sl@0
|
3869 |
DeleteText(aOldText.Ptr(), newText, aTest);
|
sl@0
|
3870 |
aOldText.SetLength(oldTextLength);
|
sl@0
|
3871 |
}
|
sl@0
|
3872 |
}
|
sl@0
|
3873 |
|
sl@0
|
3874 |
/**
|
sl@0
|
3875 |
*
|
sl@0
|
3876 |
* Tests the effect of RightToLeftOverride on right-to-left Arabic text.
|
sl@0
|
3877 |
*
|
sl@0
|
3878 |
* @param "TDes& aOldText"
|
sl@0
|
3879 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
3880 |
*
|
sl@0
|
3881 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
3882 |
* Pointer to the test object
|
sl@0
|
3883 |
*
|
sl@0
|
3884 |
*/
|
sl@0
|
3885 |
static void RLORightToLeftArabicTest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
3886 |
{
|
sl@0
|
3887 |
TText* newText = 0;
|
sl@0
|
3888 |
TInt retval = KErrNone;
|
sl@0
|
3889 |
|
sl@0
|
3890 |
// RLO Test - are right-to-left Arabic characters unaffected?
|
sl@0
|
3891 |
TextIterator rtolIterator(KRightToLeftArabic, KRightToLeftArabicLength);
|
sl@0
|
3892 |
|
sl@0
|
3893 |
aTest->TEST(aOldText.Length() >= KBufferSize);
|
sl@0
|
3894 |
|
sl@0
|
3895 |
while (!rtolIterator.Wrapped())
|
sl@0
|
3896 |
{
|
sl@0
|
3897 |
aOldText[0] = KRightToLeftOverride[0];
|
sl@0
|
3898 |
|
sl@0
|
3899 |
for (TInt i = 1 ; i < (KBufferSize-1); ++i)
|
sl@0
|
3900 |
{
|
sl@0
|
3901 |
aOldText[i] = rtolIterator.NextChar();
|
sl@0
|
3902 |
}
|
sl@0
|
3903 |
|
sl@0
|
3904 |
aOldText[KBufferSize-1] = KPopDirectionalFormat[0];
|
sl@0
|
3905 |
|
sl@0
|
3906 |
retval = TBidirectionalState::ReorderText(aOldText.Ptr(), KBufferSize, EParaRToL, newText);
|
sl@0
|
3907 |
|
sl@0
|
3908 |
aTest->TEST(retval == KErrNone);
|
sl@0
|
3909 |
|
sl@0
|
3910 |
aTest->TEST(TextInReverseOrder(aOldText.Ptr(), newText, KBufferSize));
|
sl@0
|
3911 |
|
sl@0
|
3912 |
DeleteText(aOldText.Ptr(), newText, aTest);
|
sl@0
|
3913 |
|
sl@0
|
3914 |
}
|
sl@0
|
3915 |
}
|
sl@0
|
3916 |
|
sl@0
|
3917 |
/**
|
sl@0
|
3918 |
*
|
sl@0
|
3919 |
* Tests the effect of RightToLeftOverride on left-to-right text.
|
sl@0
|
3920 |
*
|
sl@0
|
3921 |
* @param "TDes& aOldText"
|
sl@0
|
3922 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
3923 |
*
|
sl@0
|
3924 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
3925 |
* Pointer to the test object
|
sl@0
|
3926 |
*
|
sl@0
|
3927 |
*/
|
sl@0
|
3928 |
static void RLOLeftToRightTest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
3929 |
{
|
sl@0
|
3930 |
TText* newText = 0;
|
sl@0
|
3931 |
TInt retval = KErrNone;
|
sl@0
|
3932 |
TInt oldTextLength = aOldText.Length();
|
sl@0
|
3933 |
|
sl@0
|
3934 |
// RLO Test - are left-to-right characters overriden?
|
sl@0
|
3935 |
TextIterator ltorIterator(KLeftToRight, KLeftToRightLength);
|
sl@0
|
3936 |
|
sl@0
|
3937 |
aTest->TEST(aOldText.Length() >= KBufferSize);
|
sl@0
|
3938 |
|
sl@0
|
3939 |
while (!ltorIterator.Wrapped())
|
sl@0
|
3940 |
{
|
sl@0
|
3941 |
aOldText[0] = KRightToLeftOverride[0];
|
sl@0
|
3942 |
|
sl@0
|
3943 |
TInt i;
|
sl@0
|
3944 |
for (i = 1 ; i < (KBufferSize-1); )
|
sl@0
|
3945 |
{
|
sl@0
|
3946 |
if (!ltorIterator.NextCharInto(aOldText, i, KBufferSize-1))
|
sl@0
|
3947 |
break;
|
sl@0
|
3948 |
}
|
sl@0
|
3949 |
|
sl@0
|
3950 |
aOldText[i] = KPopDirectionalFormat[0];
|
sl@0
|
3951 |
TInt newLength = i + 1;
|
sl@0
|
3952 |
aOldText.SetLength(newLength);
|
sl@0
|
3953 |
|
sl@0
|
3954 |
retval = TBidirectionalState::ReorderText(aOldText.Ptr(), newLength, EParaRToL, newText);
|
sl@0
|
3955 |
|
sl@0
|
3956 |
aTest->TEST(retval == KErrNone);
|
sl@0
|
3957 |
|
sl@0
|
3958 |
aTest->TEST(TextInReverseOrder(aOldText.Ptr(), newText, newLength, aTest));
|
sl@0
|
3959 |
|
sl@0
|
3960 |
DeleteText(aOldText.Ptr(), newText, aTest);
|
sl@0
|
3961 |
aOldText.SetLength(oldTextLength);
|
sl@0
|
3962 |
}
|
sl@0
|
3963 |
}
|
sl@0
|
3964 |
|
sl@0
|
3965 |
/**
|
sl@0
|
3966 |
*
|
sl@0
|
3967 |
* Tests the effect of putting Left To Right text by Right To Left text.
|
sl@0
|
3968 |
*
|
sl@0
|
3969 |
* @param "TDes& aOldText"
|
sl@0
|
3970 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
3971 |
*
|
sl@0
|
3972 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
3973 |
* Pointer to the test object
|
sl@0
|
3974 |
*
|
sl@0
|
3975 |
*/
|
sl@0
|
3976 |
static void LToRThenRToLTest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
3977 |
{
|
sl@0
|
3978 |
TText* lText = 0;
|
sl@0
|
3979 |
TText* rText = 0;
|
sl@0
|
3980 |
TInt lretval = KErrNone;
|
sl@0
|
3981 |
TInt rretval = KErrNone;
|
sl@0
|
3982 |
TInt oldTextLength = aOldText.Length();
|
sl@0
|
3983 |
|
sl@0
|
3984 |
// Mixing L-R & R-L without embed codes - L-R at start, R-L at end
|
sl@0
|
3985 |
TextIterator ltorIterator(KLeftToRight, KLeftToRightLength);
|
sl@0
|
3986 |
TextIterator rtolIterator(KRightToLeft, KRightToLeftLength);
|
sl@0
|
3987 |
|
sl@0
|
3988 |
aTest->TEST(aOldText.Length() >= KBufferSize);
|
sl@0
|
3989 |
|
sl@0
|
3990 |
while (!ltorIterator.Wrapped())
|
sl@0
|
3991 |
{
|
sl@0
|
3992 |
TInt i = 0;
|
sl@0
|
3993 |
ltorIterator.FillInto(aOldText, i, KHalfBufferSize);
|
sl@0
|
3994 |
TInt realSize1 = i;
|
sl@0
|
3995 |
|
sl@0
|
3996 |
rtolIterator.FillInto(aOldText, i, KBufferSize);
|
sl@0
|
3997 |
TInt realSize2 = i - realSize1;
|
sl@0
|
3998 |
aOldText.SetLength(i);
|
sl@0
|
3999 |
|
sl@0
|
4000 |
lretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaLToR, lText);
|
sl@0
|
4001 |
rretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaLToR, rText);
|
sl@0
|
4002 |
|
sl@0
|
4003 |
aTest->TEST(lretval == KErrNone);
|
sl@0
|
4004 |
aTest->TEST(rretval == KErrNone);
|
sl@0
|
4005 |
|
sl@0
|
4006 |
aTest->TEST(TextInSameOrder(aOldText.Ptr(), lText, realSize1));
|
sl@0
|
4007 |
aTest->TEST(TextInReverseOrder(&aOldText.Ptr()[realSize1], &lText[realSize1], realSize2));
|
sl@0
|
4008 |
aTest->TEST(TextInSameOrder(aOldText.Ptr(), rText, realSize1));
|
sl@0
|
4009 |
aTest->TEST(TextInReverseOrder(&aOldText.Ptr()[realSize1], &rText[realSize1], realSize2));
|
sl@0
|
4010 |
|
sl@0
|
4011 |
DeleteText(aOldText.Ptr(), lText, aTest);
|
sl@0
|
4012 |
DeleteText(aOldText.Ptr(), rText, aTest);
|
sl@0
|
4013 |
aOldText.SetLength(oldTextLength);
|
sl@0
|
4014 |
}
|
sl@0
|
4015 |
}
|
sl@0
|
4016 |
|
sl@0
|
4017 |
/**
|
sl@0
|
4018 |
*
|
sl@0
|
4019 |
* Tests the effect of putting Left To Right text by Right To Left Arabic text.
|
sl@0
|
4020 |
*
|
sl@0
|
4021 |
* @param "TDes& aOldText"
|
sl@0
|
4022 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
4023 |
*
|
sl@0
|
4024 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
4025 |
* Pointer to the test object
|
sl@0
|
4026 |
*
|
sl@0
|
4027 |
*/
|
sl@0
|
4028 |
static void LToRThenRToLATest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
4029 |
{
|
sl@0
|
4030 |
TText* lText = 0;
|
sl@0
|
4031 |
TText* rText = 0;
|
sl@0
|
4032 |
TInt lretval = KErrNone;
|
sl@0
|
4033 |
TInt rretval = KErrNone;
|
sl@0
|
4034 |
TInt oldTextLength = aOldText.Length();
|
sl@0
|
4035 |
|
sl@0
|
4036 |
TextIterator ltorIterator(KLeftToRight, KLeftToRightLength);
|
sl@0
|
4037 |
TextIterator rtolIterator(KRightToLeftArabic, KRightToLeftArabicLength);
|
sl@0
|
4038 |
|
sl@0
|
4039 |
aTest->TEST(aOldText.Length() >= KBufferSize);
|
sl@0
|
4040 |
while (!ltorIterator.Wrapped())
|
sl@0
|
4041 |
{
|
sl@0
|
4042 |
TInt i;
|
sl@0
|
4043 |
|
sl@0
|
4044 |
for (i = 0 ; i < KHalfBufferSize; )
|
sl@0
|
4045 |
{
|
sl@0
|
4046 |
if (!ltorIterator.NextCharInto(aOldText, i, KHalfBufferSize))
|
sl@0
|
4047 |
break;
|
sl@0
|
4048 |
}
|
sl@0
|
4049 |
TInt realSize1 = i;
|
sl@0
|
4050 |
|
sl@0
|
4051 |
for (; i < KBufferSize; ++i)
|
sl@0
|
4052 |
{
|
sl@0
|
4053 |
aOldText[i] = rtolIterator.NextChar();
|
sl@0
|
4054 |
}
|
sl@0
|
4055 |
TInt realSize2 = i - realSize1;
|
sl@0
|
4056 |
aOldText.SetLength(i);
|
sl@0
|
4057 |
|
sl@0
|
4058 |
|
sl@0
|
4059 |
lretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaLToR, lText);
|
sl@0
|
4060 |
rretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaLToR, rText);
|
sl@0
|
4061 |
|
sl@0
|
4062 |
aTest->TEST(lretval == KErrNone);
|
sl@0
|
4063 |
aTest->TEST(rretval == KErrNone);
|
sl@0
|
4064 |
|
sl@0
|
4065 |
aTest->TEST(TextInSameOrder(aOldText.Ptr(), lText, realSize1));
|
sl@0
|
4066 |
aTest->TEST(TextInReverseOrder(&aOldText.Ptr()[realSize1], &lText[realSize1], realSize2));
|
sl@0
|
4067 |
aTest->TEST(TextInSameOrder(aOldText.Ptr(), rText, realSize1));
|
sl@0
|
4068 |
aTest->TEST(TextInReverseOrder(&aOldText.Ptr()[realSize1], &rText[realSize1], realSize2));
|
sl@0
|
4069 |
|
sl@0
|
4070 |
DeleteText(aOldText.Ptr(), lText, aTest);
|
sl@0
|
4071 |
DeleteText(aOldText.Ptr(), rText, aTest);
|
sl@0
|
4072 |
aOldText.SetLength(oldTextLength);
|
sl@0
|
4073 |
}
|
sl@0
|
4074 |
}
|
sl@0
|
4075 |
/**
|
sl@0
|
4076 |
*
|
sl@0
|
4077 |
* Tests the effect of putting Right To Left Arabic by Left To Right text.
|
sl@0
|
4078 |
*
|
sl@0
|
4079 |
* @param "TDes& aOldText"
|
sl@0
|
4080 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
4081 |
*
|
sl@0
|
4082 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
4083 |
* Pointer to the test object
|
sl@0
|
4084 |
*
|
sl@0
|
4085 |
*/
|
sl@0
|
4086 |
static void RToLAThenLToRTest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
4087 |
{
|
sl@0
|
4088 |
TText* lText = 0;
|
sl@0
|
4089 |
TText* rText = 0;
|
sl@0
|
4090 |
TInt lretval = KErrNone;
|
sl@0
|
4091 |
TInt rretval = KErrNone;
|
sl@0
|
4092 |
TInt oldTextLength = aOldText.Length();
|
sl@0
|
4093 |
|
sl@0
|
4094 |
// Mixing L-R & R-LA without embed codes - R-LA at start, L-R at end
|
sl@0
|
4095 |
TextIterator ltorIterator(KLeftToRight, KLeftToRightLength);
|
sl@0
|
4096 |
TextIterator rtolIterator(KRightToLeftArabic, KRightToLeftArabicLength);
|
sl@0
|
4097 |
|
sl@0
|
4098 |
aTest->TEST(aOldText.Length() >= KBufferSize);
|
sl@0
|
4099 |
|
sl@0
|
4100 |
while (!ltorIterator.Wrapped())
|
sl@0
|
4101 |
{
|
sl@0
|
4102 |
TInt i = 0;
|
sl@0
|
4103 |
|
sl@0
|
4104 |
rtolIterator.FillInto(aOldText, i, KHalfBufferSize);
|
sl@0
|
4105 |
TInt realSize1 = i;
|
sl@0
|
4106 |
|
sl@0
|
4107 |
ltorIterator.FillInto(aOldText, i, KBufferSize);
|
sl@0
|
4108 |
TInt realSize2 = i - realSize1;
|
sl@0
|
4109 |
aOldText.SetLength(i);
|
sl@0
|
4110 |
|
sl@0
|
4111 |
lretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaLToR, lText);
|
sl@0
|
4112 |
rretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaRToL, rText);
|
sl@0
|
4113 |
|
sl@0
|
4114 |
aTest->TEST(lretval == KErrNone);
|
sl@0
|
4115 |
aTest->TEST(rretval == KErrNone);
|
sl@0
|
4116 |
|
sl@0
|
4117 |
aTest->TEST(TextInReverseOrder(aOldText.Ptr(), lText, realSize1));
|
sl@0
|
4118 |
aTest->TEST(TextInSameOrder(&aOldText.Ptr()[realSize1], &lText[realSize1] , realSize2));
|
sl@0
|
4119 |
|
sl@0
|
4120 |
aTest->TEST(TextInReverseOrder(aOldText.Ptr(), &rText[realSize2], realSize1));
|
sl@0
|
4121 |
aTest->TEST(TextInSameOrder(&aOldText.Ptr()[realSize1], rText, realSize2));
|
sl@0
|
4122 |
|
sl@0
|
4123 |
DeleteText(aOldText.Ptr(), lText, aTest);
|
sl@0
|
4124 |
DeleteText(aOldText.Ptr(), rText, aTest);
|
sl@0
|
4125 |
aOldText.SetLength(oldTextLength);
|
sl@0
|
4126 |
}
|
sl@0
|
4127 |
}
|
sl@0
|
4128 |
|
sl@0
|
4129 |
/**
|
sl@0
|
4130 |
*
|
sl@0
|
4131 |
* Tests the effect of interspersing right to left and left to right text
|
sl@0
|
4132 |
*
|
sl@0
|
4133 |
* @param "TDes& aOldText"
|
sl@0
|
4134 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
4135 |
*
|
sl@0
|
4136 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
4137 |
* Pointer to the test object
|
sl@0
|
4138 |
*
|
sl@0
|
4139 |
*/
|
sl@0
|
4140 |
static void LToRThenRToLThenLToRThenRToLTest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
4141 |
{
|
sl@0
|
4142 |
TText* lText = 0;
|
sl@0
|
4143 |
TText* rText = 0;
|
sl@0
|
4144 |
TInt lretval = KErrNone;
|
sl@0
|
4145 |
TInt rretval = KErrNone;
|
sl@0
|
4146 |
TInt oldTextLength = aOldText.Length();
|
sl@0
|
4147 |
|
sl@0
|
4148 |
// Mixing L-R & R-L without embed codes - quarter buffers L-R R-L L-R R-L
|
sl@0
|
4149 |
TextIterator ltorIterator(KLeftToRight, KLeftToRightLength);
|
sl@0
|
4150 |
TextIterator rtolIterator(KRightToLeft, KRightToLeftLength);
|
sl@0
|
4151 |
|
sl@0
|
4152 |
aTest->TEST(aOldText.Length() >= KBufferSize);
|
sl@0
|
4153 |
|
sl@0
|
4154 |
while (!ltorIterator.Wrapped())
|
sl@0
|
4155 |
{
|
sl@0
|
4156 |
TInt i = 0;
|
sl@0
|
4157 |
|
sl@0
|
4158 |
ltorIterator.FillInto(aOldText, i, KQuarterBufferSize);
|
sl@0
|
4159 |
TInt realSize1 = i;
|
sl@0
|
4160 |
|
sl@0
|
4161 |
rtolIterator.FillInto(aOldText, i, KHalfBufferSize);
|
sl@0
|
4162 |
TInt realSize2 = i - realSize1;
|
sl@0
|
4163 |
TInt realSize12 = i;
|
sl@0
|
4164 |
|
sl@0
|
4165 |
ltorIterator.FillInto(aOldText, i, KThreeQuarterBufferSize);
|
sl@0
|
4166 |
TInt realSize3 = i - realSize12;
|
sl@0
|
4167 |
TInt realSize123 = i;
|
sl@0
|
4168 |
|
sl@0
|
4169 |
rtolIterator.FillInto(aOldText, i, KBufferSize);
|
sl@0
|
4170 |
TInt realSize4 = i - realSize123;
|
sl@0
|
4171 |
TInt realSize34 = i - realSize12;
|
sl@0
|
4172 |
TInt realSize234 = i - realSize1;
|
sl@0
|
4173 |
|
sl@0
|
4174 |
lretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaLToR, lText);
|
sl@0
|
4175 |
rretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaRToL, rText);
|
sl@0
|
4176 |
|
sl@0
|
4177 |
aTest->TEST(lretval == KErrNone);
|
sl@0
|
4178 |
aTest->TEST(rretval == KErrNone);
|
sl@0
|
4179 |
|
sl@0
|
4180 |
// source: L1 R2 L3 R4
|
sl@0
|
4181 |
// l should be: L1 L2 L3 L4
|
sl@0
|
4182 |
// r should be: R4 R3 R2 R1
|
sl@0
|
4183 |
aTest->TEST(TextInSameOrder(aOldText.Ptr(), lText, realSize1));
|
sl@0
|
4184 |
aTest->TEST(TextInReverseOrder(&aOldText.Ptr()[realSize1], &lText[realSize1], realSize2));
|
sl@0
|
4185 |
aTest->TEST(TextInSameOrder(&aOldText.Ptr()[realSize12], &lText[realSize12], realSize3));
|
sl@0
|
4186 |
aTest->TEST(TextInReverseOrder(&aOldText.Ptr()[realSize123], &lText[realSize123], realSize4));
|
sl@0
|
4187 |
|
sl@0
|
4188 |
aTest->TEST(TextInReverseOrder(&aOldText.Ptr()[realSize123], rText, realSize4));
|
sl@0
|
4189 |
aTest->TEST(TextInSameOrder(&aOldText.Ptr()[realSize12], &rText[realSize4], realSize3));
|
sl@0
|
4190 |
aTest->TEST(TextInReverseOrder(&aOldText.Ptr()[realSize1], &rText[realSize34], realSize2));
|
sl@0
|
4191 |
aTest->TEST(TextInSameOrder(aOldText.Ptr(), &rText[realSize234], realSize1));
|
sl@0
|
4192 |
|
sl@0
|
4193 |
DeleteText(aOldText.Ptr(), lText, aTest);
|
sl@0
|
4194 |
DeleteText(aOldText.Ptr(), rText, aTest);
|
sl@0
|
4195 |
aOldText.SetLength(oldTextLength);
|
sl@0
|
4196 |
}
|
sl@0
|
4197 |
}
|
sl@0
|
4198 |
|
sl@0
|
4199 |
/**
|
sl@0
|
4200 |
*
|
sl@0
|
4201 |
* Tests the effect of interspersing right to left and left to right text
|
sl@0
|
4202 |
*
|
sl@0
|
4203 |
* @param "TDes& aOldText"
|
sl@0
|
4204 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
4205 |
*
|
sl@0
|
4206 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
4207 |
* Pointer to the test object
|
sl@0
|
4208 |
*
|
sl@0
|
4209 |
*/
|
sl@0
|
4210 |
static void RToLThenLToRThenRToLThenLToRTest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
4211 |
{
|
sl@0
|
4212 |
TText* lText = 0;
|
sl@0
|
4213 |
TText* rText = 0;
|
sl@0
|
4214 |
TInt lretval = KErrNone;
|
sl@0
|
4215 |
TInt rretval = KErrNone;
|
sl@0
|
4216 |
TInt oldTextLength = aOldText.Length();
|
sl@0
|
4217 |
|
sl@0
|
4218 |
// Mixing L-R & R-L without embed codes - quarter buffers R-L L-R R-L L-R
|
sl@0
|
4219 |
TextIterator ltorIterator(KLeftToRight, KLeftToRightLength);
|
sl@0
|
4220 |
TextIterator rtolIterator(KRightToLeft, KRightToLeftLength);
|
sl@0
|
4221 |
|
sl@0
|
4222 |
aTest->TEST(aOldText.Length() >= KBufferSize);
|
sl@0
|
4223 |
|
sl@0
|
4224 |
while (!ltorIterator.Wrapped())
|
sl@0
|
4225 |
{
|
sl@0
|
4226 |
TInt i = 0;
|
sl@0
|
4227 |
|
sl@0
|
4228 |
rtolIterator.FillInto(aOldText, i, KQuarterBufferSize);
|
sl@0
|
4229 |
TInt realSize1 = i;
|
sl@0
|
4230 |
|
sl@0
|
4231 |
ltorIterator.FillInto(aOldText, i, KHalfBufferSize);
|
sl@0
|
4232 |
TInt realSize2 = i - realSize1;
|
sl@0
|
4233 |
TInt realSize12 = i;
|
sl@0
|
4234 |
|
sl@0
|
4235 |
rtolIterator.FillInto(aOldText, i, KThreeQuarterBufferSize);
|
sl@0
|
4236 |
TInt realSize3 = i - realSize12;
|
sl@0
|
4237 |
TInt realSize123 = i;
|
sl@0
|
4238 |
|
sl@0
|
4239 |
ltorIterator.FillInto(aOldText, i, KBufferSize);
|
sl@0
|
4240 |
TInt realSize4 = i - realSize123;
|
sl@0
|
4241 |
TInt realSize34 = i - realSize12;
|
sl@0
|
4242 |
TInt realSize234 = i - realSize1;
|
sl@0
|
4243 |
|
sl@0
|
4244 |
lretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaLToR, lText);
|
sl@0
|
4245 |
rretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaRToL, rText);
|
sl@0
|
4246 |
|
sl@0
|
4247 |
aTest->TEST(lretval == KErrNone);
|
sl@0
|
4248 |
aTest->TEST(rretval == KErrNone);
|
sl@0
|
4249 |
|
sl@0
|
4250 |
// source: R1 L2 R3 L4
|
sl@0
|
4251 |
// l should be: L1 L2 L3 L4
|
sl@0
|
4252 |
// r should be: L4 L3 L2 L1
|
sl@0
|
4253 |
aTest->TEST(TextInReverseOrder(aOldText.Ptr(), lText, realSize1));
|
sl@0
|
4254 |
aTest->TEST(TextInSameOrder(&aOldText.Ptr()[realSize1], &lText[realSize1], realSize2));
|
sl@0
|
4255 |
aTest->TEST(TextInReverseOrder(&aOldText.Ptr()[realSize12], &lText[realSize12], realSize3));
|
sl@0
|
4256 |
aTest->TEST(TextInSameOrder(&aOldText.Ptr()[realSize123], &lText[realSize123], realSize4));
|
sl@0
|
4257 |
|
sl@0
|
4258 |
aTest->TEST( TextInSameOrder(&aOldText.Ptr()[realSize123], rText, realSize4));
|
sl@0
|
4259 |
aTest->TEST(TextInReverseOrder(&aOldText.Ptr()[realSize12], &rText[realSize4], realSize3));
|
sl@0
|
4260 |
aTest->TEST(TextInSameOrder(&aOldText.Ptr()[realSize1], &rText[realSize34], realSize2));
|
sl@0
|
4261 |
aTest->TEST(TextInReverseOrder(aOldText.Ptr(), &rText[realSize234], realSize1));
|
sl@0
|
4262 |
|
sl@0
|
4263 |
DeleteText(aOldText.Ptr(), lText, aTest);
|
sl@0
|
4264 |
DeleteText(aOldText.Ptr(), rText, aTest);
|
sl@0
|
4265 |
|
sl@0
|
4266 |
aOldText.SetLength(oldTextLength);
|
sl@0
|
4267 |
}
|
sl@0
|
4268 |
}
|
sl@0
|
4269 |
|
sl@0
|
4270 |
/**
|
sl@0
|
4271 |
*
|
sl@0
|
4272 |
* Tests the effect of mixing blocks of right to left text, left to right text,
|
sl@0
|
4273 |
* European numbers and Arabic numbers
|
sl@0
|
4274 |
*
|
sl@0
|
4275 |
* @param "TDes& aOldText"
|
sl@0
|
4276 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
4277 |
*
|
sl@0
|
4278 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
4279 |
* Pointer to the test object
|
sl@0
|
4280 |
*
|
sl@0
|
4281 |
*/
|
sl@0
|
4282 |
static void SimpleNumberTest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
4283 |
{
|
sl@0
|
4284 |
TText* lText = 0;
|
sl@0
|
4285 |
TText* rText = 0;
|
sl@0
|
4286 |
TInt lretval = KErrNone;
|
sl@0
|
4287 |
TInt rretval = KErrNone;
|
sl@0
|
4288 |
TInt oldTextLength = aOldText.Length();
|
sl@0
|
4289 |
|
sl@0
|
4290 |
// Now mix in some numbers
|
sl@0
|
4291 |
TextIterator ltorIterator(KLeftToRight, KLeftToRightLength);
|
sl@0
|
4292 |
TextIterator rtolIterator(KRightToLeft, KRightToLeftLength);
|
sl@0
|
4293 |
TextIterator euronIterator(KEuropeanNumber, KEuropeanNumberLength);
|
sl@0
|
4294 |
TextIterator arabnIterator(KArabicNumber, KArabicNumberLength);
|
sl@0
|
4295 |
|
sl@0
|
4296 |
aTest->TEST(aOldText.Length() >= KBufferSize);
|
sl@0
|
4297 |
|
sl@0
|
4298 |
while (!ltorIterator.Wrapped())
|
sl@0
|
4299 |
{
|
sl@0
|
4300 |
TInt i = 0;
|
sl@0
|
4301 |
rtolIterator.FillInto(aOldText, i, KQuarterBufferSize);
|
sl@0
|
4302 |
TInt realSize1 = i;
|
sl@0
|
4303 |
|
sl@0
|
4304 |
ltorIterator.FillInto(aOldText, i, KHalfBufferSize);
|
sl@0
|
4305 |
TInt realSize2 = i - realSize1;
|
sl@0
|
4306 |
TInt realSize12 = i;
|
sl@0
|
4307 |
|
sl@0
|
4308 |
euronIterator.FillInto(aOldText, i, KThreeQuarterBufferSize);
|
sl@0
|
4309 |
TInt realSize3 = i - realSize12;
|
sl@0
|
4310 |
TInt realSize123 = i;
|
sl@0
|
4311 |
TInt realSize23 = realSize123 - realSize1;
|
sl@0
|
4312 |
|
sl@0
|
4313 |
arabnIterator.FillInto(aOldText, i, KBufferSize);
|
sl@0
|
4314 |
TInt realSize4 = i - realSize123;
|
sl@0
|
4315 |
TInt realSize234 = i - realSize1;
|
sl@0
|
4316 |
|
sl@0
|
4317 |
rretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaRToL, rText);
|
sl@0
|
4318 |
lretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaLToR, lText);
|
sl@0
|
4319 |
|
sl@0
|
4320 |
aTest->TEST(lretval == KErrNone);
|
sl@0
|
4321 |
aTest->TEST(rretval == KErrNone);
|
sl@0
|
4322 |
|
sl@0
|
4323 |
// source: 1 2 3 4
|
sl@0
|
4324 |
// l should be: 2 3 4 -1
|
sl@0
|
4325 |
// r should be: -1 2 3 4
|
sl@0
|
4326 |
aTest->TEST(TextInSameOrder(&aOldText.Ptr()[realSize1], rText, realSize2));
|
sl@0
|
4327 |
aTest->TEST(TextInSameOrder(&aOldText.Ptr()[realSize12], &rText[realSize2], realSize3));
|
sl@0
|
4328 |
aTest->TEST(TextInSameOrder(&aOldText.Ptr()[realSize123], &rText[realSize23], realSize4));
|
sl@0
|
4329 |
aTest->TEST(TextInReverseOrder(aOldText.Ptr(), &rText[realSize234], realSize1));
|
sl@0
|
4330 |
|
sl@0
|
4331 |
aTest->TEST(TextInReverseOrder(aOldText.Ptr(), lText, realSize1));
|
sl@0
|
4332 |
aTest->TEST(TextInSameOrder(&aOldText.Ptr()[realSize1], &lText[realSize1], realSize2));
|
sl@0
|
4333 |
aTest->TEST(TextInSameOrder(&aOldText.Ptr()[realSize12], &lText[realSize12], realSize3));
|
sl@0
|
4334 |
aTest->TEST(TextInSameOrder(&aOldText.Ptr()[realSize123], &lText[realSize123], realSize4));
|
sl@0
|
4335 |
|
sl@0
|
4336 |
DeleteText(aOldText.Ptr(), lText, aTest);
|
sl@0
|
4337 |
DeleteText(aOldText.Ptr(), rText, aTest);
|
sl@0
|
4338 |
}
|
sl@0
|
4339 |
}
|
sl@0
|
4340 |
|
sl@0
|
4341 |
/**
|
sl@0
|
4342 |
*
|
sl@0
|
4343 |
* Tests what happens when Arabic and European numbers are surrounded by Arabic letters
|
sl@0
|
4344 |
*
|
sl@0
|
4345 |
* @param "TDes& aOldText"
|
sl@0
|
4346 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
4347 |
*
|
sl@0
|
4348 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
4349 |
* Pointer to the test object
|
sl@0
|
4350 |
*
|
sl@0
|
4351 |
*/
|
sl@0
|
4352 |
static void RToLAThenANThenENThenRToLATest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
4353 |
{
|
sl@0
|
4354 |
TText* lText = 0;
|
sl@0
|
4355 |
TText* rText = 0;
|
sl@0
|
4356 |
TInt lretval = KErrNone;
|
sl@0
|
4357 |
TInt rretval = KErrNone;
|
sl@0
|
4358 |
TInt oldTextLength = aOldText.Length();
|
sl@0
|
4359 |
HBufC *lResult = HBufC::NewLC(KBufferSize);
|
sl@0
|
4360 |
HBufC *rResult = HBufC::NewLC(KBufferSize);
|
sl@0
|
4361 |
|
sl@0
|
4362 |
// Now mix in some numbers
|
sl@0
|
4363 |
TextIterator rtolIterator(KRightToLeftArabic, KRightToLeftArabicLength);
|
sl@0
|
4364 |
TextIterator euronIterator(KEuropeanNumber, KEuropeanNumberLength);
|
sl@0
|
4365 |
TextIterator arabnIterator(KArabicNumber, KArabicNumberLength);
|
sl@0
|
4366 |
|
sl@0
|
4367 |
while (!rtolIterator.Wrapped())
|
sl@0
|
4368 |
{
|
sl@0
|
4369 |
TInt i;
|
sl@0
|
4370 |
TInt lasti = 0;
|
sl@0
|
4371 |
TUint ch0, ch1, ch2, ch3;
|
sl@0
|
4372 |
for (i = 0 ; i < KBufferSize-3; )
|
sl@0
|
4373 |
{
|
sl@0
|
4374 |
if (!rtolIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch0))
|
sl@0
|
4375 |
break;
|
sl@0
|
4376 |
if (!arabnIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch1))
|
sl@0
|
4377 |
break;
|
sl@0
|
4378 |
if (!euronIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch2))
|
sl@0
|
4379 |
break;
|
sl@0
|
4380 |
if (!rtolIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch3))
|
sl@0
|
4381 |
break;
|
sl@0
|
4382 |
|
sl@0
|
4383 |
lasti = i;
|
sl@0
|
4384 |
AppendCharacter(lResult, ch0);
|
sl@0
|
4385 |
AppendCharacter(lResult, ch2);
|
sl@0
|
4386 |
AppendCharacter(lResult, ch1);
|
sl@0
|
4387 |
AppendCharacter(lResult, ch3);
|
sl@0
|
4388 |
|
sl@0
|
4389 |
AppendCharacter(rResult, ch0);
|
sl@0
|
4390 |
AppendCharacter(rResult, ch2);
|
sl@0
|
4391 |
AppendCharacter(rResult, ch1);
|
sl@0
|
4392 |
AppendCharacter(rResult, ch3);
|
sl@0
|
4393 |
}
|
sl@0
|
4394 |
i = lasti;
|
sl@0
|
4395 |
aOldText.SetLength(i);
|
sl@0
|
4396 |
ASSERT(lResult->Des().Length() == i);
|
sl@0
|
4397 |
ASSERT(rResult->Des().Length() == i);
|
sl@0
|
4398 |
|
sl@0
|
4399 |
rretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaRToL, rText);
|
sl@0
|
4400 |
lretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaLToR, lText);
|
sl@0
|
4401 |
|
sl@0
|
4402 |
aTest->TEST(lretval == KErrNone);
|
sl@0
|
4403 |
aTest->TEST(rretval == KErrNone);
|
sl@0
|
4404 |
#ifdef PRINT_DATA
|
sl@0
|
4405 |
|
sl@0
|
4406 |
_LIT(KOTitle, "Original");
|
sl@0
|
4407 |
_LIT(KLTitle, "Left-to-Right");
|
sl@0
|
4408 |
_LIT(KRTitle, "Right-to-Left");
|
sl@0
|
4409 |
|
sl@0
|
4410 |
|
sl@0
|
4411 |
PrintTestData(KOTitle, aOldText);
|
sl@0
|
4412 |
PrintTestData(KLTitle, lText, KBufferSize);
|
sl@0
|
4413 |
PrintTestData(KRTitle, rText, KBufferSize);
|
sl@0
|
4414 |
|
sl@0
|
4415 |
#endif
|
sl@0
|
4416 |
aTest->TEST(TextInReverseOrder(lResult->Ptr(), lText, i));
|
sl@0
|
4417 |
aTest->TEST(TextInReverseOrder(rResult->Ptr(), rText, i, aTest));
|
sl@0
|
4418 |
|
sl@0
|
4419 |
DeleteText(aOldText.Ptr(), lText, aTest);
|
sl@0
|
4420 |
DeleteText(aOldText.Ptr(), rText, aTest);
|
sl@0
|
4421 |
|
sl@0
|
4422 |
aOldText.SetLength(oldTextLength);
|
sl@0
|
4423 |
lResult->Des().SetLength(0);
|
sl@0
|
4424 |
rResult->Des().SetLength(0);
|
sl@0
|
4425 |
}
|
sl@0
|
4426 |
CleanupStack::PopAndDestroy(rResult);
|
sl@0
|
4427 |
CleanupStack::PopAndDestroy(lResult);
|
sl@0
|
4428 |
}
|
sl@0
|
4429 |
/**
|
sl@0
|
4430 |
*
|
sl@0
|
4431 |
* Tests what happens when Arabic and European numbers are surrounded by Arabic letters
|
sl@0
|
4432 |
*
|
sl@0
|
4433 |
* @param "TDes& aOldText"
|
sl@0
|
4434 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
4435 |
*
|
sl@0
|
4436 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
4437 |
* Pointer to the test object
|
sl@0
|
4438 |
*
|
sl@0
|
4439 |
*/
|
sl@0
|
4440 |
static void RToLAThenENThenANThenRToLATest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
4441 |
{
|
sl@0
|
4442 |
TText* lText = 0;
|
sl@0
|
4443 |
TText* rText = 0;
|
sl@0
|
4444 |
TInt lretval = KErrNone;
|
sl@0
|
4445 |
TInt rretval = KErrNone;
|
sl@0
|
4446 |
TInt oldTextLength = aOldText.Length();
|
sl@0
|
4447 |
HBufC *lResult = HBufC::NewLC(KBufferSize);
|
sl@0
|
4448 |
HBufC *rResult = HBufC::NewLC(KBufferSize);
|
sl@0
|
4449 |
|
sl@0
|
4450 |
// Now mix in some numbers
|
sl@0
|
4451 |
TextIterator rtolIterator(KRightToLeftArabic, KRightToLeftArabicLength);
|
sl@0
|
4452 |
TextIterator euronIterator(KEuropeanNumber, KEuropeanNumberLength);
|
sl@0
|
4453 |
TextIterator arabnIterator(KArabicNumber, KArabicNumberLength);
|
sl@0
|
4454 |
|
sl@0
|
4455 |
while (!rtolIterator.Wrapped())
|
sl@0
|
4456 |
{
|
sl@0
|
4457 |
TInt i;
|
sl@0
|
4458 |
TInt lasti = 0;
|
sl@0
|
4459 |
TUint ch0, ch1, ch2, ch3;
|
sl@0
|
4460 |
for (i = 0 ; i < KBufferSize-3; )
|
sl@0
|
4461 |
{
|
sl@0
|
4462 |
if (!rtolIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch0))
|
sl@0
|
4463 |
break;
|
sl@0
|
4464 |
if (!euronIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch1))
|
sl@0
|
4465 |
break;
|
sl@0
|
4466 |
if (!arabnIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch2))
|
sl@0
|
4467 |
break;
|
sl@0
|
4468 |
if (!rtolIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch3))
|
sl@0
|
4469 |
break;
|
sl@0
|
4470 |
|
sl@0
|
4471 |
lasti = i;
|
sl@0
|
4472 |
AppendCharacter(lResult, ch0);
|
sl@0
|
4473 |
AppendCharacter(lResult, ch2);
|
sl@0
|
4474 |
AppendCharacter(lResult, ch1);
|
sl@0
|
4475 |
AppendCharacter(lResult, ch3);
|
sl@0
|
4476 |
|
sl@0
|
4477 |
AppendCharacter(rResult, ch0);
|
sl@0
|
4478 |
AppendCharacter(rResult, ch2);
|
sl@0
|
4479 |
AppendCharacter(rResult, ch1);
|
sl@0
|
4480 |
AppendCharacter(rResult, ch3);
|
sl@0
|
4481 |
}
|
sl@0
|
4482 |
i = lasti;
|
sl@0
|
4483 |
aOldText.SetLength(i);
|
sl@0
|
4484 |
ASSERT(lResult->Des().Length() == i);
|
sl@0
|
4485 |
ASSERT(rResult->Des().Length() == i);
|
sl@0
|
4486 |
|
sl@0
|
4487 |
rretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaRToL, rText);
|
sl@0
|
4488 |
lretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaLToR, lText);
|
sl@0
|
4489 |
|
sl@0
|
4490 |
aTest->TEST(lretval == KErrNone);
|
sl@0
|
4491 |
aTest->TEST(rretval == KErrNone);
|
sl@0
|
4492 |
#ifdef PRINT_DATA
|
sl@0
|
4493 |
|
sl@0
|
4494 |
_LIT(KOTitle, "Original");
|
sl@0
|
4495 |
_LIT(KLTitle, "Left-to-Right");
|
sl@0
|
4496 |
_LIT(KRTitle, "Right-to-Left");
|
sl@0
|
4497 |
|
sl@0
|
4498 |
|
sl@0
|
4499 |
PrintTestData(KOTitle, aOldText);
|
sl@0
|
4500 |
PrintTestData(KLTitle, lText, KBufferSize);
|
sl@0
|
4501 |
PrintTestData(KRTitle, rText, KBufferSize);
|
sl@0
|
4502 |
|
sl@0
|
4503 |
#endif
|
sl@0
|
4504 |
aTest->TEST(TextInReverseOrder(lResult->Ptr(), lText, i));
|
sl@0
|
4505 |
aTest->TEST(TextInReverseOrder(rResult->Ptr(), rText, i, aTest));
|
sl@0
|
4506 |
|
sl@0
|
4507 |
DeleteText(aOldText.Ptr(), lText, aTest);
|
sl@0
|
4508 |
DeleteText(aOldText.Ptr(), rText, aTest);
|
sl@0
|
4509 |
|
sl@0
|
4510 |
aOldText.SetLength(oldTextLength);
|
sl@0
|
4511 |
lResult->Des().SetLength(0);
|
sl@0
|
4512 |
rResult->Des().SetLength(0);
|
sl@0
|
4513 |
}
|
sl@0
|
4514 |
CleanupStack::PopAndDestroy(rResult);
|
sl@0
|
4515 |
CleanupStack::PopAndDestroy(lResult);
|
sl@0
|
4516 |
}
|
sl@0
|
4517 |
/**
|
sl@0
|
4518 |
*
|
sl@0
|
4519 |
* Tests what happens when Arabic and European numbers are surrounded by right-to-left letters
|
sl@0
|
4520 |
*
|
sl@0
|
4521 |
* @param "TDes& aOldText"
|
sl@0
|
4522 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
4523 |
*
|
sl@0
|
4524 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
4525 |
* Pointer to the test object
|
sl@0
|
4526 |
*
|
sl@0
|
4527 |
*/
|
sl@0
|
4528 |
static void RToLThenANThenENThenRToLTest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
4529 |
{
|
sl@0
|
4530 |
TText* lText = 0;
|
sl@0
|
4531 |
TText* rText = 0;
|
sl@0
|
4532 |
TInt oldTextLength = aOldText.Length();
|
sl@0
|
4533 |
HBufC *lResult = HBufC::NewLC(KBufferSize);
|
sl@0
|
4534 |
HBufC *rResult = HBufC::NewLC(KBufferSize);
|
sl@0
|
4535 |
|
sl@0
|
4536 |
// Now mix in some numbers
|
sl@0
|
4537 |
TextIterator rtolIterator(KRightToLeft, KRightToLeftLength);
|
sl@0
|
4538 |
TextIterator euronIterator(KEuropeanNumber, KEuropeanNumberLength);
|
sl@0
|
4539 |
TextIterator arabnIterator(KArabicNumber, KArabicNumberLength);
|
sl@0
|
4540 |
|
sl@0
|
4541 |
while (!rtolIterator.Wrapped())
|
sl@0
|
4542 |
{
|
sl@0
|
4543 |
TInt i;
|
sl@0
|
4544 |
TInt lasti = 0;
|
sl@0
|
4545 |
TUint ch0, ch1, ch2, ch3;
|
sl@0
|
4546 |
for (i = 0 ; i < KBufferSize-3; )
|
sl@0
|
4547 |
{
|
sl@0
|
4548 |
if (!rtolIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch0))
|
sl@0
|
4549 |
break;
|
sl@0
|
4550 |
if (!arabnIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch1))
|
sl@0
|
4551 |
break;
|
sl@0
|
4552 |
if (!euronIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch2))
|
sl@0
|
4553 |
break;
|
sl@0
|
4554 |
if (!rtolIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch3))
|
sl@0
|
4555 |
break;
|
sl@0
|
4556 |
|
sl@0
|
4557 |
lasti = i;
|
sl@0
|
4558 |
AppendCharacter(lResult, ch0);
|
sl@0
|
4559 |
AppendCharacter(lResult, ch2);
|
sl@0
|
4560 |
AppendCharacter(lResult, ch1);
|
sl@0
|
4561 |
AppendCharacter(lResult, ch3);
|
sl@0
|
4562 |
|
sl@0
|
4563 |
AppendCharacter(rResult, ch0);
|
sl@0
|
4564 |
AppendCharacter(rResult, ch2);
|
sl@0
|
4565 |
AppendCharacter(rResult, ch1);
|
sl@0
|
4566 |
AppendCharacter(rResult, ch3);
|
sl@0
|
4567 |
}
|
sl@0
|
4568 |
i = lasti;
|
sl@0
|
4569 |
aOldText.SetLength(i);
|
sl@0
|
4570 |
ASSERT(lResult->Des().Length() == i);
|
sl@0
|
4571 |
ASSERT(rResult->Des().Length() == i);
|
sl@0
|
4572 |
|
sl@0
|
4573 |
TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaRToL, rText);
|
sl@0
|
4574 |
TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaLToR, lText);
|
sl@0
|
4575 |
|
sl@0
|
4576 |
#ifdef PRINT_DATA
|
sl@0
|
4577 |
|
sl@0
|
4578 |
_LIT(KOTitle, "Original");
|
sl@0
|
4579 |
_LIT(KLTitle, "Left-to-Right");
|
sl@0
|
4580 |
_LIT(KRTitle, "Right-to-Left");
|
sl@0
|
4581 |
|
sl@0
|
4582 |
|
sl@0
|
4583 |
PrintTestData(KOTitle, aOldText);
|
sl@0
|
4584 |
PrintTestData(KLTitle, lText, KBufferSize);
|
sl@0
|
4585 |
PrintTestData(KRTitle, rText, KBufferSize);
|
sl@0
|
4586 |
|
sl@0
|
4587 |
#endif
|
sl@0
|
4588 |
aTest->TEST(TextInReverseOrder(lResult->Ptr(), lText, i, aTest));
|
sl@0
|
4589 |
aTest->TEST(TextInReverseOrder(rResult->Ptr(), rText, i, aTest));
|
sl@0
|
4590 |
|
sl@0
|
4591 |
DeleteText(aOldText.Ptr(), lText, aTest);
|
sl@0
|
4592 |
DeleteText(aOldText.Ptr(), rText, aTest);
|
sl@0
|
4593 |
aOldText.SetLength(oldTextLength);
|
sl@0
|
4594 |
lResult->Des().SetLength(0);
|
sl@0
|
4595 |
rResult->Des().SetLength(0);
|
sl@0
|
4596 |
}
|
sl@0
|
4597 |
CleanupStack::PopAndDestroy(rResult);
|
sl@0
|
4598 |
CleanupStack::PopAndDestroy(lResult);
|
sl@0
|
4599 |
}
|
sl@0
|
4600 |
|
sl@0
|
4601 |
/**
|
sl@0
|
4602 |
*
|
sl@0
|
4603 |
* Tests what happens when Arabic and European numbers are surrounded by right-to-left letters
|
sl@0
|
4604 |
*
|
sl@0
|
4605 |
* @param "TDes& aOldText"
|
sl@0
|
4606 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
4607 |
*
|
sl@0
|
4608 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
4609 |
* Pointer to the test object
|
sl@0
|
4610 |
*
|
sl@0
|
4611 |
*/
|
sl@0
|
4612 |
static void RToLThenENThenANThenRToLTest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
4613 |
{
|
sl@0
|
4614 |
TText* lText = 0;
|
sl@0
|
4615 |
TText* rText = 0;
|
sl@0
|
4616 |
TInt lretval = KErrNone;
|
sl@0
|
4617 |
TInt rretval = KErrNone;
|
sl@0
|
4618 |
TInt oldTextLength = aOldText.Length();
|
sl@0
|
4619 |
HBufC *lResult = HBufC::NewLC(KBufferSize);
|
sl@0
|
4620 |
HBufC *rResult = HBufC::NewLC(KBufferSize);
|
sl@0
|
4621 |
|
sl@0
|
4622 |
// Now mix in some numbers
|
sl@0
|
4623 |
TextIterator rtolIterator(KRightToLeft, KRightToLeftLength);
|
sl@0
|
4624 |
TextIterator euronIterator(KEuropeanNumber, KEuropeanNumberLength);
|
sl@0
|
4625 |
TextIterator arabnIterator(KArabicNumber, KArabicNumberLength);
|
sl@0
|
4626 |
|
sl@0
|
4627 |
while (!rtolIterator.Wrapped())
|
sl@0
|
4628 |
{
|
sl@0
|
4629 |
TInt i;
|
sl@0
|
4630 |
TInt lasti = 0;
|
sl@0
|
4631 |
TUint ch0, ch1, ch2, ch3;
|
sl@0
|
4632 |
for (i = 0 ; i < KBufferSize-3; )
|
sl@0
|
4633 |
{
|
sl@0
|
4634 |
if (!rtolIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch0))
|
sl@0
|
4635 |
break;
|
sl@0
|
4636 |
if (!euronIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch1))
|
sl@0
|
4637 |
break;
|
sl@0
|
4638 |
if (!arabnIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch2))
|
sl@0
|
4639 |
break;
|
sl@0
|
4640 |
if (!rtolIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch3))
|
sl@0
|
4641 |
break;
|
sl@0
|
4642 |
|
sl@0
|
4643 |
lasti = i;
|
sl@0
|
4644 |
AppendCharacter(lResult, ch0);
|
sl@0
|
4645 |
AppendCharacter(lResult, ch2);
|
sl@0
|
4646 |
AppendCharacter(lResult, ch1);
|
sl@0
|
4647 |
AppendCharacter(lResult, ch3);
|
sl@0
|
4648 |
|
sl@0
|
4649 |
AppendCharacter(rResult, ch0);
|
sl@0
|
4650 |
AppendCharacter(rResult, ch2);
|
sl@0
|
4651 |
AppendCharacter(rResult, ch1);
|
sl@0
|
4652 |
AppendCharacter(rResult, ch3);
|
sl@0
|
4653 |
}
|
sl@0
|
4654 |
i = lasti;
|
sl@0
|
4655 |
aOldText.SetLength(i);
|
sl@0
|
4656 |
ASSERT(lResult->Des().Length() == i);
|
sl@0
|
4657 |
ASSERT(rResult->Des().Length() == i);
|
sl@0
|
4658 |
|
sl@0
|
4659 |
rretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaRToL, rText);
|
sl@0
|
4660 |
lretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaLToR, lText);
|
sl@0
|
4661 |
|
sl@0
|
4662 |
aTest->TEST(lretval == KErrNone);
|
sl@0
|
4663 |
aTest->TEST(rretval == KErrNone);
|
sl@0
|
4664 |
#ifdef PRINT_DATA
|
sl@0
|
4665 |
|
sl@0
|
4666 |
_LIT(KOTitle, "Original");
|
sl@0
|
4667 |
_LIT(KLTitle, "Left-to-Right");
|
sl@0
|
4668 |
_LIT(KRTitle, "Right-to-Left");
|
sl@0
|
4669 |
|
sl@0
|
4670 |
|
sl@0
|
4671 |
PrintTestData(KOTitle, aOldText);
|
sl@0
|
4672 |
PrintTestData(KLTitle, lText, KBufferSize);
|
sl@0
|
4673 |
PrintTestData(KRTitle, rText, KBufferSize);
|
sl@0
|
4674 |
|
sl@0
|
4675 |
#endif
|
sl@0
|
4676 |
|
sl@0
|
4677 |
aTest->TEST(TextInReverseOrder(lResult->Ptr(), lText, i, aTest));
|
sl@0
|
4678 |
aTest->TEST(TextInReverseOrder(rResult->Ptr(), rText, i, aTest));
|
sl@0
|
4679 |
|
sl@0
|
4680 |
DeleteText(aOldText.Ptr(), lText, aTest);
|
sl@0
|
4681 |
DeleteText(aOldText.Ptr(), rText, aTest);
|
sl@0
|
4682 |
|
sl@0
|
4683 |
aOldText.SetLength(oldTextLength);
|
sl@0
|
4684 |
lResult->Des().SetLength(0);
|
sl@0
|
4685 |
rResult->Des().SetLength(0);
|
sl@0
|
4686 |
}
|
sl@0
|
4687 |
CleanupStack::PopAndDestroy(rResult);
|
sl@0
|
4688 |
CleanupStack::PopAndDestroy(lResult);
|
sl@0
|
4689 |
}
|
sl@0
|
4690 |
/**
|
sl@0
|
4691 |
*
|
sl@0
|
4692 |
* Tests what happens when Arabic and European numbers are surrounded by Left to Right letters
|
sl@0
|
4693 |
*
|
sl@0
|
4694 |
* @param "TDes& aOldText"
|
sl@0
|
4695 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
4696 |
*
|
sl@0
|
4697 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
4698 |
* Pointer to the test object
|
sl@0
|
4699 |
*
|
sl@0
|
4700 |
*/
|
sl@0
|
4701 |
static void LToRThenANThenENThenLToRTest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
4702 |
{
|
sl@0
|
4703 |
TText* lText = 0;
|
sl@0
|
4704 |
TText* rText = 0;
|
sl@0
|
4705 |
TInt lretval = KErrNone;
|
sl@0
|
4706 |
TInt rretval = KErrNone;
|
sl@0
|
4707 |
TInt oldTextLength = aOldText.Length();
|
sl@0
|
4708 |
|
sl@0
|
4709 |
// Now mix in some numbers
|
sl@0
|
4710 |
TextIterator ltorIterator(KLeftToRight, KLeftToRightLength);
|
sl@0
|
4711 |
TextIterator euronIterator(KEuropeanNumber, KEuropeanNumberLength);
|
sl@0
|
4712 |
TextIterator arabnIterator(KArabicNumber, KArabicNumberLength);
|
sl@0
|
4713 |
|
sl@0
|
4714 |
aTest->TEST(aOldText.Length() >= KBufferSize);
|
sl@0
|
4715 |
while (!ltorIterator.Wrapped())
|
sl@0
|
4716 |
{
|
sl@0
|
4717 |
TInt i;
|
sl@0
|
4718 |
|
sl@0
|
4719 |
for (i = 0 ; i < KBufferSize-3; )
|
sl@0
|
4720 |
{
|
sl@0
|
4721 |
if (!ltorIterator.NextCharInto(aOldText, i))
|
sl@0
|
4722 |
break;
|
sl@0
|
4723 |
if (!arabnIterator.NextCharInto(aOldText, i))
|
sl@0
|
4724 |
break;
|
sl@0
|
4725 |
if (!euronIterator.NextCharInto(aOldText, i))
|
sl@0
|
4726 |
break;
|
sl@0
|
4727 |
if (!ltorIterator.NextCharInto(aOldText, i))
|
sl@0
|
4728 |
break;
|
sl@0
|
4729 |
}
|
sl@0
|
4730 |
aOldText.SetLength(i);
|
sl@0
|
4731 |
|
sl@0
|
4732 |
rretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaRToL, rText);
|
sl@0
|
4733 |
lretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaLToR, lText);
|
sl@0
|
4734 |
|
sl@0
|
4735 |
aTest->TEST(lretval == KErrNone);
|
sl@0
|
4736 |
aTest->TEST(rretval == KErrNone);
|
sl@0
|
4737 |
#ifdef PRINT_DATA
|
sl@0
|
4738 |
|
sl@0
|
4739 |
_LIT(KOTitle, "Original");
|
sl@0
|
4740 |
_LIT(KLTitle, "Left-to-Right");
|
sl@0
|
4741 |
_LIT(KRTitle, "Right-to-Left");
|
sl@0
|
4742 |
|
sl@0
|
4743 |
|
sl@0
|
4744 |
PrintTestData(KOTitle, aOldText);
|
sl@0
|
4745 |
PrintTestData(KLTitle, lText, KBufferSize);
|
sl@0
|
4746 |
PrintTestData(KRTitle, rText, KBufferSize);
|
sl@0
|
4747 |
|
sl@0
|
4748 |
#endif
|
sl@0
|
4749 |
|
sl@0
|
4750 |
aTest->TEST(TextInSameOrder(aOldText.Ptr(), lText, i));
|
sl@0
|
4751 |
aTest->TEST(TextInSameOrder(aOldText.Ptr(), rText, i));
|
sl@0
|
4752 |
|
sl@0
|
4753 |
|
sl@0
|
4754 |
DeleteText(aOldText.Ptr(), lText, aTest);
|
sl@0
|
4755 |
DeleteText(aOldText.Ptr(), rText, aTest);
|
sl@0
|
4756 |
|
sl@0
|
4757 |
aOldText.SetLength(oldTextLength);
|
sl@0
|
4758 |
}
|
sl@0
|
4759 |
}
|
sl@0
|
4760 |
|
sl@0
|
4761 |
/**
|
sl@0
|
4762 |
*
|
sl@0
|
4763 |
* Tests what happens when Arabic and European numbers are surrounded by Left To Right letters
|
sl@0
|
4764 |
*
|
sl@0
|
4765 |
* @param "TDes& aOldText"
|
sl@0
|
4766 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
4767 |
*
|
sl@0
|
4768 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
4769 |
* Pointer to the test object
|
sl@0
|
4770 |
*
|
sl@0
|
4771 |
*/
|
sl@0
|
4772 |
static void LToRThenENThenANThenLToRTest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
4773 |
{
|
sl@0
|
4774 |
TText* lText = 0;
|
sl@0
|
4775 |
TText* rText = 0;
|
sl@0
|
4776 |
TInt lretval = KErrNone;
|
sl@0
|
4777 |
TInt rretval = KErrNone;
|
sl@0
|
4778 |
TInt oldTextLength = aOldText.Length();
|
sl@0
|
4779 |
|
sl@0
|
4780 |
// Now mix in some numbers
|
sl@0
|
4781 |
TextIterator ltorIterator(KLeftToRight, KLeftToRightLength);
|
sl@0
|
4782 |
TextIterator euronIterator(KEuropeanNumber, KEuropeanNumberLength);
|
sl@0
|
4783 |
TextIterator arabnIterator(KArabicNumber, KArabicNumberLength);
|
sl@0
|
4784 |
|
sl@0
|
4785 |
aTest->TEST(aOldText.Length() >= KBufferSize);
|
sl@0
|
4786 |
|
sl@0
|
4787 |
while (!ltorIterator.Wrapped())
|
sl@0
|
4788 |
{
|
sl@0
|
4789 |
TInt i;
|
sl@0
|
4790 |
|
sl@0
|
4791 |
for (i = 0 ; i < KBufferSize-3; )
|
sl@0
|
4792 |
{
|
sl@0
|
4793 |
if (!ltorIterator.NextCharInto(aOldText, i))
|
sl@0
|
4794 |
break;
|
sl@0
|
4795 |
if (!arabnIterator.NextCharInto(aOldText, i))
|
sl@0
|
4796 |
break;
|
sl@0
|
4797 |
if (!euronIterator.NextCharInto(aOldText, i))
|
sl@0
|
4798 |
break;
|
sl@0
|
4799 |
if (!ltorIterator.NextCharInto(aOldText, i))
|
sl@0
|
4800 |
break;
|
sl@0
|
4801 |
}
|
sl@0
|
4802 |
aOldText.SetLength(i);
|
sl@0
|
4803 |
|
sl@0
|
4804 |
|
sl@0
|
4805 |
rretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaRToL, rText);
|
sl@0
|
4806 |
lretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaLToR, lText);
|
sl@0
|
4807 |
|
sl@0
|
4808 |
|
sl@0
|
4809 |
aTest->TEST(lretval == KErrNone);
|
sl@0
|
4810 |
aTest->TEST(rretval == KErrNone);
|
sl@0
|
4811 |
|
sl@0
|
4812 |
#ifdef PRINT_DATA
|
sl@0
|
4813 |
|
sl@0
|
4814 |
_LIT(KOTitle, "Original");
|
sl@0
|
4815 |
_LIT(KLTitle, "Left-to-Right");
|
sl@0
|
4816 |
_LIT(KRTitle, "Right-to-Left");
|
sl@0
|
4817 |
|
sl@0
|
4818 |
|
sl@0
|
4819 |
PrintTestData(KOTitle, aOldText);
|
sl@0
|
4820 |
PrintTestData(KLTitle, lText, KBufferSize);
|
sl@0
|
4821 |
PrintTestData(KRTitle, rText, KBufferSize);
|
sl@0
|
4822 |
|
sl@0
|
4823 |
#endif
|
sl@0
|
4824 |
aTest->TEST(TextInSameOrder(aOldText.Ptr(), lText, i));
|
sl@0
|
4825 |
aTest->TEST(TextInSameOrder(aOldText.Ptr(), rText, i));
|
sl@0
|
4826 |
|
sl@0
|
4827 |
DeleteText(aOldText.Ptr(), lText, aTest);
|
sl@0
|
4828 |
DeleteText(aOldText.Ptr(), rText, aTest);
|
sl@0
|
4829 |
|
sl@0
|
4830 |
aOldText.SetLength(oldTextLength);
|
sl@0
|
4831 |
}
|
sl@0
|
4832 |
}
|
sl@0
|
4833 |
|
sl@0
|
4834 |
/**
|
sl@0
|
4835 |
*
|
sl@0
|
4836 |
* Tests what happens when Arabic and European numbers are preceded by Left To Right
|
sl@0
|
4837 |
* and succeeded by Right To Left letters
|
sl@0
|
4838 |
*
|
sl@0
|
4839 |
* @param "TDes& aOldText"
|
sl@0
|
4840 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
4841 |
*
|
sl@0
|
4842 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
4843 |
* Pointer to the test object
|
sl@0
|
4844 |
*
|
sl@0
|
4845 |
*/
|
sl@0
|
4846 |
static void LToRThenANThenENThenRToLTest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
4847 |
{
|
sl@0
|
4848 |
TText* lText = 0;
|
sl@0
|
4849 |
TText* rText = 0;
|
sl@0
|
4850 |
TInt lretval = KErrNone;
|
sl@0
|
4851 |
TInt rretval = KErrNone;
|
sl@0
|
4852 |
TInt oldTextLength = aOldText.Length();
|
sl@0
|
4853 |
HBufC *rResult = HBufC::NewLC(KBufferSize);
|
sl@0
|
4854 |
|
sl@0
|
4855 |
// Now mix in some numbers
|
sl@0
|
4856 |
TextIterator ltorIterator(KLeftToRight, KLeftToRightLength);
|
sl@0
|
4857 |
TextIterator euronIterator(KEuropeanNumber, KEuropeanNumberLength);
|
sl@0
|
4858 |
TextIterator arabnIterator(KArabicNumber, KArabicNumberLength);
|
sl@0
|
4859 |
TextIterator rtolIterator(KRightToLeft, KRightToLeftLength);
|
sl@0
|
4860 |
|
sl@0
|
4861 |
aTest->TEST(aOldText.Length() >= KBufferSize);
|
sl@0
|
4862 |
|
sl@0
|
4863 |
while (!ltorIterator.Wrapped())
|
sl@0
|
4864 |
{
|
sl@0
|
4865 |
TInt i;
|
sl@0
|
4866 |
TInt lasti = 0;
|
sl@0
|
4867 |
TUint ch0, ch1, ch2, ch3;
|
sl@0
|
4868 |
for (i = 0 ; i < KBufferSize-3; )
|
sl@0
|
4869 |
{
|
sl@0
|
4870 |
if (!ltorIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch0))
|
sl@0
|
4871 |
break;
|
sl@0
|
4872 |
if (!arabnIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch1))
|
sl@0
|
4873 |
break;
|
sl@0
|
4874 |
if (!euronIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch2))
|
sl@0
|
4875 |
break;
|
sl@0
|
4876 |
if (!rtolIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch3))
|
sl@0
|
4877 |
break;
|
sl@0
|
4878 |
lasti = i;
|
sl@0
|
4879 |
AppendCharacter(rResult, ch2);
|
sl@0
|
4880 |
AppendCharacter(rResult, ch1);
|
sl@0
|
4881 |
AppendCharacter(rResult, ch0);
|
sl@0
|
4882 |
AppendCharacter(rResult, ch3);
|
sl@0
|
4883 |
}
|
sl@0
|
4884 |
i = lasti;
|
sl@0
|
4885 |
aOldText.SetLength(i);
|
sl@0
|
4886 |
ASSERT(rResult->Des().Length() == i);
|
sl@0
|
4887 |
|
sl@0
|
4888 |
rretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaRToL, rText);
|
sl@0
|
4889 |
lretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaLToR, lText);
|
sl@0
|
4890 |
|
sl@0
|
4891 |
aTest->TEST(lretval == KErrNone);
|
sl@0
|
4892 |
aTest->TEST(rretval == KErrNone);
|
sl@0
|
4893 |
|
sl@0
|
4894 |
#ifdef PRINT_DATA
|
sl@0
|
4895 |
|
sl@0
|
4896 |
_LIT(KOTitle, "Original");
|
sl@0
|
4897 |
_LIT(KLTitle, "Left-to-Right");
|
sl@0
|
4898 |
_LIT(KRTitle, "Right-to-Left");
|
sl@0
|
4899 |
|
sl@0
|
4900 |
|
sl@0
|
4901 |
PrintTestData(KOTitle, aOldText);
|
sl@0
|
4902 |
PrintTestData(KLTitle, lText, KBufferSize);
|
sl@0
|
4903 |
PrintTestData(KRTitle, rText, KBufferSize);
|
sl@0
|
4904 |
|
sl@0
|
4905 |
#endif
|
sl@0
|
4906 |
aTest->TEST(TextInSameOrder(aOldText.Ptr(), lText, i));
|
sl@0
|
4907 |
aTest->TEST(TextInReverseOrder(rResult->Ptr(), rText, i, aTest));
|
sl@0
|
4908 |
|
sl@0
|
4909 |
DeleteText(aOldText.Ptr(), lText, aTest);
|
sl@0
|
4910 |
DeleteText(aOldText.Ptr(), rText, aTest);
|
sl@0
|
4911 |
|
sl@0
|
4912 |
aOldText.SetLength(oldTextLength);
|
sl@0
|
4913 |
rResult->Des().SetLength(0);
|
sl@0
|
4914 |
}
|
sl@0
|
4915 |
CleanupStack::PopAndDestroy(rResult);
|
sl@0
|
4916 |
}
|
sl@0
|
4917 |
|
sl@0
|
4918 |
/**
|
sl@0
|
4919 |
*
|
sl@0
|
4920 |
* Tests what happens when Arabic and European numbers are preceded by Left To Right
|
sl@0
|
4921 |
* and succeeded by Right To Left letters
|
sl@0
|
4922 |
*
|
sl@0
|
4923 |
* @param "TDes& aOldText"
|
sl@0
|
4924 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
4925 |
*
|
sl@0
|
4926 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
4927 |
* Pointer to the test object
|
sl@0
|
4928 |
*
|
sl@0
|
4929 |
*/
|
sl@0
|
4930 |
static void LToRThenENThenANThenRToLTest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
4931 |
{
|
sl@0
|
4932 |
TText* lText = 0;
|
sl@0
|
4933 |
TText* rText = 0;
|
sl@0
|
4934 |
TInt lretval = KErrNone;
|
sl@0
|
4935 |
TInt rretval = KErrNone;
|
sl@0
|
4936 |
TInt oldTextLength = aOldText.Length();
|
sl@0
|
4937 |
HBufC *lResult = HBufC::NewLC(KBufferSize);
|
sl@0
|
4938 |
HBufC *rResult = HBufC::NewLC(KBufferSize);
|
sl@0
|
4939 |
|
sl@0
|
4940 |
// Now mix in some numbers
|
sl@0
|
4941 |
TextIterator ltorIterator(KLeftToRight, KLeftToRightLength);
|
sl@0
|
4942 |
TextIterator euronIterator(KEuropeanNumber, KEuropeanNumberLength);
|
sl@0
|
4943 |
TextIterator arabnIterator(KArabicNumber, KArabicNumberLength);
|
sl@0
|
4944 |
TextIterator rtolIterator(KRightToLeft, KRightToLeftLength);
|
sl@0
|
4945 |
|
sl@0
|
4946 |
while (!ltorIterator.Wrapped())
|
sl@0
|
4947 |
{
|
sl@0
|
4948 |
TInt i;
|
sl@0
|
4949 |
TInt lasti = 0;
|
sl@0
|
4950 |
TUint ch0, ch1, ch2, ch3;
|
sl@0
|
4951 |
for (i = 0 ; i < KBufferSize-3; )
|
sl@0
|
4952 |
{
|
sl@0
|
4953 |
if (!ltorIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch0))
|
sl@0
|
4954 |
break;
|
sl@0
|
4955 |
if (!euronIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch1))
|
sl@0
|
4956 |
break;
|
sl@0
|
4957 |
if (!arabnIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch2))
|
sl@0
|
4958 |
break;
|
sl@0
|
4959 |
if (!rtolIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch3))
|
sl@0
|
4960 |
break;
|
sl@0
|
4961 |
|
sl@0
|
4962 |
lasti = i;
|
sl@0
|
4963 |
AppendCharacter(lResult, ch0);
|
sl@0
|
4964 |
AppendCharacter(lResult, ch1);
|
sl@0
|
4965 |
AppendCharacter(lResult, ch3);
|
sl@0
|
4966 |
AppendCharacter(lResult, ch2);
|
sl@0
|
4967 |
|
sl@0
|
4968 |
AppendCharacter(rResult, ch2);
|
sl@0
|
4969 |
AppendCharacter(rResult, ch1);
|
sl@0
|
4970 |
AppendCharacter(rResult, ch0);
|
sl@0
|
4971 |
AppendCharacter(rResult, ch3);
|
sl@0
|
4972 |
}
|
sl@0
|
4973 |
i = lasti;
|
sl@0
|
4974 |
aOldText.SetLength(i);
|
sl@0
|
4975 |
ASSERT(lResult->Des().Length() == i);
|
sl@0
|
4976 |
ASSERT(rResult->Des().Length() == i);
|
sl@0
|
4977 |
|
sl@0
|
4978 |
rretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaRToL, rText);
|
sl@0
|
4979 |
lretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaLToR, lText);
|
sl@0
|
4980 |
aTest->TEST(lretval == KErrNone);
|
sl@0
|
4981 |
aTest->TEST(rretval == KErrNone);
|
sl@0
|
4982 |
|
sl@0
|
4983 |
#ifdef PRINT_DATA
|
sl@0
|
4984 |
|
sl@0
|
4985 |
_LIT(KOTitle, "Original");
|
sl@0
|
4986 |
_LIT(KLTitle, "Left-to-Right");
|
sl@0
|
4987 |
_LIT(KRTitle, "Right-to-Left");
|
sl@0
|
4988 |
|
sl@0
|
4989 |
|
sl@0
|
4990 |
PrintTestData(KOTitle, aOldText);
|
sl@0
|
4991 |
PrintTestData(KLTitle, lText, KBufferSize);
|
sl@0
|
4992 |
PrintTestData(KRTitle, rText, KBufferSize);
|
sl@0
|
4993 |
|
sl@0
|
4994 |
#endif
|
sl@0
|
4995 |
aTest->TEST(TextInSameOrder(lResult->Ptr(), lText, i));
|
sl@0
|
4996 |
aTest->TEST(TextInReverseOrder(rResult->Ptr(), rText, i, aTest));
|
sl@0
|
4997 |
|
sl@0
|
4998 |
DeleteText(aOldText.Ptr(), lText, aTest);
|
sl@0
|
4999 |
DeleteText(aOldText.Ptr(), rText, aTest);
|
sl@0
|
5000 |
aOldText.SetLength(oldTextLength);
|
sl@0
|
5001 |
lResult->Des().SetLength(0);
|
sl@0
|
5002 |
rResult->Des().SetLength(0);
|
sl@0
|
5003 |
}
|
sl@0
|
5004 |
CleanupStack::PopAndDestroy(rResult);
|
sl@0
|
5005 |
CleanupStack::PopAndDestroy(lResult);
|
sl@0
|
5006 |
}
|
sl@0
|
5007 |
/**
|
sl@0
|
5008 |
*
|
sl@0
|
5009 |
* Tests what happens when Arabic and European numbers are preceded by Left To Right
|
sl@0
|
5010 |
* and succeeded by Right To Left Arabic letters
|
sl@0
|
5011 |
*
|
sl@0
|
5012 |
* @param "TDes& aOldText"
|
sl@0
|
5013 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
5014 |
*
|
sl@0
|
5015 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
5016 |
* Pointer to the test object
|
sl@0
|
5017 |
*
|
sl@0
|
5018 |
*/
|
sl@0
|
5019 |
static void LToRThenANThenENThenRToLATest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
5020 |
{
|
sl@0
|
5021 |
TText* lText = 0;
|
sl@0
|
5022 |
TText* rText = 0;
|
sl@0
|
5023 |
TInt lretval = KErrNone;
|
sl@0
|
5024 |
TInt rretval = KErrNone;
|
sl@0
|
5025 |
TInt oldTextLength = aOldText.Length();
|
sl@0
|
5026 |
HBufC *rResult = HBufC::NewLC(KBufferSize);
|
sl@0
|
5027 |
|
sl@0
|
5028 |
// Now mix in some numbers
|
sl@0
|
5029 |
TextIterator ltorIterator(KLeftToRight, KLeftToRightLength);
|
sl@0
|
5030 |
TextIterator euronIterator(KEuropeanNumber, KEuropeanNumberLength);
|
sl@0
|
5031 |
TextIterator arabnIterator(KArabicNumber, KArabicNumberLength);
|
sl@0
|
5032 |
TextIterator rtolIterator(KRightToLeftArabic, KRightToLeftArabicLength);
|
sl@0
|
5033 |
|
sl@0
|
5034 |
aTest->TEST(aOldText.Length() >= KBufferSize);
|
sl@0
|
5035 |
|
sl@0
|
5036 |
while (!ltorIterator.Wrapped())
|
sl@0
|
5037 |
{
|
sl@0
|
5038 |
TInt i;
|
sl@0
|
5039 |
TInt lasti = 0;
|
sl@0
|
5040 |
TUint ch0, ch1, ch2, ch3;
|
sl@0
|
5041 |
|
sl@0
|
5042 |
for (i = 0 ; i < KBufferSize-3; )
|
sl@0
|
5043 |
{
|
sl@0
|
5044 |
if (!ltorIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch0))
|
sl@0
|
5045 |
break;
|
sl@0
|
5046 |
if (!arabnIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch1))
|
sl@0
|
5047 |
break;
|
sl@0
|
5048 |
if (!euronIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch2))
|
sl@0
|
5049 |
break;
|
sl@0
|
5050 |
if (!rtolIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch3))
|
sl@0
|
5051 |
break;
|
sl@0
|
5052 |
|
sl@0
|
5053 |
lasti = i;
|
sl@0
|
5054 |
AppendCharacter(rResult, ch2);
|
sl@0
|
5055 |
AppendCharacter(rResult, ch1);
|
sl@0
|
5056 |
AppendCharacter(rResult, ch0);
|
sl@0
|
5057 |
AppendCharacter(rResult, ch3);
|
sl@0
|
5058 |
}
|
sl@0
|
5059 |
i = lasti;
|
sl@0
|
5060 |
aOldText.SetLength(i);
|
sl@0
|
5061 |
ASSERT(rResult->Des().Length() == i);
|
sl@0
|
5062 |
|
sl@0
|
5063 |
|
sl@0
|
5064 |
rretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaRToL, rText);
|
sl@0
|
5065 |
lretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaLToR, lText);
|
sl@0
|
5066 |
|
sl@0
|
5067 |
aTest->TEST(lretval == KErrNone);
|
sl@0
|
5068 |
aTest->TEST(rretval == KErrNone);
|
sl@0
|
5069 |
|
sl@0
|
5070 |
#ifdef PRINT_DATA
|
sl@0
|
5071 |
|
sl@0
|
5072 |
_LIT(KOTitleT, "Original (Top)");
|
sl@0
|
5073 |
_LIT(KLTitleT, "Left-to-Right (Top)");
|
sl@0
|
5074 |
_LIT(KRTitleT, "Right-to-Left (Top)");
|
sl@0
|
5075 |
_LIT(KOTitleB, "Original (Bottom)");
|
sl@0
|
5076 |
_LIT(KLTitleB, "Left-to-Right (Bottom)");
|
sl@0
|
5077 |
_LIT(KRTitleB, "Right-to-Left (Bottom)");
|
sl@0
|
5078 |
|
sl@0
|
5079 |
|
sl@0
|
5080 |
PrintTestData(KOTitleT, aOldText.Ptr(), 32);
|
sl@0
|
5081 |
PrintTestData(KOTitleB, aOldText.Ptr()+KBufferSize-32, 32);
|
sl@0
|
5082 |
|
sl@0
|
5083 |
PrintTestData(KLTitleT, lText, 32);
|
sl@0
|
5084 |
PrintTestData(KLTitleB, lText+KBufferSize-32, 32);
|
sl@0
|
5085 |
|
sl@0
|
5086 |
PrintTestData(KRTitleT, rText, 32);
|
sl@0
|
5087 |
PrintTestData(KRTitleB, rText+KBufferSize-32, 32);
|
sl@0
|
5088 |
|
sl@0
|
5089 |
#endif
|
sl@0
|
5090 |
aTest->TEST(TextInSameOrder(aOldText.Ptr(), lText, i));
|
sl@0
|
5091 |
aTest->TEST(TextInReverseOrder(rResult->Ptr(), rText, i, aTest));
|
sl@0
|
5092 |
|
sl@0
|
5093 |
DeleteText(aOldText.Ptr(), lText, aTest);
|
sl@0
|
5094 |
DeleteText(aOldText.Ptr(), rText, aTest);
|
sl@0
|
5095 |
|
sl@0
|
5096 |
aOldText.SetLength(oldTextLength);
|
sl@0
|
5097 |
rResult->Des().SetLength(0);
|
sl@0
|
5098 |
}
|
sl@0
|
5099 |
CleanupStack::PopAndDestroy(rResult);
|
sl@0
|
5100 |
}
|
sl@0
|
5101 |
/**
|
sl@0
|
5102 |
*
|
sl@0
|
5103 |
* Tests what happens when Arabic and European numbers are preceded by Left To Right
|
sl@0
|
5104 |
* and succeeded by Right To Left Arabic letters
|
sl@0
|
5105 |
*
|
sl@0
|
5106 |
* @param "TDes& aOldText"
|
sl@0
|
5107 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
5108 |
*
|
sl@0
|
5109 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
5110 |
* Pointer to the test object
|
sl@0
|
5111 |
*
|
sl@0
|
5112 |
*/
|
sl@0
|
5113 |
static void LToRThenENThenANThenRToLATest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
5114 |
{
|
sl@0
|
5115 |
TText* lText = 0;
|
sl@0
|
5116 |
TText* rText = 0;
|
sl@0
|
5117 |
TInt lretval = KErrNone;
|
sl@0
|
5118 |
TInt rretval = KErrNone;
|
sl@0
|
5119 |
TInt oldTextLength = aOldText.Length();
|
sl@0
|
5120 |
HBufC *lResult = HBufC::NewLC(KBufferSize);
|
sl@0
|
5121 |
HBufC *rResult = HBufC::NewLC(KBufferSize);
|
sl@0
|
5122 |
|
sl@0
|
5123 |
// Now mix in some numbers
|
sl@0
|
5124 |
TextIterator ltorIterator(KLeftToRight, KLeftToRightLength);
|
sl@0
|
5125 |
TextIterator euronIterator(KEuropeanNumber, KEuropeanNumberLength);
|
sl@0
|
5126 |
TextIterator arabnIterator(KArabicNumber, KArabicNumberLength);
|
sl@0
|
5127 |
TextIterator rtolIterator(KRightToLeftArabic, KRightToLeftArabicLength);
|
sl@0
|
5128 |
|
sl@0
|
5129 |
while (!ltorIterator.Wrapped())
|
sl@0
|
5130 |
{
|
sl@0
|
5131 |
TInt i;
|
sl@0
|
5132 |
TInt lasti = 0;
|
sl@0
|
5133 |
TUint ch0, ch1, ch2, ch3;
|
sl@0
|
5134 |
for (i = 0 ; i < KBufferSize-3; )
|
sl@0
|
5135 |
{
|
sl@0
|
5136 |
if (!ltorIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch0))
|
sl@0
|
5137 |
break;
|
sl@0
|
5138 |
if (!euronIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch1))
|
sl@0
|
5139 |
break;
|
sl@0
|
5140 |
if (!arabnIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch2))
|
sl@0
|
5141 |
break;
|
sl@0
|
5142 |
if (!rtolIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch3))
|
sl@0
|
5143 |
break;
|
sl@0
|
5144 |
|
sl@0
|
5145 |
lasti = i;
|
sl@0
|
5146 |
AppendCharacter(lResult, ch0);
|
sl@0
|
5147 |
AppendCharacter(lResult, ch1);
|
sl@0
|
5148 |
AppendCharacter(lResult, ch3);
|
sl@0
|
5149 |
AppendCharacter(lResult, ch2);
|
sl@0
|
5150 |
|
sl@0
|
5151 |
AppendCharacter(rResult, ch2);
|
sl@0
|
5152 |
AppendCharacter(rResult, ch1);
|
sl@0
|
5153 |
AppendCharacter(rResult, ch0);
|
sl@0
|
5154 |
AppendCharacter(rResult, ch3);
|
sl@0
|
5155 |
}
|
sl@0
|
5156 |
i = lasti;
|
sl@0
|
5157 |
aOldText.SetLength(i);
|
sl@0
|
5158 |
ASSERT(lResult->Des().Length() == i);
|
sl@0
|
5159 |
ASSERT(rResult->Des().Length() == i);
|
sl@0
|
5160 |
|
sl@0
|
5161 |
rretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaRToL, rText);
|
sl@0
|
5162 |
lretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaLToR, lText);
|
sl@0
|
5163 |
|
sl@0
|
5164 |
aTest->TEST(lretval == KErrNone);
|
sl@0
|
5165 |
aTest->TEST(rretval == KErrNone);
|
sl@0
|
5166 |
|
sl@0
|
5167 |
#ifdef PRINT_DATA
|
sl@0
|
5168 |
_LIT(KOTitleT, "Original (Top)");
|
sl@0
|
5169 |
_LIT(KLTitleT, "Left-to-Right (Top)");
|
sl@0
|
5170 |
_LIT(KRTitleT, "Right-to-Left (Top)");
|
sl@0
|
5171 |
_LIT(KOTitleB, "Original (Bottom)");
|
sl@0
|
5172 |
_LIT(KLTitleB, "Left-to-Right (Bottom)");
|
sl@0
|
5173 |
_LIT(KRTitleB, "Right-to-Left (Bottom)");
|
sl@0
|
5174 |
|
sl@0
|
5175 |
|
sl@0
|
5176 |
PrintTestData(KOTitleT, aOldText.Ptr(), 32);
|
sl@0
|
5177 |
PrintTestData(KOTitleB, aOldText.Ptr()+KBufferSize-32, 32);
|
sl@0
|
5178 |
|
sl@0
|
5179 |
PrintTestData(KLTitleT, lText, 32);
|
sl@0
|
5180 |
PrintTestData(KLTitleB, lText+KBufferSize-32, 32);
|
sl@0
|
5181 |
|
sl@0
|
5182 |
PrintTestData(KRTitleT, rText, 32);
|
sl@0
|
5183 |
PrintTestData(KRTitleB, rText+KBufferSize-32, 32);
|
sl@0
|
5184 |
|
sl@0
|
5185 |
#endif
|
sl@0
|
5186 |
aTest->TEST(TextInSameOrder(lResult->Ptr(), lText, i));
|
sl@0
|
5187 |
aTest->TEST(TextInReverseOrder(rResult->Ptr(), rText, i, aTest));
|
sl@0
|
5188 |
|
sl@0
|
5189 |
DeleteText(aOldText.Ptr(), lText, aTest);
|
sl@0
|
5190 |
DeleteText(aOldText.Ptr(), rText, aTest);
|
sl@0
|
5191 |
|
sl@0
|
5192 |
aOldText.SetLength(oldTextLength);
|
sl@0
|
5193 |
lResult->Des().SetLength(0);
|
sl@0
|
5194 |
rResult->Des().SetLength(0);
|
sl@0
|
5195 |
}
|
sl@0
|
5196 |
CleanupStack::PopAndDestroy(rResult);
|
sl@0
|
5197 |
CleanupStack::PopAndDestroy(lResult);
|
sl@0
|
5198 |
}
|
sl@0
|
5199 |
/**
|
sl@0
|
5200 |
*
|
sl@0
|
5201 |
* Tests what happens when Arabic and European numbers are preceded by Right to Left
|
sl@0
|
5202 |
* and succeeded by Left To Right letters
|
sl@0
|
5203 |
*
|
sl@0
|
5204 |
* @param "TDes& aOldText"
|
sl@0
|
5205 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
5206 |
*
|
sl@0
|
5207 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
5208 |
* Pointer to the test object
|
sl@0
|
5209 |
*
|
sl@0
|
5210 |
*/
|
sl@0
|
5211 |
static void RToLThenANThenENThenLToRTest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
5212 |
{
|
sl@0
|
5213 |
TText* lText = 0;
|
sl@0
|
5214 |
TText* rText = 0;
|
sl@0
|
5215 |
TInt lretval = KErrNone;
|
sl@0
|
5216 |
TInt rretval = KErrNone;
|
sl@0
|
5217 |
TInt oldTextLength = aOldText.Length();
|
sl@0
|
5218 |
HBufC *lResult = HBufC::NewLC(KBufferSize);
|
sl@0
|
5219 |
HBufC *rResult = HBufC::NewLC(KBufferSize);
|
sl@0
|
5220 |
|
sl@0
|
5221 |
aTest->INFO_PRINTF1(_L("TBidirectionalState test - R-L AN EN L-R test\r\n"));
|
sl@0
|
5222 |
|
sl@0
|
5223 |
// Now mix in some numbers
|
sl@0
|
5224 |
TextIterator rtolIterator(KRightToLeft, KRightToLeftLength);
|
sl@0
|
5225 |
TextIterator euronIterator(KEuropeanNumber, KEuropeanNumberLength);
|
sl@0
|
5226 |
TextIterator arabnIterator(KArabicNumber, KArabicNumberLength);
|
sl@0
|
5227 |
TextIterator ltorIterator(KLeftToRight, KLeftToRightLength);
|
sl@0
|
5228 |
|
sl@0
|
5229 |
while (!ltorIterator.Wrapped())
|
sl@0
|
5230 |
{
|
sl@0
|
5231 |
TInt i;
|
sl@0
|
5232 |
TInt lasti = 0;
|
sl@0
|
5233 |
TUint ch0, ch1, ch2, ch3;
|
sl@0
|
5234 |
for (i = 0 ; i < KBufferSize-3; )
|
sl@0
|
5235 |
{
|
sl@0
|
5236 |
if (!rtolIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch0))
|
sl@0
|
5237 |
break;
|
sl@0
|
5238 |
if (!arabnIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch1))
|
sl@0
|
5239 |
break;
|
sl@0
|
5240 |
if (!euronIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch2))
|
sl@0
|
5241 |
break;
|
sl@0
|
5242 |
if (!ltorIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch3))
|
sl@0
|
5243 |
break;
|
sl@0
|
5244 |
|
sl@0
|
5245 |
lasti = i;
|
sl@0
|
5246 |
AppendCharacter(lResult, ch1);
|
sl@0
|
5247 |
AppendCharacter(lResult, ch2);
|
sl@0
|
5248 |
AppendCharacter(lResult, ch0);
|
sl@0
|
5249 |
AppendCharacter(lResult, ch3);
|
sl@0
|
5250 |
|
sl@0
|
5251 |
AppendCharacter(rResult, ch0);
|
sl@0
|
5252 |
AppendCharacter(rResult, ch3);
|
sl@0
|
5253 |
AppendCharacter(rResult, ch2);
|
sl@0
|
5254 |
AppendCharacter(rResult, ch1);
|
sl@0
|
5255 |
}
|
sl@0
|
5256 |
i = lasti;
|
sl@0
|
5257 |
aOldText.SetLength(i);
|
sl@0
|
5258 |
ASSERT(lResult->Des().Length() == i);
|
sl@0
|
5259 |
ASSERT(rResult->Des().Length() == i);
|
sl@0
|
5260 |
|
sl@0
|
5261 |
rretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaRToL, rText);
|
sl@0
|
5262 |
lretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaLToR, lText);
|
sl@0
|
5263 |
aTest->TEST(lretval == KErrNone);
|
sl@0
|
5264 |
aTest->TEST(rretval == KErrNone);
|
sl@0
|
5265 |
#ifdef PRINT_DATA
|
sl@0
|
5266 |
_LIT(KOTitleT, "Original (Top)");
|
sl@0
|
5267 |
_LIT(KLTitleT, "Left-to-Right (Top)");
|
sl@0
|
5268 |
_LIT(KRTitleT, "Right-to-Left (Top)");
|
sl@0
|
5269 |
_LIT(KOTitleB, "Original (Bottom)");
|
sl@0
|
5270 |
_LIT(KLTitleB, "Left-to-Right (Bottom)");
|
sl@0
|
5271 |
_LIT(KRTitleB, "Right-to-Left (Bottom)");
|
sl@0
|
5272 |
|
sl@0
|
5273 |
|
sl@0
|
5274 |
PrintTestData(KOTitleT, aOldText.Ptr(), 32);
|
sl@0
|
5275 |
PrintTestData(KOTitleB, aOldText.Ptr()+KBufferSize-32, 32);
|
sl@0
|
5276 |
|
sl@0
|
5277 |
PrintTestData(KLTitleT, lText, 32);
|
sl@0
|
5278 |
PrintTestData(KLTitleB, lText+KBufferSize-32, 32);
|
sl@0
|
5279 |
|
sl@0
|
5280 |
PrintTestData(KRTitleT, rText, 32);
|
sl@0
|
5281 |
PrintTestData(KRTitleB, rText+KBufferSize-32, 32);
|
sl@0
|
5282 |
|
sl@0
|
5283 |
#endif
|
sl@0
|
5284 |
|
sl@0
|
5285 |
aTest->TEST(TextInSameOrder(lResult->Ptr(), lText, i));
|
sl@0
|
5286 |
aTest->TEST(TextInReverseOrder(rResult->Ptr(), rText, i, aTest));
|
sl@0
|
5287 |
|
sl@0
|
5288 |
DeleteText(aOldText.Ptr(), lText, aTest);
|
sl@0
|
5289 |
DeleteText(aOldText.Ptr(), rText, aTest);
|
sl@0
|
5290 |
|
sl@0
|
5291 |
aOldText.SetLength(oldTextLength);
|
sl@0
|
5292 |
lResult->Des().SetLength(0);
|
sl@0
|
5293 |
rResult->Des().SetLength(0);
|
sl@0
|
5294 |
}
|
sl@0
|
5295 |
CleanupStack::PopAndDestroy(rResult);
|
sl@0
|
5296 |
CleanupStack::PopAndDestroy(lResult);
|
sl@0
|
5297 |
}
|
sl@0
|
5298 |
|
sl@0
|
5299 |
/**
|
sl@0
|
5300 |
*
|
sl@0
|
5301 |
* Tests what happens when Arabic and European numbers are preceded by Right to Left
|
sl@0
|
5302 |
* and succeeded by Left To Right letters
|
sl@0
|
5303 |
*
|
sl@0
|
5304 |
* @param "TDes& aOldText"
|
sl@0
|
5305 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
5306 |
*
|
sl@0
|
5307 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
5308 |
* Pointer to the test object
|
sl@0
|
5309 |
*
|
sl@0
|
5310 |
*/
|
sl@0
|
5311 |
static void RToLThenENThenANThenLToRTest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
5312 |
{
|
sl@0
|
5313 |
TText* lText = 0;
|
sl@0
|
5314 |
TText* rText = 0;
|
sl@0
|
5315 |
TInt lretval = KErrNone;
|
sl@0
|
5316 |
TInt rretval = KErrNone;
|
sl@0
|
5317 |
TInt oldTextLength = aOldText.Length();
|
sl@0
|
5318 |
HBufC *lResult = HBufC::NewLC(KBufferSize);
|
sl@0
|
5319 |
HBufC *rResult = HBufC::NewLC(KBufferSize);
|
sl@0
|
5320 |
|
sl@0
|
5321 |
aTest->INFO_PRINTF1(_L("TBidirectionalState test - R-L EN AN L-R test\r\n"));
|
sl@0
|
5322 |
|
sl@0
|
5323 |
// Now mix in some numbers
|
sl@0
|
5324 |
TextIterator rtolIterator(KRightToLeft, KRightToLeftLength);
|
sl@0
|
5325 |
TextIterator euronIterator(KEuropeanNumber, KEuropeanNumberLength);
|
sl@0
|
5326 |
TextIterator arabnIterator(KArabicNumber, KArabicNumberLength);
|
sl@0
|
5327 |
TextIterator ltorIterator(KLeftToRight, KLeftToRightLength);
|
sl@0
|
5328 |
|
sl@0
|
5329 |
while (!ltorIterator.Wrapped())
|
sl@0
|
5330 |
{
|
sl@0
|
5331 |
TInt i;
|
sl@0
|
5332 |
TInt lasti = 0;
|
sl@0
|
5333 |
TUint ch0, ch1, ch2, ch3;
|
sl@0
|
5334 |
for (i = 0 ; i < KBufferSize-3; )
|
sl@0
|
5335 |
{
|
sl@0
|
5336 |
if (!rtolIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch0))
|
sl@0
|
5337 |
break;
|
sl@0
|
5338 |
if (!euronIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch1))
|
sl@0
|
5339 |
break;
|
sl@0
|
5340 |
if (!arabnIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch2))
|
sl@0
|
5341 |
break;
|
sl@0
|
5342 |
if (!ltorIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch3))
|
sl@0
|
5343 |
break;
|
sl@0
|
5344 |
|
sl@0
|
5345 |
lasti = i;
|
sl@0
|
5346 |
AppendCharacter(lResult, ch1);
|
sl@0
|
5347 |
AppendCharacter(lResult, ch2);
|
sl@0
|
5348 |
AppendCharacter(lResult, ch0);
|
sl@0
|
5349 |
AppendCharacter(lResult, ch3);
|
sl@0
|
5350 |
|
sl@0
|
5351 |
AppendCharacter(rResult, ch0);
|
sl@0
|
5352 |
AppendCharacter(rResult, ch3);
|
sl@0
|
5353 |
AppendCharacter(rResult, ch2);
|
sl@0
|
5354 |
AppendCharacter(rResult, ch1);
|
sl@0
|
5355 |
}
|
sl@0
|
5356 |
i = lasti;
|
sl@0
|
5357 |
aOldText.SetLength(i);
|
sl@0
|
5358 |
ASSERT(lResult->Des().Length() == i);
|
sl@0
|
5359 |
ASSERT(rResult->Des().Length() == i);
|
sl@0
|
5360 |
|
sl@0
|
5361 |
|
sl@0
|
5362 |
rretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaRToL, rText);
|
sl@0
|
5363 |
lretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaLToR, lText);
|
sl@0
|
5364 |
|
sl@0
|
5365 |
aTest->TEST(lretval == KErrNone);
|
sl@0
|
5366 |
aTest->TEST(rretval == KErrNone);
|
sl@0
|
5367 |
#ifdef PRINT_DATA
|
sl@0
|
5368 |
_LIT(KOTitleT, "Original (Top)");
|
sl@0
|
5369 |
_LIT(KLTitleT, "Left-to-Right (Top)");
|
sl@0
|
5370 |
_LIT(KRTitleT, "Right-to-Left (Top)");
|
sl@0
|
5371 |
_LIT(KOTitleB, "Original (Bottom)");
|
sl@0
|
5372 |
_LIT(KLTitleB, "Left-to-Right (Bottom)");
|
sl@0
|
5373 |
_LIT(KRTitleB, "Right-to-Left (Bottom)");
|
sl@0
|
5374 |
|
sl@0
|
5375 |
|
sl@0
|
5376 |
PrintTestData(KOTitleT, aOldText.Ptr(), 32);
|
sl@0
|
5377 |
PrintTestData(KOTitleB, aOldText.Ptr()+KBufferSize-32, 32);
|
sl@0
|
5378 |
|
sl@0
|
5379 |
PrintTestData(KLTitleT, lText, 32);
|
sl@0
|
5380 |
PrintTestData(KLTitleB, lText+KBufferSize-32, 32);
|
sl@0
|
5381 |
|
sl@0
|
5382 |
PrintTestData(KRTitleT, rText, 32);
|
sl@0
|
5383 |
PrintTestData(KRTitleB, rText+KBufferSize-32, 32);
|
sl@0
|
5384 |
|
sl@0
|
5385 |
#endif
|
sl@0
|
5386 |
|
sl@0
|
5387 |
aTest->TEST(TextInSameOrder(lResult->Ptr(), lText, i));
|
sl@0
|
5388 |
aTest->TEST(TextInReverseOrder(rResult->Ptr(), rText, i, aTest));
|
sl@0
|
5389 |
|
sl@0
|
5390 |
DeleteText(aOldText.Ptr(), lText, aTest);
|
sl@0
|
5391 |
DeleteText(aOldText.Ptr(), rText, aTest);
|
sl@0
|
5392 |
|
sl@0
|
5393 |
aOldText.SetLength(oldTextLength);
|
sl@0
|
5394 |
lResult->Des().SetLength(0);
|
sl@0
|
5395 |
rResult->Des().SetLength(0);
|
sl@0
|
5396 |
}
|
sl@0
|
5397 |
CleanupStack::PopAndDestroy(rResult);
|
sl@0
|
5398 |
CleanupStack::PopAndDestroy(lResult);
|
sl@0
|
5399 |
}
|
sl@0
|
5400 |
/**
|
sl@0
|
5401 |
*
|
sl@0
|
5402 |
* Tests what happens when Arabic and European numbers are preceded by Right to Left Arabic
|
sl@0
|
5403 |
* and succeeded by Left To Right letters
|
sl@0
|
5404 |
*
|
sl@0
|
5405 |
* @param "TDes& aOldText"
|
sl@0
|
5406 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
5407 |
*
|
sl@0
|
5408 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
5409 |
* Pointer to the test object
|
sl@0
|
5410 |
*
|
sl@0
|
5411 |
*/
|
sl@0
|
5412 |
static void RToLAThenANThenENThenLToRTest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
5413 |
{
|
sl@0
|
5414 |
TText* lText = 0;
|
sl@0
|
5415 |
TText* rText = 0;
|
sl@0
|
5416 |
TInt lretval = KErrNone;
|
sl@0
|
5417 |
TInt rretval = KErrNone;
|
sl@0
|
5418 |
TInt oldTextLength = aOldText.Length();
|
sl@0
|
5419 |
HBufC *lResult = HBufC::NewLC(KBufferSize);
|
sl@0
|
5420 |
HBufC *rResult = HBufC::NewLC(KBufferSize);
|
sl@0
|
5421 |
|
sl@0
|
5422 |
aTest->INFO_PRINTF1(_L("TBidirectionalState test - R-LA AN EN L-R test\r\n"));
|
sl@0
|
5423 |
|
sl@0
|
5424 |
// Now mix in some numbers
|
sl@0
|
5425 |
TextIterator rtolIterator(KRightToLeftArabic, KRightToLeftArabicLength);
|
sl@0
|
5426 |
TextIterator euronIterator(KEuropeanNumber, KEuropeanNumberLength);
|
sl@0
|
5427 |
TextIterator arabnIterator(KArabicNumber, KArabicNumberLength);
|
sl@0
|
5428 |
TextIterator ltorIterator(KLeftToRight, KLeftToRightLength);
|
sl@0
|
5429 |
|
sl@0
|
5430 |
while (!ltorIterator.Wrapped())
|
sl@0
|
5431 |
{
|
sl@0
|
5432 |
TInt i;
|
sl@0
|
5433 |
TInt lasti = 0;
|
sl@0
|
5434 |
TUint ch0, ch1, ch2, ch3;
|
sl@0
|
5435 |
for (i = 0 ; i < KBufferSize-3; )
|
sl@0
|
5436 |
{
|
sl@0
|
5437 |
if (!rtolIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch0))
|
sl@0
|
5438 |
break;
|
sl@0
|
5439 |
if (!arabnIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch1))
|
sl@0
|
5440 |
break;
|
sl@0
|
5441 |
if (!euronIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch2))
|
sl@0
|
5442 |
break;
|
sl@0
|
5443 |
if (!ltorIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch3))
|
sl@0
|
5444 |
break;
|
sl@0
|
5445 |
|
sl@0
|
5446 |
lasti = i;
|
sl@0
|
5447 |
AppendCharacter(lResult, ch1);
|
sl@0
|
5448 |
AppendCharacter(lResult, ch2);
|
sl@0
|
5449 |
AppendCharacter(lResult, ch0);
|
sl@0
|
5450 |
AppendCharacter(lResult, ch3);
|
sl@0
|
5451 |
|
sl@0
|
5452 |
AppendCharacter(rResult, ch0);
|
sl@0
|
5453 |
AppendCharacter(rResult, ch3);
|
sl@0
|
5454 |
AppendCharacter(rResult, ch2);
|
sl@0
|
5455 |
AppendCharacter(rResult, ch1);
|
sl@0
|
5456 |
}
|
sl@0
|
5457 |
i = lasti;
|
sl@0
|
5458 |
aOldText.SetLength(i);
|
sl@0
|
5459 |
ASSERT(lResult->Des().Length() == i);
|
sl@0
|
5460 |
ASSERT(rResult->Des().Length() == i);
|
sl@0
|
5461 |
|
sl@0
|
5462 |
rretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaRToL, rText);
|
sl@0
|
5463 |
lretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaLToR, lText);
|
sl@0
|
5464 |
|
sl@0
|
5465 |
aTest->TEST(lretval == KErrNone);
|
sl@0
|
5466 |
aTest->TEST(rretval == KErrNone);
|
sl@0
|
5467 |
#ifdef PRINT_DATA
|
sl@0
|
5468 |
_LIT(KOTitleT, "Original (Top)");
|
sl@0
|
5469 |
_LIT(KLTitleT, "Left-to-Right (Top)");
|
sl@0
|
5470 |
_LIT(KRTitleT, "Right-to-Left (Top)");
|
sl@0
|
5471 |
_LIT(KOTitleB, "Original (Bottom)");
|
sl@0
|
5472 |
_LIT(KLTitleB, "Left-to-Right (Bottom)");
|
sl@0
|
5473 |
_LIT(KRTitleB, "Right-to-Left (Bottom)");
|
sl@0
|
5474 |
|
sl@0
|
5475 |
|
sl@0
|
5476 |
PrintTestData(KOTitleT, aOldText.Ptr(), 32);
|
sl@0
|
5477 |
PrintTestData(KOTitleB, aOldText.Ptr()+KBufferSize-32, 32);
|
sl@0
|
5478 |
|
sl@0
|
5479 |
PrintTestData(KLTitleT, lText, 32);
|
sl@0
|
5480 |
PrintTestData(KLTitleB, lText+KBufferSize-32, 32);
|
sl@0
|
5481 |
|
sl@0
|
5482 |
PrintTestData(KRTitleT, rText, 32);
|
sl@0
|
5483 |
PrintTestData(KRTitleB, rText+KBufferSize-32, 32);
|
sl@0
|
5484 |
|
sl@0
|
5485 |
#endif
|
sl@0
|
5486 |
|
sl@0
|
5487 |
aTest->TEST(TextInSameOrder(lResult->Ptr(), lText, i));
|
sl@0
|
5488 |
aTest->TEST(TextInReverseOrder(rResult->Ptr(), rText, i, aTest));
|
sl@0
|
5489 |
|
sl@0
|
5490 |
DeleteText(aOldText.Ptr(), lText, aTest);
|
sl@0
|
5491 |
DeleteText(aOldText.Ptr(), rText, aTest);
|
sl@0
|
5492 |
|
sl@0
|
5493 |
aOldText.SetLength(oldTextLength);
|
sl@0
|
5494 |
lResult->Des().SetLength(0);
|
sl@0
|
5495 |
rResult->Des().SetLength(0);
|
sl@0
|
5496 |
}
|
sl@0
|
5497 |
CleanupStack::PopAndDestroy(rResult);
|
sl@0
|
5498 |
CleanupStack::PopAndDestroy(lResult);
|
sl@0
|
5499 |
}
|
sl@0
|
5500 |
|
sl@0
|
5501 |
/**
|
sl@0
|
5502 |
*
|
sl@0
|
5503 |
* Tests what happens when Arabic and European numbers are preceded by Right to Left Arabic
|
sl@0
|
5504 |
* and succeeded by Left To Right letters
|
sl@0
|
5505 |
*
|
sl@0
|
5506 |
* @param "TDes& aOldText"
|
sl@0
|
5507 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
5508 |
*
|
sl@0
|
5509 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
5510 |
* Pointer to the test object
|
sl@0
|
5511 |
*
|
sl@0
|
5512 |
*/
|
sl@0
|
5513 |
static void RToLAThenENThenANThenLToRTest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
5514 |
{
|
sl@0
|
5515 |
TText* lText = 0;
|
sl@0
|
5516 |
TText* rText = 0;
|
sl@0
|
5517 |
TInt lretval = KErrNone;
|
sl@0
|
5518 |
TInt rretval = KErrNone;
|
sl@0
|
5519 |
TInt oldTextLength = aOldText.Length();
|
sl@0
|
5520 |
HBufC *lResult = HBufC::NewLC(KBufferSize);
|
sl@0
|
5521 |
HBufC *rResult = HBufC::NewLC(KBufferSize);
|
sl@0
|
5522 |
|
sl@0
|
5523 |
aTest->INFO_PRINTF1(_L("TBidirectionalState test - R-LA EN AN L-R test\r\n"));
|
sl@0
|
5524 |
|
sl@0
|
5525 |
// Now mix in some numbers
|
sl@0
|
5526 |
TextIterator rtolIterator(KRightToLeftArabic, KRightToLeftArabicLength);
|
sl@0
|
5527 |
TextIterator euronIterator(KEuropeanNumber, KEuropeanNumberLength);
|
sl@0
|
5528 |
TextIterator arabnIterator(KArabicNumber, KArabicNumberLength);
|
sl@0
|
5529 |
TextIterator ltorIterator(KLeftToRight, KLeftToRightLength);
|
sl@0
|
5530 |
|
sl@0
|
5531 |
while (!ltorIterator.Wrapped())
|
sl@0
|
5532 |
{
|
sl@0
|
5533 |
TInt i;
|
sl@0
|
5534 |
TInt lasti = 0;
|
sl@0
|
5535 |
TUint ch0, ch1, ch2, ch3;
|
sl@0
|
5536 |
for (i = 0 ; i < KBufferSize-3; )
|
sl@0
|
5537 |
{
|
sl@0
|
5538 |
if (!rtolIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch0))
|
sl@0
|
5539 |
break;
|
sl@0
|
5540 |
if (!euronIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch1))
|
sl@0
|
5541 |
break;
|
sl@0
|
5542 |
if (!arabnIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch2))
|
sl@0
|
5543 |
break;
|
sl@0
|
5544 |
if (!ltorIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch3))
|
sl@0
|
5545 |
break;
|
sl@0
|
5546 |
|
sl@0
|
5547 |
lasti = i;
|
sl@0
|
5548 |
AppendCharacter(lResult, ch1);
|
sl@0
|
5549 |
AppendCharacter(lResult, ch2);
|
sl@0
|
5550 |
AppendCharacter(lResult, ch0);
|
sl@0
|
5551 |
AppendCharacter(lResult, ch3);
|
sl@0
|
5552 |
|
sl@0
|
5553 |
AppendCharacter(rResult, ch0);
|
sl@0
|
5554 |
AppendCharacter(rResult, ch3);
|
sl@0
|
5555 |
AppendCharacter(rResult, ch2);
|
sl@0
|
5556 |
AppendCharacter(rResult, ch1);
|
sl@0
|
5557 |
}
|
sl@0
|
5558 |
i = lasti;
|
sl@0
|
5559 |
aOldText.SetLength(i);
|
sl@0
|
5560 |
ASSERT(lResult->Des().Length() == i);
|
sl@0
|
5561 |
ASSERT(rResult->Des().Length() == i);
|
sl@0
|
5562 |
|
sl@0
|
5563 |
rretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaRToL, rText);
|
sl@0
|
5564 |
lretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaLToR, lText);
|
sl@0
|
5565 |
|
sl@0
|
5566 |
aTest->TEST(lretval == KErrNone);
|
sl@0
|
5567 |
aTest->TEST(rretval == KErrNone);
|
sl@0
|
5568 |
#ifdef PRINT_DATA
|
sl@0
|
5569 |
_LIT(KOTitleT, "Original (Top)");
|
sl@0
|
5570 |
_LIT(KLTitleT, "Left-to-Right (Top)");
|
sl@0
|
5571 |
_LIT(KRTitleT, "Right-to-Left (Top)");
|
sl@0
|
5572 |
_LIT(KOTitleB, "Original (Bottom)");
|
sl@0
|
5573 |
_LIT(KLTitleB, "Left-to-Right (Bottom)");
|
sl@0
|
5574 |
_LIT(KRTitleB, "Right-to-Left (Bottom)");
|
sl@0
|
5575 |
|
sl@0
|
5576 |
|
sl@0
|
5577 |
PrintTestData(KOTitleT, aOldText.Ptr(), 32);
|
sl@0
|
5578 |
PrintTestData(KOTitleB, aOldText.Ptr()+KBufferSize-32, 32);
|
sl@0
|
5579 |
|
sl@0
|
5580 |
PrintTestData(KLTitleT, lText, 32);
|
sl@0
|
5581 |
PrintTestData(KLTitleB, lText+KBufferSize-32, 32);
|
sl@0
|
5582 |
|
sl@0
|
5583 |
PrintTestData(KRTitleT, rText, 32);
|
sl@0
|
5584 |
PrintTestData(KRTitleB, rText+KBufferSize-32, 32);
|
sl@0
|
5585 |
|
sl@0
|
5586 |
#endif
|
sl@0
|
5587 |
|
sl@0
|
5588 |
aTest->TEST(TextInSameOrder(lResult->Ptr(), lText, i));
|
sl@0
|
5589 |
aTest->TEST(TextInReverseOrder(rResult->Ptr(), rText, i, aTest));
|
sl@0
|
5590 |
|
sl@0
|
5591 |
DeleteText(aOldText.Ptr(), lText, aTest);
|
sl@0
|
5592 |
DeleteText(aOldText.Ptr(), rText, aTest);
|
sl@0
|
5593 |
|
sl@0
|
5594 |
aOldText.SetLength(oldTextLength);
|
sl@0
|
5595 |
lResult->Des().SetLength(0);
|
sl@0
|
5596 |
rResult->Des().SetLength(0);
|
sl@0
|
5597 |
}
|
sl@0
|
5598 |
CleanupStack::PopAndDestroy(rResult);
|
sl@0
|
5599 |
CleanupStack::PopAndDestroy(lResult);
|
sl@0
|
5600 |
}
|
sl@0
|
5601 |
|
sl@0
|
5602 |
/**
|
sl@0
|
5603 |
*
|
sl@0
|
5604 |
* Tests what happens to European Terminators in a pair of European Numbers
|
sl@0
|
5605 |
* when the first character is a Right To Left letter
|
sl@0
|
5606 |
*
|
sl@0
|
5607 |
* @param "TDes& aOldText"
|
sl@0
|
5608 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
5609 |
*
|
sl@0
|
5610 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
5611 |
* Pointer to the test object
|
sl@0
|
5612 |
*
|
sl@0
|
5613 |
*/
|
sl@0
|
5614 |
static void RToLThenENThenETThenENTest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
5615 |
{
|
sl@0
|
5616 |
TText* lText = 0;
|
sl@0
|
5617 |
TText* rText = 0;
|
sl@0
|
5618 |
TInt lretval = KErrNone;
|
sl@0
|
5619 |
TInt rretval = KErrNone;
|
sl@0
|
5620 |
TInt oldTextLength = aOldText.Length();
|
sl@0
|
5621 |
HBufC *lResult = HBufC::NewLC(KBufferSize);
|
sl@0
|
5622 |
HBufC *rResult = HBufC::NewLC(KBufferSize);
|
sl@0
|
5623 |
|
sl@0
|
5624 |
aTest->INFO_PRINTF1(_L("TBidirectionalState test - R-L EN ET EN test\r\n"));
|
sl@0
|
5625 |
|
sl@0
|
5626 |
// Now mix in some numbers
|
sl@0
|
5627 |
TextIterator rtolIterator(KRightToLeft, KRightToLeftLength);
|
sl@0
|
5628 |
TextIterator euronIterator(KEuropeanNumber, KEuropeanNumberLength);
|
sl@0
|
5629 |
TextIterator eurotIterator(KEuropeanNumberTerminator, KEuropeanNumberTerminatorLength);
|
sl@0
|
5630 |
|
sl@0
|
5631 |
while(!rtolIterator.Wrapped())
|
sl@0
|
5632 |
{
|
sl@0
|
5633 |
TInt i;
|
sl@0
|
5634 |
TInt lasti = 0;
|
sl@0
|
5635 |
TUint ch0, ch1, ch2, ch3;
|
sl@0
|
5636 |
for (i = 0 ; i < KBufferSize-3; )
|
sl@0
|
5637 |
{
|
sl@0
|
5638 |
if (!rtolIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch0))
|
sl@0
|
5639 |
break;
|
sl@0
|
5640 |
if (!euronIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch1))
|
sl@0
|
5641 |
break;
|
sl@0
|
5642 |
if (!eurotIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch2))
|
sl@0
|
5643 |
break;
|
sl@0
|
5644 |
if (!euronIterator.NextCharInto(aOldText, i, -1, ETrue, ETrue, &ch3))
|
sl@0
|
5645 |
break;
|
sl@0
|
5646 |
|
sl@0
|
5647 |
lasti = i;
|
sl@0
|
5648 |
AppendCharacter(lResult, ch0);
|
sl@0
|
5649 |
AppendCharacter(lResult, ch3);
|
sl@0
|
5650 |
AppendCharacter(lResult, ch2);
|
sl@0
|
5651 |
AppendCharacter(lResult, ch1);
|
sl@0
|
5652 |
|
sl@0
|
5653 |
AppendCharacter(rResult, ch0);
|
sl@0
|
5654 |
AppendCharacter(rResult, ch3);
|
sl@0
|
5655 |
AppendCharacter(rResult, ch2);
|
sl@0
|
5656 |
AppendCharacter(rResult, ch1);
|
sl@0
|
5657 |
}
|
sl@0
|
5658 |
i = lasti;
|
sl@0
|
5659 |
aOldText.SetLength(i);
|
sl@0
|
5660 |
ASSERT(lResult->Des().Length() == i);
|
sl@0
|
5661 |
ASSERT(rResult->Des().Length() == i);
|
sl@0
|
5662 |
|
sl@0
|
5663 |
rretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaRToL, rText);
|
sl@0
|
5664 |
lretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaLToR, lText);
|
sl@0
|
5665 |
|
sl@0
|
5666 |
aTest->TEST(lretval == KErrNone);
|
sl@0
|
5667 |
aTest->TEST(rretval == KErrNone);
|
sl@0
|
5668 |
#ifdef PRINT_DATA
|
sl@0
|
5669 |
_LIT(KOTitleT, "Original (Top)");
|
sl@0
|
5670 |
_LIT(KLTitleT, "Left-to-Right (Top)");
|
sl@0
|
5671 |
_LIT(KRTitleT, "Right-to-Left (Top)");
|
sl@0
|
5672 |
_LIT(KOTitleB, "Original (Bottom)");
|
sl@0
|
5673 |
_LIT(KLTitleB, "Left-to-Right (Bottom)");
|
sl@0
|
5674 |
_LIT(KRTitleB, "Right-to-Left (Bottom)");
|
sl@0
|
5675 |
|
sl@0
|
5676 |
|
sl@0
|
5677 |
PrintTestData(KOTitleT, aOldText.Ptr(), 32);
|
sl@0
|
5678 |
PrintTestData(KOTitleB, aOldText.Ptr()+KBufferSize-32, 32);
|
sl@0
|
5679 |
|
sl@0
|
5680 |
PrintTestData(KLTitleT, lText, 32);
|
sl@0
|
5681 |
PrintTestData(KLTitleB, lText+KBufferSize-32, 32);
|
sl@0
|
5682 |
|
sl@0
|
5683 |
PrintTestData(KRTitleT, rText, 32);
|
sl@0
|
5684 |
PrintTestData(KRTitleB, rText+KBufferSize-32, 32);
|
sl@0
|
5685 |
|
sl@0
|
5686 |
#endif
|
sl@0
|
5687 |
aTest->TEST(TextInReverseOrder(lResult->Ptr(), lText, i));
|
sl@0
|
5688 |
aTest->TEST(TextInReverseOrder(rResult->Ptr(), rText, i, aTest));
|
sl@0
|
5689 |
|
sl@0
|
5690 |
DeleteText(aOldText.Ptr(), lText, aTest);
|
sl@0
|
5691 |
DeleteText(aOldText.Ptr(), rText, aTest);
|
sl@0
|
5692 |
|
sl@0
|
5693 |
aOldText.SetLength(oldTextLength);
|
sl@0
|
5694 |
lResult->Des().SetLength(0);
|
sl@0
|
5695 |
rResult->Des().SetLength(0);
|
sl@0
|
5696 |
}
|
sl@0
|
5697 |
CleanupStack::PopAndDestroy(rResult);
|
sl@0
|
5698 |
CleanupStack::PopAndDestroy(lResult);
|
sl@0
|
5699 |
}
|
sl@0
|
5700 |
/**
|
sl@0
|
5701 |
*
|
sl@0
|
5702 |
* Tests what happens to European Terminators in a pair of Arabic Numbers
|
sl@0
|
5703 |
* when the first character is a Right To Left letter
|
sl@0
|
5704 |
*
|
sl@0
|
5705 |
* @param "TDes& aOldText"
|
sl@0
|
5706 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
5707 |
*
|
sl@0
|
5708 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
5709 |
* Pointer to the test object
|
sl@0
|
5710 |
*
|
sl@0
|
5711 |
*/
|
sl@0
|
5712 |
static void RToLThenANThenETThenANTest(TDes& aOldText, CTGraphicsBase *aTest)
|
sl@0
|
5713 |
{
|
sl@0
|
5714 |
TText* lText = 0;
|
sl@0
|
5715 |
TText* rText = 0;
|
sl@0
|
5716 |
TInt lretval = KErrNone;
|
sl@0
|
5717 |
TInt rretval = KErrNone;
|
sl@0
|
5718 |
TInt oldTextLength = aOldText.Length();
|
sl@0
|
5719 |
|
sl@0
|
5720 |
aTest->INFO_PRINTF1(_L("TBidirectionalState test - R-L AN ET AN test\r\n"));
|
sl@0
|
5721 |
|
sl@0
|
5722 |
// Now mix in some numbers
|
sl@0
|
5723 |
TextIterator rtolIterator(KRightToLeft, KRightToLeftLength);
|
sl@0
|
5724 |
TextIterator arabnIterator(KArabicNumber, KArabicNumberLength);
|
sl@0
|
5725 |
TextIterator eurotIterator(KEuropeanNumberTerminator, KEuropeanNumberTerminatorLength);
|
sl@0
|
5726 |
|
sl@0
|
5727 |
aTest->TEST(aOldText.Length() >= KBufferSize);
|
sl@0
|
5728 |
|
sl@0
|
5729 |
while(!rtolIterator.Wrapped())
|
sl@0
|
5730 |
{
|
sl@0
|
5731 |
TInt i;
|
sl@0
|
5732 |
for (i = 0 ; i < KBufferSize-3; )
|
sl@0
|
5733 |
{
|
sl@0
|
5734 |
if (!rtolIterator.NextCharInto(aOldText, i))
|
sl@0
|
5735 |
break;
|
sl@0
|
5736 |
if (!arabnIterator.NextCharInto(aOldText, i))
|
sl@0
|
5737 |
break;
|
sl@0
|
5738 |
if (!eurotIterator.NextCharInto(aOldText, i))
|
sl@0
|
5739 |
break;
|
sl@0
|
5740 |
if (!arabnIterator.NextCharInto(aOldText, i))
|
sl@0
|
5741 |
break;
|
sl@0
|
5742 |
}
|
sl@0
|
5743 |
aOldText.SetLength(i);
|
sl@0
|
5744 |
|
sl@0
|
5745 |
rretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaRToL, rText);
|
sl@0
|
5746 |
lretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaLToR, lText);
|
sl@0
|
5747 |
|
sl@0
|
5748 |
aTest->TEST(lretval == KErrNone);
|
sl@0
|
5749 |
aTest->TEST(rretval == KErrNone);
|
sl@0
|
5750 |
#ifdef PRINT_DATA
|
sl@0
|
5751 |
_LIT(KOTitleT, "Original (Top)");
|
sl@0
|
5752 |
_LIT(KLTitleT, "Left-to-Right (Top)");
|
sl@0
|
5753 |
_LIT(KRTitleT, "Right-to-Left (Top)");
|
sl@0
|
5754 |
_LIT(KOTitleB, "Original (Bottom)");
|
sl@0
|
5755 |
_LIT(KLTitleB, "Left-to-Right (Bottom)");
|
sl@0
|
5756 |
_LIT(KRTitleB, "Right-to-Left (Bottom)");
|
sl@0
|
5757 |
|
sl@0
|
5758 |
|
sl@0
|
5759 |
PrintTestData(KOTitleT, aOldText.Ptr(), 32);
|
sl@0
|
5760 |
PrintTestData(KOTitleB, aOldText.Ptr()+KBufferSize-32, 32);
|
sl@0
|
5761 |
|
sl@0
|
5762 |
PrintTestData(KLTitleT, lText, 32);
|
sl@0
|
5763 |
PrintTestData(KLTitleB, lText+KBufferSize-32, 32);
|
sl@0
|
5764 |
|
sl@0
|
5765 |
PrintTestData(KRTitleT, rText, 32);
|
sl@0
|
5766 |
PrintTestData(KRTitleB, rText+KBufferSize-32, 32);
|
sl@0
|
5767 |
|
sl@0
|
5768 |
#endif
|
sl@0
|
5769 |
aTest->TEST(TextInReverseOrder(aOldText.Ptr(), lText, i));
|
sl@0
|
5770 |
aTest->TEST(TextInReverseOrder(aOldText.Ptr(), rText, i));
|
sl@0
|
5771 |
|
sl@0
|
5772 |
|
sl@0
|
5773 |
DeleteText(aOldText.Ptr(), lText, aTest);
|
sl@0
|
5774 |
DeleteText(aOldText.Ptr(), rText, aTest);
|
sl@0
|
5775 |
|
sl@0
|
5776 |
aOldText.SetLength(oldTextLength);
|
sl@0
|
5777 |
}
|
sl@0
|
5778 |
}
|
sl@0
|
5779 |
/**
|
sl@0
|
5780 |
*
|
sl@0
|
5781 |
* Tests what happens to European Terminators in a pair of European Numbers
|
sl@0
|
5782 |
* when the first character is a Right To Left Arabic letter
|
sl@0
|
5783 |
*
|
sl@0
|
5784 |
* @param "TDes& aOldText"
|
sl@0
|
5785 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
5786 |
*
|
sl@0
|
5787 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
5788 |
* Pointer to the test object
|
sl@0
|
5789 |
*
|
sl@0
|
5790 |
*/
|
sl@0
|
5791 |
static void RToLAThenENThenETThenENTest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
5792 |
{
|
sl@0
|
5793 |
TText* lText = 0;
|
sl@0
|
5794 |
TText* rText = 0;
|
sl@0
|
5795 |
TInt lretval = KErrNone;
|
sl@0
|
5796 |
TInt rretval = KErrNone;
|
sl@0
|
5797 |
TInt oldTextLength = aOldText.Length();
|
sl@0
|
5798 |
|
sl@0
|
5799 |
aTest->INFO_PRINTF1(_L("TBidirectionalState test - R-LA EN ET EN test\r\n"));
|
sl@0
|
5800 |
|
sl@0
|
5801 |
// Now mix in some numbers
|
sl@0
|
5802 |
TextIterator rtolIterator(KRightToLeftArabic, KRightToLeftArabicLength);
|
sl@0
|
5803 |
TextIterator euronIterator(KEuropeanNumber, KEuropeanNumberLength);
|
sl@0
|
5804 |
TextIterator eurotIterator(KEuropeanNumberTerminator, KEuropeanNumberTerminatorLength);
|
sl@0
|
5805 |
|
sl@0
|
5806 |
aTest->TEST(aOldText.Length() >= KBufferSize);
|
sl@0
|
5807 |
|
sl@0
|
5808 |
while(!rtolIterator.Wrapped())
|
sl@0
|
5809 |
{
|
sl@0
|
5810 |
TInt i;
|
sl@0
|
5811 |
|
sl@0
|
5812 |
TInt lasti = 0;
|
sl@0
|
5813 |
for (i = 0 ; i < KBufferSize-3; )
|
sl@0
|
5814 |
{
|
sl@0
|
5815 |
if (!rtolIterator.NextCharInto(aOldText, i))
|
sl@0
|
5816 |
break;
|
sl@0
|
5817 |
if (!euronIterator.NextCharInto(aOldText, i))
|
sl@0
|
5818 |
break;
|
sl@0
|
5819 |
if (!eurotIterator.NextCharInto(aOldText, i))
|
sl@0
|
5820 |
break;
|
sl@0
|
5821 |
if (!euronIterator.NextCharInto(aOldText, i))
|
sl@0
|
5822 |
break;
|
sl@0
|
5823 |
lasti = i;
|
sl@0
|
5824 |
}
|
sl@0
|
5825 |
i = lasti;
|
sl@0
|
5826 |
aOldText.SetLength(i);
|
sl@0
|
5827 |
|
sl@0
|
5828 |
rretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaRToL, rText);
|
sl@0
|
5829 |
lretval = TBidirectionalState::ReorderText(aOldText.Ptr(), i, EParaLToR, lText);
|
sl@0
|
5830 |
|
sl@0
|
5831 |
aTest->TEST(lretval == KErrNone);
|
sl@0
|
5832 |
aTest->TEST(rretval == KErrNone);
|
sl@0
|
5833 |
#ifdef PRINT_DATA
|
sl@0
|
5834 |
_LIT(KOTitleT, "Original (Top)");
|
sl@0
|
5835 |
_LIT(KLTitleT, "Left-to-Right (Top)");
|
sl@0
|
5836 |
_LIT(KRTitleT, "Right-to-Left (Top)");
|
sl@0
|
5837 |
_LIT(KOTitleB, "Original (Bottom)");
|
sl@0
|
5838 |
_LIT(KLTitleB, "Left-to-Right (Bottom)");
|
sl@0
|
5839 |
_LIT(KRTitleB, "Right-to-Left (Bottom)");
|
sl@0
|
5840 |
|
sl@0
|
5841 |
|
sl@0
|
5842 |
PrintTestData(KOTitleT, aOldText.Ptr(), 32);
|
sl@0
|
5843 |
PrintTestData(KOTitleB, aOldText.Ptr()+KBufferSize-32, 32);
|
sl@0
|
5844 |
|
sl@0
|
5845 |
PrintTestData(KLTitleT, lText, 32);
|
sl@0
|
5846 |
PrintTestData(KLTitleB, lText+KBufferSize-32, 32);
|
sl@0
|
5847 |
|
sl@0
|
5848 |
PrintTestData(KRTitleT, rText, 32);
|
sl@0
|
5849 |
PrintTestData(KRTitleB, rText+KBufferSize-32, 32);
|
sl@0
|
5850 |
|
sl@0
|
5851 |
#endif
|
sl@0
|
5852 |
|
sl@0
|
5853 |
aTest->TEST(TextInReverseOrder(aOldText.Ptr(), lText, i));
|
sl@0
|
5854 |
aTest->TEST(TextInReverseOrder(aOldText.Ptr(), rText, i));
|
sl@0
|
5855 |
|
sl@0
|
5856 |
DeleteText(aOldText.Ptr(), lText, aTest);
|
sl@0
|
5857 |
DeleteText(aOldText.Ptr(), rText, aTest);
|
sl@0
|
5858 |
|
sl@0
|
5859 |
aOldText.SetLength(oldTextLength);
|
sl@0
|
5860 |
}
|
sl@0
|
5861 |
}
|
sl@0
|
5862 |
/**
|
sl@0
|
5863 |
*
|
sl@0
|
5864 |
* Tests what happens to European Terminators in a pair of Arabic Numbers
|
sl@0
|
5865 |
* when the first character is a Right To Left Arabic letter
|
sl@0
|
5866 |
*
|
sl@0
|
5867 |
* @param "TDes& aOldText"
|
sl@0
|
5868 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
5869 |
*
|
sl@0
|
5870 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
5871 |
* Pointer to the test object
|
sl@0
|
5872 |
*
|
sl@0
|
5873 |
*/
|
sl@0
|
5874 |
static void RToLAThenANThenETThenANTest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
5875 |
{
|
sl@0
|
5876 |
TText* lText = 0;
|
sl@0
|
5877 |
TText* rText = 0;
|
sl@0
|
5878 |
TInt lretval = KErrNone;
|
sl@0
|
5879 |
TInt rretval = KErrNone;
|
sl@0
|
5880 |
|
sl@0
|
5881 |
aTest->INFO_PRINTF1(_L("TBidirectionalState test - R-LA AN ET AN test\r\n"));
|
sl@0
|
5882 |
|
sl@0
|
5883 |
// Now mix in some numbers
|
sl@0
|
5884 |
TextIterator rtolIterator(KRightToLeftArabic, KRightToLeftArabicLength);
|
sl@0
|
5885 |
TextIterator arabnIterator(KArabicNumber, KArabicNumberLength);
|
sl@0
|
5886 |
TextIterator eurotIterator(KEuropeanNumberTerminator, KEuropeanNumberTerminatorLength);
|
sl@0
|
5887 |
|
sl@0
|
5888 |
aTest->TEST(aOldText.Length() >= KBufferSize);
|
sl@0
|
5889 |
|
sl@0
|
5890 |
while(!rtolIterator.Wrapped())
|
sl@0
|
5891 |
{
|
sl@0
|
5892 |
TInt i;
|
sl@0
|
5893 |
|
sl@0
|
5894 |
for (i = 0 ; i < (KBufferSize-3) ; i+=4)
|
sl@0
|
5895 |
{
|
sl@0
|
5896 |
aOldText[i] = rtolIterator.NextChar();
|
sl@0
|
5897 |
aOldText[i+1] = arabnIterator.NextChar();
|
sl@0
|
5898 |
aOldText[i+2] = eurotIterator.NextChar();
|
sl@0
|
5899 |
aOldText[i+3] = arabnIterator.NextChar();
|
sl@0
|
5900 |
}
|
sl@0
|
5901 |
rretval = TBidirectionalState::ReorderText(aOldText.Ptr(), KBufferSize, EParaRToL, rText);
|
sl@0
|
5902 |
lretval = TBidirectionalState::ReorderText(aOldText.Ptr(), KBufferSize, EParaLToR, lText);
|
sl@0
|
5903 |
|
sl@0
|
5904 |
aTest->TEST(lretval == KErrNone);
|
sl@0
|
5905 |
aTest->TEST(rretval == KErrNone);
|
sl@0
|
5906 |
#ifdef PRINT_DATA
|
sl@0
|
5907 |
_LIT(KOTitleT, "Original (Top)");
|
sl@0
|
5908 |
_LIT(KLTitleT, "Left-to-Right (Top)");
|
sl@0
|
5909 |
_LIT(KRTitleT, "Right-to-Left (Top)");
|
sl@0
|
5910 |
_LIT(KOTitleB, "Original (Bottom)");
|
sl@0
|
5911 |
_LIT(KLTitleB, "Left-to-Right (Bottom)");
|
sl@0
|
5912 |
_LIT(KRTitleB, "Right-to-Left (Bottom)");
|
sl@0
|
5913 |
|
sl@0
|
5914 |
|
sl@0
|
5915 |
PrintTestData(KOTitleT, aOldText.Ptr(), 32);
|
sl@0
|
5916 |
PrintTestData(KOTitleB, aOldText.Ptr()+KBufferSize-32, 32);
|
sl@0
|
5917 |
|
sl@0
|
5918 |
PrintTestData(KLTitleT, lText, 32);
|
sl@0
|
5919 |
PrintTestData(KLTitleB, lText+KBufferSize-32, 32);
|
sl@0
|
5920 |
|
sl@0
|
5921 |
PrintTestData(KRTitleT, rText, 32);
|
sl@0
|
5922 |
PrintTestData(KRTitleB, rText+KBufferSize-32, 32);
|
sl@0
|
5923 |
|
sl@0
|
5924 |
#endif
|
sl@0
|
5925 |
|
sl@0
|
5926 |
aTest->TEST(TextInReverseOrder(aOldText.Ptr(), lText, KBufferSize));
|
sl@0
|
5927 |
aTest->TEST(TextInReverseOrder(aOldText.Ptr(), rText, KBufferSize));
|
sl@0
|
5928 |
|
sl@0
|
5929 |
DeleteText(aOldText.Ptr(), lText, aTest);
|
sl@0
|
5930 |
DeleteText(aOldText.Ptr(), rText, aTest);
|
sl@0
|
5931 |
|
sl@0
|
5932 |
|
sl@0
|
5933 |
}
|
sl@0
|
5934 |
}
|
sl@0
|
5935 |
|
sl@0
|
5936 |
|
sl@0
|
5937 |
/**
|
sl@0
|
5938 |
*
|
sl@0
|
5939 |
* Tests what happens to Other Neutrals when mixed into Left To Right and Right To Left text
|
sl@0
|
5940 |
*
|
sl@0
|
5941 |
* @param "TDes& aOldText"
|
sl@0
|
5942 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
5943 |
*
|
sl@0
|
5944 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
5945 |
* Pointer to the test object
|
sl@0
|
5946 |
*
|
sl@0
|
5947 |
*/
|
sl@0
|
5948 |
static void InterspersedNeutralsTest(TDes& aOldText, CTGraphicsBase* aTest)
|
sl@0
|
5949 |
{
|
sl@0
|
5950 |
TText* lText = 0;
|
sl@0
|
5951 |
TText* rText = 0;
|
sl@0
|
5952 |
TInt lretval = KErrNone;
|
sl@0
|
5953 |
TInt rretval = KErrNone;
|
sl@0
|
5954 |
aTest->INFO_PRINTF1(_L("TBidirectionalState test - L-R R-L with interspersed Neutrals test\r\n"));
|
sl@0
|
5955 |
TInt oldTextLength = aOldText.Length();
|
sl@0
|
5956 |
|
sl@0
|
5957 |
// Neutrals Test
|
sl@0
|
5958 |
|
sl@0
|
5959 |
// These should go left-to-right when with left-to-right text
|
sl@0
|
5960 |
// and right-to-left with right-to-left text.
|
sl@0
|
5961 |
|
sl@0
|
5962 |
TextIterator ltorIterator(KLeftToRight, KLeftToRightLength);
|
sl@0
|
5963 |
TextIterator rtolIterator(KRightToLeft, KRightToLeftLength);
|
sl@0
|
5964 |
TextIterator neutIterator(KOtherNeutrals, KOtherNeutralsLength);
|
sl@0
|
5965 |
TUint16 neut;
|
sl@0
|
5966 |
|
sl@0
|
5967 |
aTest->TEST(aOldText.Length() >= KBufferSize);
|
sl@0
|
5968 |
|
sl@0
|
5969 |
while (!ltorIterator.Wrapped())
|
sl@0
|
5970 |
{
|
sl@0
|
5971 |
TInt i;
|
sl@0
|
5972 |
for (i = 0 ; i < KHalfBufferSize; i+=2)
|
sl@0
|
5973 |
{
|
sl@0
|
5974 |
aOldText[i] = ltorIterator.NextChar();
|
sl@0
|
5975 |
//Skip any characters that are mirrored for simplicity of checking
|
sl@0
|
5976 |
while(KMirrors().Locate(neut = neutIterator.NextChar()) != KErrNotFound)
|
sl@0
|
5977 |
{
|
sl@0
|
5978 |
}
|
sl@0
|
5979 |
|
sl@0
|
5980 |
aOldText[i+1] = neut;
|
sl@0
|
5981 |
}
|
sl@0
|
5982 |
|
sl@0
|
5983 |
for (i = KHalfBufferSize ; i < KBufferSize; i+=2)
|
sl@0
|
5984 |
{
|
sl@0
|
5985 |
aOldText[i] = rtolIterator.NextChar();
|
sl@0
|
5986 |
//Skip any characters that are mirrored for simplicity of checking
|
sl@0
|
5987 |
while(KMirrors().Locate(neut = neutIterator.NextChar()) != KErrNotFound)
|
sl@0
|
5988 |
{
|
sl@0
|
5989 |
}
|
sl@0
|
5990 |
aOldText[i+1] = neut;
|
sl@0
|
5991 |
}
|
sl@0
|
5992 |
lretval = TBidirectionalState::ReorderText(aOldText.Ptr(), KBufferSize, EParaLToR, lText);
|
sl@0
|
5993 |
rretval = TBidirectionalState::ReorderText(aOldText.Ptr(), KBufferSize, EParaRToL, rText);
|
sl@0
|
5994 |
|
sl@0
|
5995 |
aTest->TEST(lretval == KErrNone);
|
sl@0
|
5996 |
aTest->TEST(rretval == KErrNone);
|
sl@0
|
5997 |
|
sl@0
|
5998 |
/*
|
sl@0
|
5999 |
Note - the tests are made more complex because of the behaviour of the last
|
sl@0
|
6000 |
neutral in the first half of the buffer.
|
sl@0
|
6001 |
|
sl@0
|
6002 |
Because the sequence goes <LtoR> <Neutral> <RtoL>, the way that last
|
sl@0
|
6003 |
neutral is interpreted depends upon the paragraph direction instead of
|
sl@0
|
6004 |
the direction of the adjacent text.
|
sl@0
|
6005 |
|
sl@0
|
6006 |
*/
|
sl@0
|
6007 |
|
sl@0
|
6008 |
aTest->TEST(TextInSameOrder(aOldText.Ptr(), lText, KHalfBufferSize));
|
sl@0
|
6009 |
aTest->TEST(TextInReverseOrder(&aOldText.Ptr()[KHalfBufferSize], &lText[KHalfBufferSize], KHalfBufferSize-1));
|
sl@0
|
6010 |
aTest->TEST((aOldText.Ptr()[KBufferSize-1] == lText[KBufferSize-1])); //Last neutral obeys L-R hence stays where it was
|
sl@0
|
6011 |
aTest->TEST(TextInReverseOrder(&aOldText.Ptr()[KHalfBufferSize], rText, KHalfBufferSize));
|
sl@0
|
6012 |
aTest->TEST((aOldText.Ptr()[KHalfBufferSize-1] == rText[KHalfBufferSize])); //First neutral stays RtoL and stays at the front
|
sl@0
|
6013 |
aTest->TEST(TextInSameOrder(aOldText.Ptr(), &rText[KHalfBufferSize+1], KHalfBufferSize-1));
|
sl@0
|
6014 |
|
sl@0
|
6015 |
|
sl@0
|
6016 |
DeleteText(aOldText.Ptr(), lText, aTest);
|
sl@0
|
6017 |
DeleteText(aOldText.Ptr(), rText, aTest);
|
sl@0
|
6018 |
}
|
sl@0
|
6019 |
}
|
sl@0
|
6020 |
|
sl@0
|
6021 |
/**
|
sl@0
|
6022 |
*
|
sl@0
|
6023 |
* Tests that the behaviour shown in small numbers of runs also occurs when lots of
|
sl@0
|
6024 |
* left to right and right to left text is intermixed.
|
sl@0
|
6025 |
*
|
sl@0
|
6026 |
* @param "TDes& aOldText"
|
sl@0
|
6027 |
* Descriptor that points to a buffer at least KBufferSize 16-bit characters long
|
sl@0
|
6028 |
*
|
sl@0
|
6029 |
* @param "CTGraphicsBase* aTest"
|
sl@0
|
6030 |
* Pointer to the test object
|
sl@0
|
6031 |
*
|
sl@0
|
6032 |
*/
|
sl@0
|
6033 |
static void ComplexTextTest(TDes& aOldText, CTGraphicsBase *aTest)
|
sl@0
|
6034 |
{
|
sl@0
|
6035 |
TText* lText = 0;
|
sl@0
|
6036 |
TText* rText = 0;
|
sl@0
|
6037 |
TInt lretval = KErrNone;
|
sl@0
|
6038 |
TInt rretval = KErrNone;
|
sl@0
|
6039 |
TInt oldTextLength = aOldText.Length();
|
sl@0
|
6040 |
|
sl@0
|
6041 |
#ifdef PRINT_RUNS
|
sl@0
|
6042 |
_LIT(KRunTitle, "Populating aOldText buffer with embedded runs of characters as follows:\r\n");
|
sl@0
|
6043 |
_LIT(KRunFormat, "Run %d begins with %04x\r\n");
|
sl@0
|
6044 |
_LIT(KEndRunFormat, "End of Run %d begins with %04x\r\n");
|
sl@0
|
6045 |
|
sl@0
|
6046 |
#endif // PRINT_RUNS
|
sl@0
|
6047 |
|
sl@0
|
6048 |
|
sl@0
|
6049 |
aTest->INFO_PRINTF1(_L("TBidirectionalState test - Complex text test\r\n"));
|
sl@0
|
6050 |
|
sl@0
|
6051 |
aTest->TEST(aOldText.Length() >= KBufferSize);
|
sl@0
|
6052 |
|
sl@0
|
6053 |
|
sl@0
|
6054 |
//Build up a lot of levels of L-R and R-L text
|
sl@0
|
6055 |
|
sl@0
|
6056 |
TextIterator ltorIterator(KLeftToRight, KLeftToRightLength);
|
sl@0
|
6057 |
TextIterator rtolIterator(KRightToLeft, KRightToLeftLength);
|
sl@0
|
6058 |
const TInt KRuns = 64;
|
sl@0
|
6059 |
const TInt KRunSize = ((KBufferSize/KRuns)/2 );
|
sl@0
|
6060 |
TInt runStart[KRuns];
|
sl@0
|
6061 |
TInt runEnd[KRuns];
|
sl@0
|
6062 |
TInt runStartSize[KRuns];
|
sl@0
|
6063 |
TInt runEndSize[KRuns];
|
sl@0
|
6064 |
while (!ltorIterator.Wrapped())
|
sl@0
|
6065 |
{
|
sl@0
|
6066 |
//Build up start of runs
|
sl@0
|
6067 |
TInt index = 0;
|
sl@0
|
6068 |
TInt run;
|
sl@0
|
6069 |
#ifdef PRINT_RUNS
|
sl@0
|
6070 |
aTest->INFO_PRINTF1(KRunTitle);
|
sl@0
|
6071 |
#endif // PRINT_RUNS
|
sl@0
|
6072 |
for (run = 0 ; run < KRuns ; run++)
|
sl@0
|
6073 |
{
|
sl@0
|
6074 |
runStart[run]=index;
|
sl@0
|
6075 |
if ((run & 1) == 0)
|
sl@0
|
6076 |
{
|
sl@0
|
6077 |
ltorIterator.FillInto(aOldText, index, KRunSize*(run+1));
|
sl@0
|
6078 |
}
|
sl@0
|
6079 |
else
|
sl@0
|
6080 |
{
|
sl@0
|
6081 |
rtolIterator.FillInto(aOldText, index, KRunSize*(run+1));
|
sl@0
|
6082 |
}
|
sl@0
|
6083 |
runStartSize[run] = index - runStart[run];
|
sl@0
|
6084 |
}
|
sl@0
|
6085 |
//Now fill in the ends
|
sl@0
|
6086 |
for (TInt brun = KRuns ; brun > 0 ; --brun)
|
sl@0
|
6087 |
{
|
sl@0
|
6088 |
run = brun - 1;
|
sl@0
|
6089 |
runEnd[run] = index;
|
sl@0
|
6090 |
if ((run & 1) == 0)
|
sl@0
|
6091 |
{
|
sl@0
|
6092 |
ltorIterator.FillInto(aOldText, index, KRunSize*(KRuns*2-run));
|
sl@0
|
6093 |
}
|
sl@0
|
6094 |
else
|
sl@0
|
6095 |
{
|
sl@0
|
6096 |
rtolIterator.FillInto(aOldText, index, KRunSize*(KRuns*2-run));
|
sl@0
|
6097 |
}
|
sl@0
|
6098 |
runEndSize[run] = index - runEnd[run];
|
sl@0
|
6099 |
}
|
sl@0
|
6100 |
aOldText.SetLength(index);
|
sl@0
|
6101 |
|
sl@0
|
6102 |
lretval = TBidirectionalState::ReorderText(aOldText.Ptr(), index, EParaLToR, lText);
|
sl@0
|
6103 |
rretval = TBidirectionalState::ReorderText(aOldText.Ptr(), index, EParaRToL, rText);
|
sl@0
|
6104 |
|
sl@0
|
6105 |
aTest->TEST(lretval == KErrNone);
|
sl@0
|
6106 |
aTest->TEST(rretval == KErrNone);
|
sl@0
|
6107 |
|
sl@0
|
6108 |
|
sl@0
|
6109 |
#ifdef PRINT_ARRAYS
|
sl@0
|
6110 |
_LIT(KHexTitleo, "Contents of aOldText");
|
sl@0
|
6111 |
_LIT(KHexTitlel, "Contents of lText");
|
sl@0
|
6112 |
_LIT(KHexTitler, "Contents of rText");
|
sl@0
|
6113 |
|
sl@0
|
6114 |
PrintTestData(KHexTitleo, aOldText);
|
sl@0
|
6115 |
PrintTestData(KHexTitlel, lText, KBufferSize);
|
sl@0
|
6116 |
PrintTestData(KHexTitler, rText, KBufferSize);
|
sl@0
|
6117 |
|
sl@0
|
6118 |
#endif // PRINT_ARRAYS
|
sl@0
|
6119 |
//LeftToRight Paragraph test - all but last run should be in-place,
|
sl@0
|
6120 |
//but the right-to-left text is reversed.
|
sl@0
|
6121 |
|
sl@0
|
6122 |
for (run = 0 ; run < (KRuns-1) ; ++run)
|
sl@0
|
6123 |
{
|
sl@0
|
6124 |
|
sl@0
|
6125 |
aTest->TEST( (KRunSize <= aOldText.Length() - runStart[run]) && (KRunSize <= KBufferSize - runStart[run]));
|
sl@0
|
6126 |
aTest->TEST( (KRunSize <= aOldText.Length() - runEnd[run]) && (KRunSize <= KBufferSize - runEnd[run]));
|
sl@0
|
6127 |
if ((run & 1) == 0)
|
sl@0
|
6128 |
{
|
sl@0
|
6129 |
aTest->TEST(TextInSameOrder (&aOldText.Ptr()[runStart[run]], &lText[runStart[run]], runStartSize[run]));
|
sl@0
|
6130 |
aTest->TEST(TextInSameOrder (&aOldText.Ptr()[runEnd[run]], &lText[runEnd[run]], runEndSize[run]));
|
sl@0
|
6131 |
}
|
sl@0
|
6132 |
else
|
sl@0
|
6133 |
{
|
sl@0
|
6134 |
aTest->TEST(TextInReverseOrder (&aOldText.Ptr()[runStart[run]], &lText[runStart[run]], runStartSize[run]));
|
sl@0
|
6135 |
aTest->TEST(TextInReverseOrder (&aOldText.Ptr()[runEnd[run]], &lText[runEnd[run]], runEndSize[run]));
|
sl@0
|
6136 |
}
|
sl@0
|
6137 |
}
|
sl@0
|
6138 |
|
sl@0
|
6139 |
run = KRuns-1; //now do last run, which is double-sized
|
sl@0
|
6140 |
|
sl@0
|
6141 |
aTest->TEST( (KRunSize*2 <= aOldText.Length() - runStart[run]) && (KRunSize*2 <= KBufferSize - runStart[run]));
|
sl@0
|
6142 |
if ((run & 1) == 0)
|
sl@0
|
6143 |
{
|
sl@0
|
6144 |
aTest->TEST(TextInSameOrder (&aOldText.Ptr()[runStart[run]], &lText[runStart[run]], runStartSize[run]+runEndSize[run]));
|
sl@0
|
6145 |
}
|
sl@0
|
6146 |
else
|
sl@0
|
6147 |
{
|
sl@0
|
6148 |
aTest->TEST(TextInReverseOrder (&aOldText.Ptr()[runStart[run]], &lText[runStart[run]], runStartSize[run]+runEndSize[run]));
|
sl@0
|
6149 |
}
|
sl@0
|
6150 |
|
sl@0
|
6151 |
//Right-To-Left Paragraph test - all runs are exchanged about the centre,
|
sl@0
|
6152 |
//so the last end run is swapped with the first run and so on
|
sl@0
|
6153 |
//and the right-to-left text is reversed.
|
sl@0
|
6154 |
for (run = 0 ; run < (KRuns-1) ; ++run)
|
sl@0
|
6155 |
{
|
sl@0
|
6156 |
|
sl@0
|
6157 |
aTest->TEST( (KRunSize <= aOldText.Length() - runStart[run]) && (KRunSize <= KBufferSize - runEnd[run]));
|
sl@0
|
6158 |
aTest->TEST( (KRunSize <= aOldText.Length() - runEnd[run]) && (KRunSize <= KBufferSize - runStart[run]));
|
sl@0
|
6159 |
if ((run & 1) == 0)
|
sl@0
|
6160 |
{
|
sl@0
|
6161 |
aTest->TEST(TextInSameOrder (&aOldText.Ptr()[runStart[run]], &rText[index-runStart[run+1]], runStartSize[run]));
|
sl@0
|
6162 |
aTest->TEST(TextInSameOrder (&aOldText.Ptr()[runEnd[run]], &rText[index-runEnd[run]-runEndSize[run]], runEndSize[run]));
|
sl@0
|
6163 |
}
|
sl@0
|
6164 |
else
|
sl@0
|
6165 |
{
|
sl@0
|
6166 |
aTest->TEST(TextInReverseOrder (&aOldText.Ptr()[runStart[run]], &rText[index-runStart[run+1]], runStartSize[run]));
|
sl@0
|
6167 |
aTest->TEST(TextInReverseOrder (&aOldText.Ptr()[runEnd[run]], &rText[index-runEnd[run]-runEndSize[run]], runEndSize[run]));
|
sl@0
|
6168 |
}
|
sl@0
|
6169 |
}
|
sl@0
|
6170 |
|
sl@0
|
6171 |
run = KRuns-1; //now do last run, which is double-sized
|
sl@0
|
6172 |
|
sl@0
|
6173 |
aTest->TEST( (KRunSize*2 <= aOldText.Length() - runStart[run]) && (KRunSize*2 <= KBufferSize - runStart[run]));
|
sl@0
|
6174 |
|
sl@0
|
6175 |
if ((run & 1) == 0)
|
sl@0
|
6176 |
{
|
sl@0
|
6177 |
|
sl@0
|
6178 |
aTest->TEST(TextInSameOrder (&aOldText.Ptr()[runStart[run]], &rText[index-runEnd[run-1]], runStartSize[run]+runEndSize[run]));
|
sl@0
|
6179 |
}
|
sl@0
|
6180 |
else
|
sl@0
|
6181 |
{
|
sl@0
|
6182 |
aTest->TEST(TextInReverseOrder (&aOldText.Ptr()[runStart[run]], &rText[index-runEnd[run-1]], runStartSize[run]+runEndSize[run]));
|
sl@0
|
6183 |
}
|
sl@0
|
6184 |
DeleteText(aOldText.Ptr(), lText, aTest);
|
sl@0
|
6185 |
DeleteText(aOldText.Ptr(), rText, aTest);
|
sl@0
|
6186 |
aOldText.SetLength(oldTextLength);
|
sl@0
|
6187 |
}
|
sl@0
|
6188 |
}
|
sl@0
|
6189 |
|
sl@0
|
6190 |
/**
|
sl@0
|
6191 |
@SYMTestCaseID GRAPHICS-GDI-BiDi-0003
|
sl@0
|
6192 |
|
sl@0
|
6193 |
@SYMDEF DEF105603
|
sl@0
|
6194 |
|
sl@0
|
6195 |
@SYMTestCaseDesc Test TBidirectionalState functionality (Unicode Bidirectional Algorithm impmentation withing SymbianOS)
|
sl@0
|
6196 |
|
sl@0
|
6197 |
@SYMTestPriority High
|
sl@0
|
6198 |
|
sl@0
|
6199 |
@SYMTestStatus Implemented
|
sl@0
|
6200 |
|
sl@0
|
6201 |
@SYMTestActions Test reordering text based on various combinations of formatting codes & characters
|
sl@0
|
6202 |
|
sl@0
|
6203 |
@SYMTestExpectedResults Confirmation the implementation conforms to the Unicode Birdirection Algorithm standard
|
sl@0
|
6204 |
*/
|
sl@0
|
6205 |
static void TestReorderTextL(CTGraphicsBase* aTest)
|
sl@0
|
6206 |
{
|
sl@0
|
6207 |
//Create buffer to hold test data
|
sl@0
|
6208 |
|
sl@0
|
6209 |
HBufC* oldTextBufPtr = HBufC::NewLC(KBufferSize);
|
sl@0
|
6210 |
|
sl@0
|
6211 |
//Force buffer to desired aSize
|
sl@0
|
6212 |
for (int i = 0 ; i < KBufferSize ; ++i)
|
sl@0
|
6213 |
{
|
sl@0
|
6214 |
oldTextBufPtr->Des().Append(0);
|
sl@0
|
6215 |
}
|
sl@0
|
6216 |
|
sl@0
|
6217 |
TPtr oldText(oldTextBufPtr->Des());
|
sl@0
|
6218 |
|
sl@0
|
6219 |
aTest->INFO_PRINTF1(_L("TBidirectionalState::ReorderText"));
|
sl@0
|
6220 |
|
sl@0
|
6221 |
LeftToRightReorderTest(oldText, aTest);
|
sl@0
|
6222 |
SimpleEuropeanNumberTest(oldText, aTest);
|
sl@0
|
6223 |
SimpleRightToLeftTest(oldText, aTest);
|
sl@0
|
6224 |
SimpleRightToLeftArabicTest(oldText, aTest);
|
sl@0
|
6225 |
|
sl@0
|
6226 |
MirroredCharacterTest(oldText, aTest);
|
sl@0
|
6227 |
|
sl@0
|
6228 |
LROLeftToRightTest(oldText, aTest);
|
sl@0
|
6229 |
LRORightToLeftTest(oldText, aTest);
|
sl@0
|
6230 |
RLORightToLeftTest(oldText, aTest);
|
sl@0
|
6231 |
RLORightToLeftArabicTest(oldText, aTest);
|
sl@0
|
6232 |
RLOLeftToRightTest(oldText, aTest);
|
sl@0
|
6233 |
|
sl@0
|
6234 |
LToRThenRToLTest(oldText, aTest);
|
sl@0
|
6235 |
LToRThenRToLATest(oldText, aTest);
|
sl@0
|
6236 |
RToLAThenLToRTest(oldText, aTest);
|
sl@0
|
6237 |
|
sl@0
|
6238 |
LToRThenRToLThenLToRThenRToLTest(oldText, aTest);
|
sl@0
|
6239 |
RToLThenLToRThenRToLThenLToRTest(oldText, aTest);
|
sl@0
|
6240 |
|
sl@0
|
6241 |
SimpleNumberTest(oldText, aTest);
|
sl@0
|
6242 |
|
sl@0
|
6243 |
RToLAThenANThenENThenRToLATest(oldText, aTest);
|
sl@0
|
6244 |
RToLAThenENThenANThenRToLATest(oldText, aTest);
|
sl@0
|
6245 |
RToLThenANThenENThenRToLTest(oldText, aTest);
|
sl@0
|
6246 |
RToLThenENThenANThenRToLTest(oldText, aTest);
|
sl@0
|
6247 |
LToRThenANThenENThenLToRTest(oldText, aTest);
|
sl@0
|
6248 |
LToRThenENThenANThenLToRTest(oldText, aTest);
|
sl@0
|
6249 |
LToRThenANThenENThenRToLTest(oldText, aTest);
|
sl@0
|
6250 |
LToRThenENThenANThenRToLTest(oldText, aTest);
|
sl@0
|
6251 |
LToRThenANThenENThenRToLATest(oldText, aTest);
|
sl@0
|
6252 |
LToRThenENThenANThenRToLATest(oldText, aTest);
|
sl@0
|
6253 |
RToLThenANThenENThenLToRTest(oldText, aTest);
|
sl@0
|
6254 |
RToLThenENThenANThenLToRTest(oldText, aTest);
|
sl@0
|
6255 |
RToLAThenANThenENThenLToRTest(oldText, aTest);
|
sl@0
|
6256 |
RToLAThenENThenANThenLToRTest(oldText, aTest);
|
sl@0
|
6257 |
RToLThenENThenETThenENTest(oldText, aTest);
|
sl@0
|
6258 |
RToLThenANThenETThenANTest(oldText, aTest);
|
sl@0
|
6259 |
RToLAThenENThenETThenENTest(oldText, aTest);
|
sl@0
|
6260 |
RToLAThenANThenETThenANTest(oldText, aTest);
|
sl@0
|
6261 |
|
sl@0
|
6262 |
ComplexTextTest(oldText, aTest);
|
sl@0
|
6263 |
|
sl@0
|
6264 |
aTest->INFO_PRINTF1(_L("TBidirectionalState::ReorderText tests complete\r\n"));
|
sl@0
|
6265 |
|
sl@0
|
6266 |
CleanupStack::PopAndDestroy();
|
sl@0
|
6267 |
}
|
sl@0
|
6268 |
};
|
sl@0
|
6269 |
|
sl@0
|
6270 |
/**
|
sl@0
|
6271 |
* Test behaviour of text reordering under normal & OOM conditions
|
sl@0
|
6272 |
*
|
sl@0
|
6273 |
* @param "MOOMTest& aOOMTest"
|
sl@0
|
6274 |
* Reference to the BD test object
|
sl@0
|
6275 |
*/
|
sl@0
|
6276 |
void CTBiDi::TestOOML(MOOMTest& aOOMTest)
|
sl@0
|
6277 |
{
|
sl@0
|
6278 |
aOOMTest.SetUpL();
|
sl@0
|
6279 |
aOOMTest.ManipulateL();
|
sl@0
|
6280 |
aOOMTest.TearDown();
|
sl@0
|
6281 |
TInt successesRequired = aOOMTest.ConsecutivePassesRequired();
|
sl@0
|
6282 |
__ASSERT_DEBUG(0 < successesRequired, User::Panic(_L("TBiDi"), KErrGeneral));
|
sl@0
|
6283 |
TInt consecutiveSuccesses = 0;
|
sl@0
|
6284 |
for (TInt i = 1; consecutiveSuccesses != successesRequired; ++i)
|
sl@0
|
6285 |
{
|
sl@0
|
6286 |
TInt pHCountStart;
|
sl@0
|
6287 |
TInt tHCountStart;
|
sl@0
|
6288 |
RThread().HandleCount(pHCountStart,tHCountStart);
|
sl@0
|
6289 |
__UHEAP_MARK;
|
sl@0
|
6290 |
|
sl@0
|
6291 |
aOOMTest.SetUpL();
|
sl@0
|
6292 |
__UHEAP_SETFAIL(RHeap::EDeterministic, i);
|
sl@0
|
6293 |
TRAPD(err, aOOMTest.ManipulateL());
|
sl@0
|
6294 |
if (err == KErrNone)
|
sl@0
|
6295 |
{
|
sl@0
|
6296 |
aOOMTest.TestIfPassedL(this);
|
sl@0
|
6297 |
++consecutiveSuccesses;
|
sl@0
|
6298 |
}
|
sl@0
|
6299 |
else
|
sl@0
|
6300 |
{
|
sl@0
|
6301 |
aOOMTest.TestLeftCleanlyL(this);
|
sl@0
|
6302 |
consecutiveSuccesses = 0;
|
sl@0
|
6303 |
}
|
sl@0
|
6304 |
aOOMTest.TearDown();
|
sl@0
|
6305 |
__UHEAP_SETFAIL(RHeap::ENone, 0);
|
sl@0
|
6306 |
|
sl@0
|
6307 |
// test no memory or handles leaked
|
sl@0
|
6308 |
__UHEAP_MARKENDC(0);
|
sl@0
|
6309 |
TInt pHCountEnd;
|
sl@0
|
6310 |
TInt tHCountEnd;
|
sl@0
|
6311 |
RThread().HandleCount(pHCountEnd,tHCountEnd);
|
sl@0
|
6312 |
TEST(pHCountStart == pHCountEnd);
|
sl@0
|
6313 |
TEST(tHCountStart == tHCountEnd);
|
sl@0
|
6314 |
}
|
sl@0
|
6315 |
}
|
sl@0
|
6316 |
|
sl@0
|
6317 |
class TReorderTextOOMTest : public MOOMTest
|
sl@0
|
6318 |
{
|
sl@0
|
6319 |
const TDesC* iText;
|
sl@0
|
6320 |
TBool iRightToLeft;
|
sl@0
|
6321 |
const TDesC* iReorderedText;
|
sl@0
|
6322 |
TText* iBuffer;
|
sl@0
|
6323 |
TInt iReturnValue;
|
sl@0
|
6324 |
public:
|
sl@0
|
6325 |
TReorderTextOOMTest(const TDesC& aText, TBool aRightToLeft, const TDesC& aReorderedText)
|
sl@0
|
6326 |
: iText(&aText), iRightToLeft(aRightToLeft), iReorderedText(&aReorderedText),
|
sl@0
|
6327 |
iBuffer(0), iReturnValue(0)
|
sl@0
|
6328 |
{}
|
sl@0
|
6329 |
virtual ~TReorderTextOOMTest() { TearDown(); }
|
sl@0
|
6330 |
void Initialize(const TDesC& aText, TBool aRightToLeft,
|
sl@0
|
6331 |
const TDesC& aReorderedText)
|
sl@0
|
6332 |
{
|
sl@0
|
6333 |
TearDown();
|
sl@0
|
6334 |
iText = &aText;
|
sl@0
|
6335 |
iRightToLeft = aRightToLeft;
|
sl@0
|
6336 |
iReorderedText = &aReorderedText;
|
sl@0
|
6337 |
}
|
sl@0
|
6338 |
void SetUpL()
|
sl@0
|
6339 |
{
|
sl@0
|
6340 |
iBuffer = 0;
|
sl@0
|
6341 |
iReturnValue = 0;
|
sl@0
|
6342 |
}
|
sl@0
|
6343 |
void ManipulateL()
|
sl@0
|
6344 |
{
|
sl@0
|
6345 |
iReturnValue = TBidirectionalState::ReorderText(iText->Ptr(),
|
sl@0
|
6346 |
iText->Length(), iRightToLeft, iBuffer);
|
sl@0
|
6347 |
User::LeaveIfError(iReturnValue);
|
sl@0
|
6348 |
}
|
sl@0
|
6349 |
static TBool IsIgnorable(TText a)
|
sl@0
|
6350 |
{
|
sl@0
|
6351 |
if (a == 0xFFFF)
|
sl@0
|
6352 |
return ETrue;
|
sl@0
|
6353 |
if (a < 0x202A || 0x202E < a)
|
sl@0
|
6354 |
return EFalse;
|
sl@0
|
6355 |
return ETrue;
|
sl@0
|
6356 |
}
|
sl@0
|
6357 |
static TBool StringsMatch(const TText* a1, TInt a1Len,
|
sl@0
|
6358 |
const TText* a2, TInt a2Len)
|
sl@0
|
6359 |
{
|
sl@0
|
6360 |
const TText* a1End = a1 + a1Len;
|
sl@0
|
6361 |
const TText* a2End = a2 + a2Len;
|
sl@0
|
6362 |
for (;;)
|
sl@0
|
6363 |
{
|
sl@0
|
6364 |
while (a1 != a1End && IsIgnorable(*a1))
|
sl@0
|
6365 |
++a1;
|
sl@0
|
6366 |
while (a2 != a2End && IsIgnorable(*a2))
|
sl@0
|
6367 |
++a2;
|
sl@0
|
6368 |
if (a1 == a1End)
|
sl@0
|
6369 |
return a2 == a2End;
|
sl@0
|
6370 |
else if (a2 == a2End)
|
sl@0
|
6371 |
return EFalse;
|
sl@0
|
6372 |
if (*a1 != *a2)
|
sl@0
|
6373 |
return EFalse;
|
sl@0
|
6374 |
++a1;
|
sl@0
|
6375 |
++a2;
|
sl@0
|
6376 |
}
|
sl@0
|
6377 |
}
|
sl@0
|
6378 |
|
sl@0
|
6379 |
void TestIfPassedL(CTGraphicsBase* aTest)
|
sl@0
|
6380 |
{
|
sl@0
|
6381 |
// test the reordered text was returned in iBuffer (as per SDK documentation for TBidirectionalState::ReorderText)
|
sl@0
|
6382 |
aTest->TEST(iBuffer != 0);
|
sl@0
|
6383 |
aTest->TEST( StringsMatch(iBuffer, iText->Length(), iReorderedText->Ptr(), iReorderedText->Length()) );
|
sl@0
|
6384 |
}
|
sl@0
|
6385 |
|
sl@0
|
6386 |
void TestLeftCleanlyL(CTGraphicsBase* aTest)
|
sl@0
|
6387 |
{
|
sl@0
|
6388 |
// test the original text was returned in iBuffer (as per SDK documentation for TBidirectionalState::ReorderText)
|
sl@0
|
6389 |
aTest->TEST(iBuffer != 0);
|
sl@0
|
6390 |
aTest->TEST( StringsMatch(iBuffer, iText->Length(), iText->Ptr(), iText->Length()) );
|
sl@0
|
6391 |
}
|
sl@0
|
6392 |
|
sl@0
|
6393 |
void TearDown()
|
sl@0
|
6394 |
{
|
sl@0
|
6395 |
if (iBuffer != iText->Ptr())
|
sl@0
|
6396 |
delete[] iBuffer;
|
sl@0
|
6397 |
iBuffer = 0;
|
sl@0
|
6398 |
}
|
sl@0
|
6399 |
};
|
sl@0
|
6400 |
|
sl@0
|
6401 |
/**
|
sl@0
|
6402 |
*
|
sl@0
|
6403 |
* Prints some details about an array of TBidirectionalState::TRunInfo objects to the test console.
|
sl@0
|
6404 |
* This function prints each character of text with category code and Bidirectional category
|
sl@0
|
6405 |
*
|
sl@0
|
6406 |
*
|
sl@0
|
6407 |
* @param "const TBidirectionalState::TRunInfo* aRunArray"
|
sl@0
|
6408 |
* Points to the array of run info objects
|
sl@0
|
6409 |
*
|
sl@0
|
6410 |
* @param "const TInt aRuns"
|
sl@0
|
6411 |
* Number of objects in the array
|
sl@0
|
6412 |
*
|
sl@0
|
6413 |
* @param "const TText* aText"
|
sl@0
|
6414 |
* The text which after being analysed by the Bidirectional Algorithm resulted in
|
sl@0
|
6415 |
* the array of run info objects.
|
sl@0
|
6416 |
*
|
sl@0
|
6417 |
* @param "const TBool aInternal"
|
sl@0
|
6418 |
* The iCategory element of a run info object may be encoded in two ways, either
|
sl@0
|
6419 |
* the codes used by TChar or those used by TBidirectionalState. If this flag is ETrue
|
sl@0
|
6420 |
* the value is interpreted as a TBidirectionalState code.
|
sl@0
|
6421 |
*
|
sl@0
|
6422 |
*/
|
sl@0
|
6423 |
void CTBiDi::PrintRunCategories(const TBidirectionalState::TRunInfo* aRunArray, const TInt aRuns, const TText* aText, const TBool aInternal)
|
sl@0
|
6424 |
{
|
sl@0
|
6425 |
TBuf16<100> line2;
|
sl@0
|
6426 |
TBuf16<100> line3;
|
sl@0
|
6427 |
TBuf16<100> line4;
|
sl@0
|
6428 |
TBuf16<100> line5;
|
sl@0
|
6429 |
line2.Fill(' ',100);
|
sl@0
|
6430 |
line3.Fill(' ',100);
|
sl@0
|
6431 |
line4.Fill(' ',100);
|
sl@0
|
6432 |
line5.Fill(' ',100);
|
sl@0
|
6433 |
for (int ii = 0 ; ii < aRuns ; ++ii)
|
sl@0
|
6434 |
{
|
sl@0
|
6435 |
TUint cat = aRunArray[ii].iCategory;
|
sl@0
|
6436 |
if (aInternal)
|
sl@0
|
6437 |
{
|
sl@0
|
6438 |
cat = 1 << cat; //translate from the form used by TChar to that used internally
|
sl@0
|
6439 |
//in TBidirectionalText.
|
sl@0
|
6440 |
}
|
sl@0
|
6441 |
for (int jj = aRunArray[ii].iStart ;
|
sl@0
|
6442 |
(jj < aRunArray[ii].iStart+aRunArray[ii].iLength) ; ++jj)
|
sl@0
|
6443 |
{
|
sl@0
|
6444 |
line2[jj] = aText[jj];
|
sl@0
|
6445 |
switch(cat)
|
sl@0
|
6446 |
{
|
sl@0
|
6447 |
|
sl@0
|
6448 |
case ELeftToRight:
|
sl@0
|
6449 |
line3[jj] = 'L';
|
sl@0
|
6450 |
line4[jj] = ' ';
|
sl@0
|
6451 |
line5[jj] = ' ';
|
sl@0
|
6452 |
break;
|
sl@0
|
6453 |
case ELeftToRightEmbedding:
|
sl@0
|
6454 |
line3[jj] = 'L';
|
sl@0
|
6455 |
line4[jj] = 'R';
|
sl@0
|
6456 |
line5[jj] = 'E';
|
sl@0
|
6457 |
break;
|
sl@0
|
6458 |
case ELeftToRightOverride:
|
sl@0
|
6459 |
line3[jj] = 'L';
|
sl@0
|
6460 |
line4[jj] = 'R';
|
sl@0
|
6461 |
line5[jj] = 'O';
|
sl@0
|
6462 |
break;
|
sl@0
|
6463 |
case ERightToLeft:
|
sl@0
|
6464 |
line3[jj] = 'R';
|
sl@0
|
6465 |
line4[jj] = ' ';
|
sl@0
|
6466 |
line5[jj] = ' ';
|
sl@0
|
6467 |
break;
|
sl@0
|
6468 |
case ERightToLeftArabic:
|
sl@0
|
6469 |
line3[jj] = 'A';
|
sl@0
|
6470 |
line4[jj] = 'L';
|
sl@0
|
6471 |
line5[jj] = ' ';
|
sl@0
|
6472 |
break;
|
sl@0
|
6473 |
case ERightToLeftEmbedding:
|
sl@0
|
6474 |
line3[jj] = 'R';
|
sl@0
|
6475 |
line4[jj] = 'L';
|
sl@0
|
6476 |
line5[jj] = 'E';
|
sl@0
|
6477 |
break;
|
sl@0
|
6478 |
case ERightToLeftOverride:
|
sl@0
|
6479 |
line3[jj] = 'R';
|
sl@0
|
6480 |
line4[jj] = 'L';
|
sl@0
|
6481 |
line5[jj] = 'O';
|
sl@0
|
6482 |
break;
|
sl@0
|
6483 |
case EPopDirectionalFormat:
|
sl@0
|
6484 |
line3[jj] = 'P';
|
sl@0
|
6485 |
line4[jj] = 'D';
|
sl@0
|
6486 |
line5[jj] = 'F';
|
sl@0
|
6487 |
break;
|
sl@0
|
6488 |
case EEuropeanNumber:
|
sl@0
|
6489 |
line3[jj] = 'E';
|
sl@0
|
6490 |
line4[jj] = 'N';
|
sl@0
|
6491 |
line5[jj] = ' ';
|
sl@0
|
6492 |
break;
|
sl@0
|
6493 |
case EEuropeanNumberSeparator:
|
sl@0
|
6494 |
line3[jj] = 'E';
|
sl@0
|
6495 |
line4[jj] = 'S';
|
sl@0
|
6496 |
line5[jj] = ' ';
|
sl@0
|
6497 |
break;
|
sl@0
|
6498 |
case EEuropeanNumberTerminator:
|
sl@0
|
6499 |
line3[jj] = 'E';
|
sl@0
|
6500 |
line4[jj] = 'T';
|
sl@0
|
6501 |
line5[jj] = ' ';
|
sl@0
|
6502 |
break;
|
sl@0
|
6503 |
case EArabicNumber:
|
sl@0
|
6504 |
line3[jj] = 'A';
|
sl@0
|
6505 |
line4[jj] = 'N';
|
sl@0
|
6506 |
line5[jj] = ' ';
|
sl@0
|
6507 |
break;
|
sl@0
|
6508 |
case ECommonNumberSeparator:
|
sl@0
|
6509 |
line3[jj] = 'C';
|
sl@0
|
6510 |
line4[jj] = 'S';
|
sl@0
|
6511 |
line5[jj] = ' ';
|
sl@0
|
6512 |
break;
|
sl@0
|
6513 |
case ENonSpacingMark:
|
sl@0
|
6514 |
line3[jj] = 'N';
|
sl@0
|
6515 |
line4[jj] = 'S';
|
sl@0
|
6516 |
line5[jj] = 'M';
|
sl@0
|
6517 |
break;
|
sl@0
|
6518 |
case EBoundaryNeutral:
|
sl@0
|
6519 |
line3[jj] = 'B';
|
sl@0
|
6520 |
line4[jj] = 'N';
|
sl@0
|
6521 |
line5[jj] = ' ';
|
sl@0
|
6522 |
break;
|
sl@0
|
6523 |
case EParagraphSeparator:
|
sl@0
|
6524 |
line3[jj] = 'B';
|
sl@0
|
6525 |
line4[jj] = ' ';
|
sl@0
|
6526 |
line5[jj] = ' ';
|
sl@0
|
6527 |
break;
|
sl@0
|
6528 |
case ESegmentSeparator:
|
sl@0
|
6529 |
line3[jj] = 'S';
|
sl@0
|
6530 |
line4[jj] = ' ';
|
sl@0
|
6531 |
line5[jj] = ' ';
|
sl@0
|
6532 |
break;
|
sl@0
|
6533 |
case EWhitespace:
|
sl@0
|
6534 |
line3[jj] = 'W';
|
sl@0
|
6535 |
line4[jj] = 'S';
|
sl@0
|
6536 |
line5[jj] = ' ';
|
sl@0
|
6537 |
break;
|
sl@0
|
6538 |
case EOtherNeutral:
|
sl@0
|
6539 |
line3[jj] = 'O';
|
sl@0
|
6540 |
line4[jj] = 'N';
|
sl@0
|
6541 |
line5[jj] = ' ';
|
sl@0
|
6542 |
break;
|
sl@0
|
6543 |
case EStartOfParagraph:
|
sl@0
|
6544 |
line3[jj] = 'S';
|
sl@0
|
6545 |
line4[jj] = 'O';
|
sl@0
|
6546 |
line5[jj] = 'P';
|
sl@0
|
6547 |
break;
|
sl@0
|
6548 |
case EEndOfParagraph:
|
sl@0
|
6549 |
line3[jj] = 'E';
|
sl@0
|
6550 |
line4[jj] = 'O';
|
sl@0
|
6551 |
line5[jj] = 'P';
|
sl@0
|
6552 |
break;
|
sl@0
|
6553 |
default:
|
sl@0
|
6554 |
line3[jj] = '?';
|
sl@0
|
6555 |
line4[jj] = ' ';
|
sl@0
|
6556 |
line5[jj] = ' ';
|
sl@0
|
6557 |
break;
|
sl@0
|
6558 |
}
|
sl@0
|
6559 |
}
|
sl@0
|
6560 |
}
|
sl@0
|
6561 |
line2.TrimRight();
|
sl@0
|
6562 |
line3.TrimRight();
|
sl@0
|
6563 |
line4.TrimRight();
|
sl@0
|
6564 |
line5.TrimRight();
|
sl@0
|
6565 |
line2.ZeroTerminate();
|
sl@0
|
6566 |
line3.ZeroTerminate();
|
sl@0
|
6567 |
line4.ZeroTerminate();
|
sl@0
|
6568 |
line5.ZeroTerminate();
|
sl@0
|
6569 |
INFO_PRINTF2(KSingleString, line2.Ptr());
|
sl@0
|
6570 |
INFO_PRINTF2(KSingleString, line3.Ptr());
|
sl@0
|
6571 |
INFO_PRINTF2(KSingleString, line4.Ptr());
|
sl@0
|
6572 |
INFO_PRINTF2(KSingleString, line5.Ptr());
|
sl@0
|
6573 |
}
|
sl@0
|
6574 |
|
sl@0
|
6575 |
/**
|
sl@0
|
6576 |
*
|
sl@0
|
6577 |
* Prints some details about an array of TBidirectionalState::TRunInfo objects to the test console.
|
sl@0
|
6578 |
* This function prints each character of text with the embedding level and Bidirectional category
|
sl@0
|
6579 |
*
|
sl@0
|
6580 |
*
|
sl@0
|
6581 |
* @param "const TBidirectionalState::TRunInfo* aRunArray"
|
sl@0
|
6582 |
* Points to the array of run info objects
|
sl@0
|
6583 |
*
|
sl@0
|
6584 |
* @param "const TInt aRuns"
|
sl@0
|
6585 |
* Number of objects in the array
|
sl@0
|
6586 |
*
|
sl@0
|
6587 |
* @param "const TText* aText"
|
sl@0
|
6588 |
* The text which after being analysed by the Bidirectional Algorithm resulted in
|
sl@0
|
6589 |
* the array of run info objects.
|
sl@0
|
6590 |
*
|
sl@0
|
6591 |
*
|
sl@0
|
6592 |
*/
|
sl@0
|
6593 |
void CTBiDi::PrintRunArray(const TBidirectionalState::TRunInfo* aRunArray, const TInt aRuns, const TText* aText)
|
sl@0
|
6594 |
{
|
sl@0
|
6595 |
if (aRunArray)
|
sl@0
|
6596 |
{
|
sl@0
|
6597 |
#ifdef PRINT_RUN_DETAILS
|
sl@0
|
6598 |
_LIT(KRunFmt, "Run %d - Category %d Level %d Direction %d Index %d Start %d Length %d");
|
sl@0
|
6599 |
#endif // PRINT_RUN_DETAILS
|
sl@0
|
6600 |
|
sl@0
|
6601 |
TBuf16<100> line1;
|
sl@0
|
6602 |
TBuf16<100> line2;
|
sl@0
|
6603 |
TBuf16<100> line3;
|
sl@0
|
6604 |
TBuf16<100> line4;
|
sl@0
|
6605 |
TBuf16<100> line5;
|
sl@0
|
6606 |
line1.Zero();
|
sl@0
|
6607 |
line2.Zero();
|
sl@0
|
6608 |
line3.Zero();
|
sl@0
|
6609 |
line4.Zero();
|
sl@0
|
6610 |
line5.Zero();
|
sl@0
|
6611 |
for (int ii = 0 ; ii < aRuns ; ++ii)
|
sl@0
|
6612 |
{
|
sl@0
|
6613 |
#ifdef PRINT_RUN_DETAILS
|
sl@0
|
6614 |
aTest->INFO_PRINTF1(KRunFmt, ii, aRunArray[ii].iCategory,
|
sl@0
|
6615 |
aRunArray[ii].iEmbeddingLevel,
|
sl@0
|
6616 |
aRunArray[ii].iDirection,
|
sl@0
|
6617 |
aRunArray[ii].iIndex,
|
sl@0
|
6618 |
aRunArray[ii].iStart,
|
sl@0
|
6619 |
aRunArray[ii].iLength);
|
sl@0
|
6620 |
#endif // PRINT_RUN_DETAILS
|
sl@0
|
6621 |
//mark up each character slot with embedding level.
|
sl@0
|
6622 |
//Only works well for small values of the embedding level!
|
sl@0
|
6623 |
for (int jj = aRunArray[ii].iStart ;
|
sl@0
|
6624 |
(jj < aRunArray[ii].iStart+aRunArray[ii].iLength) ; ++jj)
|
sl@0
|
6625 |
{
|
sl@0
|
6626 |
line1.Append(aText[jj]);
|
sl@0
|
6627 |
line2.Append(static_cast<TUint16>(aRunArray[ii].iEmbeddingLevel + '0'));
|
sl@0
|
6628 |
switch(aRunArray[ii].iCategory)
|
sl@0
|
6629 |
{
|
sl@0
|
6630 |
|
sl@0
|
6631 |
case ELeftToRight:
|
sl@0
|
6632 |
line3.Append('L');
|
sl@0
|
6633 |
line4.Append(' ');
|
sl@0
|
6634 |
line5.Append(' ');
|
sl@0
|
6635 |
break;
|
sl@0
|
6636 |
case ELeftToRightEmbedding:
|
sl@0
|
6637 |
line3.Append('L');
|
sl@0
|
6638 |
line4.Append('R');
|
sl@0
|
6639 |
line5.Append('E');
|
sl@0
|
6640 |
break;
|
sl@0
|
6641 |
case ELeftToRightOverride:
|
sl@0
|
6642 |
line3.Append('L');
|
sl@0
|
6643 |
line4.Append('R');
|
sl@0
|
6644 |
line5.Append('O');
|
sl@0
|
6645 |
break;
|
sl@0
|
6646 |
case ERightToLeft:
|
sl@0
|
6647 |
line3.Append('R');
|
sl@0
|
6648 |
line4.Append(' ');
|
sl@0
|
6649 |
line5.Append(' ');
|
sl@0
|
6650 |
break;
|
sl@0
|
6651 |
case ERightToLeftArabic:
|
sl@0
|
6652 |
line3.Append('A');
|
sl@0
|
6653 |
line4.Append('L');
|
sl@0
|
6654 |
line5.Append(' ');
|
sl@0
|
6655 |
break;
|
sl@0
|
6656 |
case ERightToLeftEmbedding:
|
sl@0
|
6657 |
line3.Append('R');
|
sl@0
|
6658 |
line4.Append('L');
|
sl@0
|
6659 |
line5.Append('E');
|
sl@0
|
6660 |
break;
|
sl@0
|
6661 |
case ERightToLeftOverride:
|
sl@0
|
6662 |
line3.Append('R');
|
sl@0
|
6663 |
line4.Append('L');
|
sl@0
|
6664 |
line5.Append('O');
|
sl@0
|
6665 |
break;
|
sl@0
|
6666 |
case EPopDirectionalFormat:
|
sl@0
|
6667 |
line3.Append('P');
|
sl@0
|
6668 |
line4.Append('D');
|
sl@0
|
6669 |
line5.Append('F');
|
sl@0
|
6670 |
break;
|
sl@0
|
6671 |
case EEuropeanNumber:
|
sl@0
|
6672 |
line3.Append('E');
|
sl@0
|
6673 |
line4.Append('N');
|
sl@0
|
6674 |
line5.Append(' ');
|
sl@0
|
6675 |
break;
|
sl@0
|
6676 |
case EEuropeanNumberSeparator:
|
sl@0
|
6677 |
line3.Append('E');
|
sl@0
|
6678 |
line4.Append('S');
|
sl@0
|
6679 |
line5.Append(' ');
|
sl@0
|
6680 |
break;
|
sl@0
|
6681 |
case EEuropeanNumberTerminator:
|
sl@0
|
6682 |
line3.Append('E');
|
sl@0
|
6683 |
line4.Append('T');
|
sl@0
|
6684 |
line5.Append(' ');
|
sl@0
|
6685 |
break;
|
sl@0
|
6686 |
case EArabicNumber:
|
sl@0
|
6687 |
line3.Append('A');
|
sl@0
|
6688 |
line4.Append('N');
|
sl@0
|
6689 |
line5.Append(' ');
|
sl@0
|
6690 |
break;
|
sl@0
|
6691 |
case ECommonNumberSeparator:
|
sl@0
|
6692 |
line3.Append('C');
|
sl@0
|
6693 |
line4.Append('S');
|
sl@0
|
6694 |
line5.Append(' ');
|
sl@0
|
6695 |
break;
|
sl@0
|
6696 |
case ENonSpacingMark:
|
sl@0
|
6697 |
line3.Append('N');
|
sl@0
|
6698 |
line4.Append('S');
|
sl@0
|
6699 |
line5.Append('M');
|
sl@0
|
6700 |
break;
|
sl@0
|
6701 |
case EBoundaryNeutral:
|
sl@0
|
6702 |
line3.Append('B');
|
sl@0
|
6703 |
line4.Append('N');
|
sl@0
|
6704 |
line5.Append(' ');
|
sl@0
|
6705 |
break;
|
sl@0
|
6706 |
case EParagraphSeparator:
|
sl@0
|
6707 |
line3.Append('B');
|
sl@0
|
6708 |
line4.Append(' ');
|
sl@0
|
6709 |
line5.Append(' ');
|
sl@0
|
6710 |
break;
|
sl@0
|
6711 |
case ESegmentSeparator:
|
sl@0
|
6712 |
line3.Append('S');
|
sl@0
|
6713 |
line4.Append(' ');
|
sl@0
|
6714 |
line5.Append(' ');
|
sl@0
|
6715 |
break;
|
sl@0
|
6716 |
case EWhitespace:
|
sl@0
|
6717 |
line3.Append('W');
|
sl@0
|
6718 |
line4.Append('S');
|
sl@0
|
6719 |
line5.Append(' ');
|
sl@0
|
6720 |
break;
|
sl@0
|
6721 |
case EOtherNeutral:
|
sl@0
|
6722 |
line3.Append('O');
|
sl@0
|
6723 |
line4.Append('N');
|
sl@0
|
6724 |
line5.Append(' ');
|
sl@0
|
6725 |
break;
|
sl@0
|
6726 |
case EStartOfParagraph:
|
sl@0
|
6727 |
line3.Append('S');
|
sl@0
|
6728 |
line4.Append('O');
|
sl@0
|
6729 |
line5.Append('P');
|
sl@0
|
6730 |
break;
|
sl@0
|
6731 |
case EEndOfParagraph:
|
sl@0
|
6732 |
line3.Append('E');
|
sl@0
|
6733 |
line4.Append('O');
|
sl@0
|
6734 |
line5.Append('P');
|
sl@0
|
6735 |
break;
|
sl@0
|
6736 |
default:
|
sl@0
|
6737 |
line3.Append('?');
|
sl@0
|
6738 |
line4.Append(' ');
|
sl@0
|
6739 |
line5.Append(' ');
|
sl@0
|
6740 |
break;
|
sl@0
|
6741 |
}
|
sl@0
|
6742 |
}
|
sl@0
|
6743 |
}
|
sl@0
|
6744 |
|
sl@0
|
6745 |
line1.ZeroTerminate();
|
sl@0
|
6746 |
line2.ZeroTerminate();
|
sl@0
|
6747 |
line3.ZeroTerminate();
|
sl@0
|
6748 |
line4.ZeroTerminate();
|
sl@0
|
6749 |
line5.ZeroTerminate();
|
sl@0
|
6750 |
INFO_PRINTF2(KSingleString, line1.Ptr());
|
sl@0
|
6751 |
INFO_PRINTF2(KSingleString, line2.Ptr());
|
sl@0
|
6752 |
INFO_PRINTF2(KSingleString, line3.Ptr());
|
sl@0
|
6753 |
INFO_PRINTF2(KSingleString, line4.Ptr());
|
sl@0
|
6754 |
INFO_PRINTF2(KSingleString, line5.Ptr());
|
sl@0
|
6755 |
}
|
sl@0
|
6756 |
|
sl@0
|
6757 |
}
|
sl@0
|
6758 |
|
sl@0
|
6759 |
|
sl@0
|
6760 |
#define TEST_BUF_LEN 80
|
sl@0
|
6761 |
|
sl@0
|
6762 |
/**
|
sl@0
|
6763 |
The Unicode Example test class
|
sl@0
|
6764 |
|
sl@0
|
6765 |
This class contains functions that support tests based on the examples given by
|
sl@0
|
6766 |
Unicode Standard Annexe 9
|
sl@0
|
6767 |
|
sl@0
|
6768 |
Those examples use UPPER CASE latin letters to represent Arabic letters and quotes
|
sl@0
|
6769 |
to represent embedding levels.
|
sl@0
|
6770 |
|
sl@0
|
6771 |
The functions of this class allow the example to be transcoded using real Arabic letters and
|
sl@0
|
6772 |
LRE and RLE embedding codes before applying the bidirectional algorithm.
|
sl@0
|
6773 |
|
sl@0
|
6774 |
*/
|
sl@0
|
6775 |
class TUnicodeExampleOOMTest : public MOOMTest
|
sl@0
|
6776 |
{
|
sl@0
|
6777 |
TBuf<TEST_BUF_LEN> iText;
|
sl@0
|
6778 |
TBuf<TEST_BUF_LEN> iOriginalText;
|
sl@0
|
6779 |
TBuf<TEST_BUF_LEN> iPrintData;
|
sl@0
|
6780 |
TBool iRightToLeft;
|
sl@0
|
6781 |
TBuf<TEST_BUF_LEN> iReorderedText;
|
sl@0
|
6782 |
TText* iBuffer;
|
sl@0
|
6783 |
TInt iReturnValue;
|
sl@0
|
6784 |
TInt iAlef;
|
sl@0
|
6785 |
TPtrC iArabicChars;
|
sl@0
|
6786 |
TBool iFirst;
|
sl@0
|
6787 |
enum {
|
sl@0
|
6788 |
EAlef = 0x627
|
sl@0
|
6789 |
};
|
sl@0
|
6790 |
|
sl@0
|
6791 |
public:
|
sl@0
|
6792 |
TUnicodeExampleOOMTest(const TDesC& aText, TBool aRightToLeft,
|
sl@0
|
6793 |
const TDesC& aReorderedText, CTGraphicsBase* aTest)
|
sl@0
|
6794 |
: iOriginalText(aText),
|
sl@0
|
6795 |
iRightToLeft(aRightToLeft),
|
sl@0
|
6796 |
iBuffer(0),
|
sl@0
|
6797 |
iReturnValue(0),
|
sl@0
|
6798 |
iArabicChars(KRightToLeftArabic, KRightToLeftArabicLength)
|
sl@0
|
6799 |
{
|
sl@0
|
6800 |
//Find position of arabic letters in table
|
sl@0
|
6801 |
iAlef = iArabicChars.Locate(EAlef);
|
sl@0
|
6802 |
iText.SetLength(iText.MaxLength()); //set buffer to max size to begin with ensuring first copy fills whole buffer
|
sl@0
|
6803 |
iReorderedText.SetLength(iReorderedText.MaxLength()); //set buffer to max size to begin with
|
sl@0
|
6804 |
CopyAndMapToArabic(iText, aText, aTest);
|
sl@0
|
6805 |
CopyAndMapToArabic(iReorderedText, aReorderedText, aTest);
|
sl@0
|
6806 |
}
|
sl@0
|
6807 |
virtual ~TUnicodeExampleOOMTest() { TearDown(); }
|
sl@0
|
6808 |
void Initialize(const TDesC& aText, TBool aRightToLeft,
|
sl@0
|
6809 |
const TDesC& aReorderedText, CTGraphicsBase* aTest)
|
sl@0
|
6810 |
{
|
sl@0
|
6811 |
TearDown();
|
sl@0
|
6812 |
iOriginalText = aText;
|
sl@0
|
6813 |
CopyAndMapToArabic(iText, aText, aTest);
|
sl@0
|
6814 |
iRightToLeft = aRightToLeft;
|
sl@0
|
6815 |
CopyAndMapToArabic(iReorderedText, aReorderedText, aTest);
|
sl@0
|
6816 |
}
|
sl@0
|
6817 |
void SetUpL()
|
sl@0
|
6818 |
{
|
sl@0
|
6819 |
iBuffer = 0;
|
sl@0
|
6820 |
iReturnValue = 0;
|
sl@0
|
6821 |
}
|
sl@0
|
6822 |
void ManipulateL()
|
sl@0
|
6823 |
{
|
sl@0
|
6824 |
iReturnValue = TBidirectionalState::ReorderText(iText.Ptr(),
|
sl@0
|
6825 |
iText.Length(), iRightToLeft, iBuffer);
|
sl@0
|
6826 |
User::LeaveIfError(iReturnValue);
|
sl@0
|
6827 |
}
|
sl@0
|
6828 |
|
sl@0
|
6829 |
TUint MapToArabic(TUint aChar)
|
sl@0
|
6830 |
{
|
sl@0
|
6831 |
TUint newChar = aChar;
|
sl@0
|
6832 |
if (TChar(aChar).IsUpper())
|
sl@0
|
6833 |
{
|
sl@0
|
6834 |
newChar = KRightToLeftArabic[aChar-'A'+iAlef]; //Note this isn't a linguistic transliteration.
|
sl@0
|
6835 |
};
|
sl@0
|
6836 |
return newChar;
|
sl@0
|
6837 |
}
|
sl@0
|
6838 |
TUint MapFromArabic(TUint aChar)
|
sl@0
|
6839 |
{
|
sl@0
|
6840 |
TInt pos = iArabicChars.Locate(aChar) - iAlef;
|
sl@0
|
6841 |
TUint newChar = aChar;
|
sl@0
|
6842 |
if ((pos >= 0) && (pos < 26))
|
sl@0
|
6843 |
{
|
sl@0
|
6844 |
newChar = 'A'+pos;
|
sl@0
|
6845 |
};
|
sl@0
|
6846 |
return newChar;
|
sl@0
|
6847 |
|
sl@0
|
6848 |
}
|
sl@0
|
6849 |
|
sl@0
|
6850 |
void CopyAndMapToArabic(TDes& aBuffer, const TDesC& aDes, CTGraphicsBase* aTest)
|
sl@0
|
6851 |
{
|
sl@0
|
6852 |
TInt quoteLevel = 0;
|
sl@0
|
6853 |
TChar lastQuote = 0;
|
sl@0
|
6854 |
aTest->TEST(aDes.Length() <= aBuffer.MaxLength());
|
sl@0
|
6855 |
|
sl@0
|
6856 |
aBuffer.Fill(0xFFFF); //fill old contents to help debugging if new string is shorter
|
sl@0
|
6857 |
|
sl@0
|
6858 |
aBuffer.Zero();
|
sl@0
|
6859 |
|
sl@0
|
6860 |
for (TInt i = 0 ; i < aDes.Length() ; ++i)
|
sl@0
|
6861 |
{
|
sl@0
|
6862 |
TUint newChar = MapToArabic(aDes[i]);
|
sl@0
|
6863 |
if ((newChar == '\'') || (newChar == '"'))
|
sl@0
|
6864 |
{
|
sl@0
|
6865 |
//Quote handling
|
sl@0
|
6866 |
if (newChar == lastQuote)
|
sl@0
|
6867 |
{
|
sl@0
|
6868 |
//match so drop a level if there is a level to drop
|
sl@0
|
6869 |
if (quoteLevel > 0)
|
sl@0
|
6870 |
{
|
sl@0
|
6871 |
aBuffer.Append(0x202c); //emit a PLD
|
sl@0
|
6872 |
aBuffer.Append(newChar);
|
sl@0
|
6873 |
--quoteLevel;
|
sl@0
|
6874 |
lastQuote = ((lastQuote == '"') ? '\'' : '"' );
|
sl@0
|
6875 |
}
|
sl@0
|
6876 |
}
|
sl@0
|
6877 |
else
|
sl@0
|
6878 |
{
|
sl@0
|
6879 |
//start new level
|
sl@0
|
6880 |
aBuffer.Append(newChar);
|
sl@0
|
6881 |
if (newChar == '\'')
|
sl@0
|
6882 |
{
|
sl@0
|
6883 |
aBuffer.Append(0x202a); //emit LRE
|
sl@0
|
6884 |
}
|
sl@0
|
6885 |
else
|
sl@0
|
6886 |
{
|
sl@0
|
6887 |
aBuffer.Append(0x202b); //emit RLE
|
sl@0
|
6888 |
}
|
sl@0
|
6889 |
++quoteLevel;
|
sl@0
|
6890 |
lastQuote = newChar;
|
sl@0
|
6891 |
}
|
sl@0
|
6892 |
}
|
sl@0
|
6893 |
else
|
sl@0
|
6894 |
{
|
sl@0
|
6895 |
aBuffer.Append(newChar);
|
sl@0
|
6896 |
}
|
sl@0
|
6897 |
}
|
sl@0
|
6898 |
|
sl@0
|
6899 |
}
|
sl@0
|
6900 |
void PrintMappedData(const TDesC& aTitle, const TDesC& aBuffer, CTGraphicsBase* aTest)
|
sl@0
|
6901 |
{
|
sl@0
|
6902 |
iPrintData.Zero();
|
sl@0
|
6903 |
for (TInt i = 0 ; i < aBuffer.Length() ; ++i)
|
sl@0
|
6904 |
{
|
sl@0
|
6905 |
TText a = aBuffer[i];
|
sl@0
|
6906 |
|
sl@0
|
6907 |
if (!IsIgnorable(a))
|
sl@0
|
6908 |
{
|
sl@0
|
6909 |
iPrintData.Append(MapFromArabic(a));
|
sl@0
|
6910 |
}
|
sl@0
|
6911 |
}
|
sl@0
|
6912 |
iPrintData.ZeroTerminate();
|
sl@0
|
6913 |
aTest->INFO_PRINTF3(KDoubleString, aTitle.Ptr(), iPrintData.Ptr());
|
sl@0
|
6914 |
}
|
sl@0
|
6915 |
static TBool IsIgnorable(TText a)
|
sl@0
|
6916 |
{
|
sl@0
|
6917 |
TBool ignorable = EFalse;
|
sl@0
|
6918 |
switch(a) {
|
sl@0
|
6919 |
case KUnicodeNoSuchCharacter:
|
sl@0
|
6920 |
case KUnicodeLeftToRightMark:
|
sl@0
|
6921 |
case KUnicodeRightToLeftMark:
|
sl@0
|
6922 |
case KUnicodeLeftToRightEmbedding:
|
sl@0
|
6923 |
case KUnicodeRightToLeftEmbedding:
|
sl@0
|
6924 |
case KUnicodePopDirectionFormat:
|
sl@0
|
6925 |
case KUnicodeLeftToRightOverride:
|
sl@0
|
6926 |
case KUnicodeRightToLeftOverride:
|
sl@0
|
6927 |
ignorable = ETrue;
|
sl@0
|
6928 |
break;
|
sl@0
|
6929 |
default:
|
sl@0
|
6930 |
break;
|
sl@0
|
6931 |
}
|
sl@0
|
6932 |
return ignorable;
|
sl@0
|
6933 |
}
|
sl@0
|
6934 |
static TBool StringsMatch(const TText* a1, TInt a1Len,
|
sl@0
|
6935 |
const TText* a2, TInt a2Len)
|
sl@0
|
6936 |
{
|
sl@0
|
6937 |
const TText* a1End = a1 + a1Len;
|
sl@0
|
6938 |
const TText* a2End = a2 + a2Len;
|
sl@0
|
6939 |
for (;;)
|
sl@0
|
6940 |
{
|
sl@0
|
6941 |
while (a1 != a1End && IsIgnorable(*a1))
|
sl@0
|
6942 |
++a1;
|
sl@0
|
6943 |
while (a2 != a2End && IsIgnorable(*a2))
|
sl@0
|
6944 |
++a2;
|
sl@0
|
6945 |
if (a1 == a1End)
|
sl@0
|
6946 |
return a2 == a2End;
|
sl@0
|
6947 |
else if (a2 == a2End)
|
sl@0
|
6948 |
return EFalse;
|
sl@0
|
6949 |
if (*a1 != *a2)
|
sl@0
|
6950 |
return EFalse;
|
sl@0
|
6951 |
++a1;
|
sl@0
|
6952 |
++a2;
|
sl@0
|
6953 |
}
|
sl@0
|
6954 |
}
|
sl@0
|
6955 |
void TestIfPassedL(CTGraphicsBase* aTest)
|
sl@0
|
6956 |
{
|
sl@0
|
6957 |
#ifdef PRINT_EXAMPLE
|
sl@0
|
6958 |
_LIT(KTestPassR, "Test Passed - result");
|
sl@0
|
6959 |
_LIT(KTestFailE, "Test Failed - expected");
|
sl@0
|
6960 |
_LIT(KTestFailR, "Test Failed - result");
|
sl@0
|
6961 |
#endif // PRINT_EXAMPLE
|
sl@0
|
6962 |
aTest->TEST(iBuffer != 0);
|
sl@0
|
6963 |
TBool match = StringsMatch(iBuffer, iText.Length(), iReorderedText.Ptr(), iReorderedText.Length());
|
sl@0
|
6964 |
|
sl@0
|
6965 |
if (match)
|
sl@0
|
6966 |
{
|
sl@0
|
6967 |
#ifdef PRINT_EXAMPLE
|
sl@0
|
6968 |
PrintMappedData(KTestPassR, TPtrC(iBuffer, iText.Length()));
|
sl@0
|
6969 |
#endif // PRINT_EXAMPLE
|
sl@0
|
6970 |
}
|
sl@0
|
6971 |
else
|
sl@0
|
6972 |
{
|
sl@0
|
6973 |
#ifdef PRINT_EXAMPLE
|
sl@0
|
6974 |
PrintMappedData(KTestFailE, iReorderedText);
|
sl@0
|
6975 |
PrintMappedData(KTestFailR, TPtrC(iBuffer, iText.Length()));
|
sl@0
|
6976 |
#endif // PRINT_EXAMPLE
|
sl@0
|
6977 |
aTest->TEST(EFalse);
|
sl@0
|
6978 |
}
|
sl@0
|
6979 |
|
sl@0
|
6980 |
}
|
sl@0
|
6981 |
void TearDown()
|
sl@0
|
6982 |
{
|
sl@0
|
6983 |
if (iBuffer != iText.Ptr())
|
sl@0
|
6984 |
delete[] iBuffer;
|
sl@0
|
6985 |
iBuffer = 0;
|
sl@0
|
6986 |
}
|
sl@0
|
6987 |
};
|
sl@0
|
6988 |
|
sl@0
|
6989 |
|
sl@0
|
6990 |
|
sl@0
|
6991 |
//Unicode Spec sample data
|
sl@0
|
6992 |
// This uses UPPER CASE english to represent right to left Arabic characters
|
sl@0
|
6993 |
// A straight mapping to tabularly equivalent Arabic letters is done during the
|
sl@0
|
6994 |
// tests using this data. KxxS is the "Storage" value, KxxD is the "Display" value.
|
sl@0
|
6995 |
// Also all the values like <RLE> are ignored in the comparison, so aren't included in the D value
|
sl@0
|
6996 |
// Embedding codes:
|
sl@0
|
6997 |
// <RLE> \x202b <LRE> \0x202a <PDF> \0x202c <RLO> \x202e <LRO> \x202d <RLM> \0x200f <LRM> \0x200e
|
sl@0
|
6998 |
|
sl@0
|
6999 |
_LIT(KU1S, "he said \"THE VALUES ARE 123, 456, 789, OK\".");
|
sl@0
|
7000 |
_LIT(KU1D, "he said \"KO ,789 ,456 ,123 ERA SEULAV EHT\".");
|
sl@0
|
7001 |
_LIT(KU2S, "he said \"IT IS A bmw 500, OK.\"");
|
sl@0
|
7002 |
_LIT(KU2D, "he said \".KO ,bmw 500 A SI TI\"");
|
sl@0
|
7003 |
_LIT(KU3S, "car means CAR.");
|
sl@0
|
7004 |
_LIT(KU3D, "car means RAC.");
|
sl@0
|
7005 |
_LIT(KU4S, "car MEANS CAR.");
|
sl@0
|
7006 |
_LIT(KU4D, ".RAC SNAEM car");
|
sl@0
|
7007 |
//_LIT(KU5S, "he said \"car MEANS CAR.\"");
|
sl@0
|
7008 |
//_LIT(KU5D, "he said \"RAC SNAEM car.\"");
|
sl@0
|
7009 |
_LIT(KU6S, "DID YOU SAY 'he said \"car MEANS CAR\"'?");
|
sl@0
|
7010 |
_LIT(KU6D, "?'he said \"RAC SNAEM car\"' YAS UOY DID");
|
sl@0
|
7011 |
_LIT(KU7S, "he said `I NEED WATER!`, and expired.");
|
sl@0
|
7012 |
_LIT(KU7D, "he said `RETAW DEEN I!`, and expired.");
|
sl@0
|
7013 |
_LIT(KU8S, "he said `\x202bI NEED WATER!\x202c`, and expired.");
|
sl@0
|
7014 |
_LIT(KU8D, "he said `!RETAW DEEN I`, and expired.");
|
sl@0
|
7015 |
_LIT(KU9S, "he said `I NEED WATER!\x200f`, and expired.");
|
sl@0
|
7016 |
_LIT(KU9D, "he said `!RETAW DEEN I`, and expired.");
|
sl@0
|
7017 |
_LIT(KU10S,"DID YOU SAY '\x202ahe said \"I NEED WATER!\x200f\", and expired.\x202c'?");
|
sl@0
|
7018 |
_LIT(KU10D,"?'he said \"!RETAW DEEN I\", and expired.' YAS UOY DID");
|
sl@0
|
7019 |
|
sl@0
|
7020 |
/**
|
sl@0
|
7021 |
@SYMTestCaseID GRAPHICS-GDI-BiDi-0005
|
sl@0
|
7022 |
|
sl@0
|
7023 |
@SYMDEF DEF105603
|
sl@0
|
7024 |
|
sl@0
|
7025 |
@SYMTestCaseDesc Test TBidirectionalState functionality (Unicode Bidirectional Algorithm impmentation withing SymbianOS)
|
sl@0
|
7026 |
|
sl@0
|
7027 |
@SYMTestPriority High
|
sl@0
|
7028 |
|
sl@0
|
7029 |
@SYMTestStatus Implemented
|
sl@0
|
7030 |
|
sl@0
|
7031 |
@SYMTestActions Test behaviour of text-reordering under normal & OOM conditions using examples derived from Unicode Standard Annex 9
|
sl@0
|
7032 |
|
sl@0
|
7033 |
@SYMTestExpectedResults Confirmation the implementation conforms to the Unicode Birdirection Algorithm standard
|
sl@0
|
7034 |
*/
|
sl@0
|
7035 |
void CTBiDi::TUnicodeExampleTestL()
|
sl@0
|
7036 |
{
|
sl@0
|
7037 |
TUnicodeExampleOOMTest toom(KU1S, EFalse, KU1D, this);
|
sl@0
|
7038 |
TestOOML(toom);
|
sl@0
|
7039 |
toom.Initialize(KU2S, EFalse, KU2D, this);
|
sl@0
|
7040 |
TestOOML(toom);
|
sl@0
|
7041 |
toom.Initialize(KU3S, EFalse, KU3D, this);
|
sl@0
|
7042 |
TestOOML(toom);
|
sl@0
|
7043 |
toom.Initialize(KU4S, ETrue, KU4D, this);
|
sl@0
|
7044 |
TestOOML(toom);
|
sl@0
|
7045 |
// This test commented out because there seems to be no way to persuade a computer
|
sl@0
|
7046 |
// to reproduce this example, it only makes sense to human beings.
|
sl@0
|
7047 |
// toom.Initialize(KU5S, EFalse, KU5D);
|
sl@0
|
7048 |
// TestOOML(toom);
|
sl@0
|
7049 |
toom.Initialize(KU6S, ETrue, KU6D, this);
|
sl@0
|
7050 |
TestOOML(toom);
|
sl@0
|
7051 |
toom.Initialize(KU7S, EFalse, KU7D, this);
|
sl@0
|
7052 |
TestOOML(toom);
|
sl@0
|
7053 |
toom.Initialize(KU8S, EFalse, KU8D, this);
|
sl@0
|
7054 |
TestOOML(toom);
|
sl@0
|
7055 |
toom.Initialize(KU9S, EFalse, KU9D, this);
|
sl@0
|
7056 |
TestOOML(toom);
|
sl@0
|
7057 |
toom.Initialize(KU10S, ETrue, KU10D, this);
|
sl@0
|
7058 |
TestOOML(toom);
|
sl@0
|
7059 |
|
sl@0
|
7060 |
}
|
sl@0
|
7061 |
|
sl@0
|
7062 |
|
sl@0
|
7063 |
_LIT(KHalalL, "\x62D\x644\x627\x644");
|
sl@0
|
7064 |
_LIT(KHalalD, "\x644\x627\x644\x62D");
|
sl@0
|
7065 |
_LIT(KHello, "Hello");
|
sl@0
|
7066 |
_LIT(KHttL, "\x62D\x644\x627\x644 12:30 \x644\x633");
|
sl@0
|
7067 |
_LIT(KHttD, "\x633\x644 12:30 \x644\x627\x644\x62D");
|
sl@0
|
7068 |
_LIT(KHttsL, "\x62D\x644\x627\x644 12, 30 \x644\x633");
|
sl@0
|
7069 |
_LIT(KHttsD, "\x633\x644 30 ,12 \x644\x627\x644\x62D");
|
sl@0
|
7070 |
_LIT(KEmbedL,"he said \x202B\x644 some text 12 nos \x627 \x202A=Hah is \x62D\x202C \x633\x202C perhaps");
|
sl@0
|
7071 |
_LIT(KEmbedD,"he said \x633 =Hah is \x62D \x627 some text 12 nos \x644 perhaps");
|
sl@0
|
7072 |
_LIT(KMixedL, "\x644\x627 ab");
|
sl@0
|
7073 |
_LIT(KMixedD, "ab \x627\x644");
|
sl@0
|
7074 |
_LIT(KMixedDL, "\x627\x644 ab");
|
sl@0
|
7075 |
_LIT(KRLOverrideL, "\x202Ewxyz\x202Cijkl");
|
sl@0
|
7076 |
_LIT(KRLOverrideD, "zyxwijkl");
|
sl@0
|
7077 |
|
sl@0
|
7078 |
/**
|
sl@0
|
7079 |
@SYMTestCaseID GRAPHICS-GDI-BiDi-0004
|
sl@0
|
7080 |
|
sl@0
|
7081 |
@SYMDEF DEF105603
|
sl@0
|
7082 |
|
sl@0
|
7083 |
@SYMTestCaseDesc Test TBidirectionalState functionality (Unicode Bidirectional Algorithm impmentation withing SymbianOS)
|
sl@0
|
7084 |
|
sl@0
|
7085 |
@SYMTestPriority High
|
sl@0
|
7086 |
|
sl@0
|
7087 |
@SYMTestStatus Implemented
|
sl@0
|
7088 |
|
sl@0
|
7089 |
@SYMTestActions Test reordering under normal & OOM conditions, using custom strings mixing text with formatting codes
|
sl@0
|
7090 |
|
sl@0
|
7091 |
@SYMTestExpectedResults Confirmation the implementation conforms to the Unicode Birdirection Algorithm standard
|
sl@0
|
7092 |
*/
|
sl@0
|
7093 |
void CTBiDi::TestReorderTextL()
|
sl@0
|
7094 |
{
|
sl@0
|
7095 |
TReorderTextOOMTest toom(KHalalL, EFalse, KHalalD);
|
sl@0
|
7096 |
TestOOML(toom);
|
sl@0
|
7097 |
toom.Initialize(KHalalL, ETrue, KHalalD);
|
sl@0
|
7098 |
TestOOML(toom);
|
sl@0
|
7099 |
toom.Initialize(KHello, ETrue, KHello);
|
sl@0
|
7100 |
TestOOML(toom);
|
sl@0
|
7101 |
toom.Initialize(KHello, EFalse, KHello);
|
sl@0
|
7102 |
TestOOML(toom);
|
sl@0
|
7103 |
toom.Initialize(KHttL, ETrue, KHttD);
|
sl@0
|
7104 |
TestOOML(toom);
|
sl@0
|
7105 |
toom.Initialize(KHttL, EFalse, KHttD);
|
sl@0
|
7106 |
TestOOML(toom);
|
sl@0
|
7107 |
toom.Initialize(KHttsL, ETrue, KHttsD);
|
sl@0
|
7108 |
TestOOML(toom);
|
sl@0
|
7109 |
toom.Initialize(KHttsL, EFalse, KHttsD);
|
sl@0
|
7110 |
TestOOML(toom);
|
sl@0
|
7111 |
toom.Initialize(KMixedL, ETrue, KMixedD);
|
sl@0
|
7112 |
TestOOML(toom);
|
sl@0
|
7113 |
toom.Initialize(KMixedL, EFalse, KMixedDL);
|
sl@0
|
7114 |
TestOOML(toom);
|
sl@0
|
7115 |
toom.Initialize(KRLOverrideL, EFalse, KRLOverrideD);
|
sl@0
|
7116 |
TestOOML(toom);
|
sl@0
|
7117 |
toom.Initialize(KEmbedL, EFalse, KEmbedD);
|
sl@0
|
7118 |
// TestOOML(toom);
|
sl@0
|
7119 |
}
|
sl@0
|
7120 |
|
sl@0
|
7121 |
/**
|
sl@0
|
7122 |
TBidiTextOOMTest
|
sl@0
|
7123 |
|
sl@0
|
7124 |
This class contains functions that support tests based on the examples given by
|
sl@0
|
7125 |
Unicode Standard Annexe 9
|
sl@0
|
7126 |
|
sl@0
|
7127 |
The class contains methods for creating text with different directionality (left-to-right, right-to-left)
|
sl@0
|
7128 |
and test functions to determine directionality
|
sl@0
|
7129 |
*/
|
sl@0
|
7130 |
class TBidiTextOOMTest : public MOOMTest
|
sl@0
|
7131 |
{
|
sl@0
|
7132 |
public:
|
sl@0
|
7133 |
/** Overall directionality of the text. */
|
sl@0
|
7134 |
/** Text reading begins on the left. */
|
sl@0
|
7135 |
/** Text reading begins on the right. */
|
sl@0
|
7136 |
enum TDirectionality { ELeftToRight, ERightToLeft, EAutomatic };
|
sl@0
|
7137 |
TBidiTextOOMTest(CTGraphicsBase *aTest) : iInputText(0), iBidi(0), iTest(aTest) {}
|
sl@0
|
7138 |
void Initialize(const TDesC& aInput,
|
sl@0
|
7139 |
TDirectionality aDirectionality, TInt aMaxLines)
|
sl@0
|
7140 |
{
|
sl@0
|
7141 |
iInputText = &aInput;
|
sl@0
|
7142 |
iDirectionality = aDirectionality;
|
sl@0
|
7143 |
iMaxLines = aMaxLines;
|
sl@0
|
7144 |
delete iBidi;
|
sl@0
|
7145 |
iBidi = 0;
|
sl@0
|
7146 |
}
|
sl@0
|
7147 |
|
sl@0
|
7148 |
void SetUpL() {}
|
sl@0
|
7149 |
|
sl@0
|
7150 |
void ManipulateL()
|
sl@0
|
7151 |
{
|
sl@0
|
7152 |
switch(iDirectionality) {
|
sl@0
|
7153 |
case EAutomatic:
|
sl@0
|
7154 |
iBidi = TBidiText::NewL(*iInputText, iMaxLines);
|
sl@0
|
7155 |
break;
|
sl@0
|
7156 |
case ELeftToRight:
|
sl@0
|
7157 |
iBidi = TBidiText::NewL(*iInputText, iMaxLines, TBidiText::ELeftToRight);
|
sl@0
|
7158 |
break;
|
sl@0
|
7159 |
case ERightToLeft:
|
sl@0
|
7160 |
iBidi = TBidiText::NewL(*iInputText, iMaxLines, TBidiText::ERightToLeft);
|
sl@0
|
7161 |
break;
|
sl@0
|
7162 |
default:
|
sl@0
|
7163 |
iTest->TEST(EFalse); //Invalid value for iDirectionality
|
sl@0
|
7164 |
}
|
sl@0
|
7165 |
}
|
sl@0
|
7166 |
|
sl@0
|
7167 |
void TearDown()
|
sl@0
|
7168 |
{
|
sl@0
|
7169 |
delete iBidi;
|
sl@0
|
7170 |
iBidi = 0;
|
sl@0
|
7171 |
}
|
sl@0
|
7172 |
|
sl@0
|
7173 |
void TestIfPassedL(CTGraphicsBase* aTest)
|
sl@0
|
7174 |
{
|
sl@0
|
7175 |
aTest->TEST(iBidi != NULL);
|
sl@0
|
7176 |
const TFileName a(iBidi->Text());
|
sl@0
|
7177 |
aTest->TEST(a == *iInputText);
|
sl@0
|
7178 |
// tests on the actual display text are run in a separate test case
|
sl@0
|
7179 |
}
|
sl@0
|
7180 |
|
sl@0
|
7181 |
void TestLeftCleanlyL(CTGraphicsBase* aTest)
|
sl@0
|
7182 |
{
|
sl@0
|
7183 |
aTest->TEST(iBidi == NULL);
|
sl@0
|
7184 |
}
|
sl@0
|
7185 |
private:
|
sl@0
|
7186 |
const TDesC* iInputText;
|
sl@0
|
7187 |
TDirectionality iDirectionality;
|
sl@0
|
7188 |
TInt iMaxLines;
|
sl@0
|
7189 |
TBidiText* iBidi;
|
sl@0
|
7190 |
CTGraphicsBase *iTest;
|
sl@0
|
7191 |
};
|
sl@0
|
7192 |
|
sl@0
|
7193 |
/**
|
sl@0
|
7194 |
@SYMTestCaseID GRAPHICS-GDI-BiDi-0006
|
sl@0
|
7195 |
|
sl@0
|
7196 |
@SYMDEF DEF105603
|
sl@0
|
7197 |
|
sl@0
|
7198 |
@SYMTestCaseDesc Test TBidirectionalState functionality (Unicode Bidirectional Algorithm impmentation withing SymbianOS)
|
sl@0
|
7199 |
|
sl@0
|
7200 |
@SYMTestPriority High
|
sl@0
|
7201 |
|
sl@0
|
7202 |
@SYMTestStatus Implemented
|
sl@0
|
7203 |
|
sl@0
|
7204 |
@SYMTestActions Test detection of 'overall' directionality of a given language/script
|
sl@0
|
7205 |
|
sl@0
|
7206 |
@SYMTestExpectedResults Confirmation the implementation conforms to the Unicode Birdirection Algorithm standard
|
sl@0
|
7207 |
*/
|
sl@0
|
7208 |
void CTBiDi::TestScriptDirectionality()
|
sl@0
|
7209 |
{
|
sl@0
|
7210 |
for (TInt i = 0; i != 100; ++i)
|
sl@0
|
7211 |
{
|
sl@0
|
7212 |
TBidiText::TDirectionality dir = TBidiText::ScriptDirectionality(
|
sl@0
|
7213 |
static_cast<TLanguage>(i));
|
sl@0
|
7214 |
TEST(i == ELangArabic || i == ELangHebrew || i == ELangFarsi || i == ELangUrdu?
|
sl@0
|
7215 |
dir==TBidiText::ERightToLeft : dir == TBidiText::ELeftToRight);
|
sl@0
|
7216 |
}
|
sl@0
|
7217 |
}
|
sl@0
|
7218 |
|
sl@0
|
7219 |
_LIT(KMultiLine, "Many\x644\x633 runs\xD\xAwith\xDmany\xAtypes\x2028of\x2029\x633\x633 Linebreaks");
|
sl@0
|
7220 |
_LIT(KLineSep, "\x2028");
|
sl@0
|
7221 |
|
sl@0
|
7222 |
/**
|
sl@0
|
7223 |
*
|
sl@0
|
7224 |
* void CTBiDi::NoLineBreakDrawTestL
|
sl@0
|
7225 |
*
|
sl@0
|
7226 |
* Test for TBidiText::DrawText
|
sl@0
|
7227 |
*
|
sl@0
|
7228 |
* Some Arabic text is drawn without any line break opportunities.
|
sl@0
|
7229 |
*
|
sl@0
|
7230 |
* The result should still be broken into screenwidths and drawn.
|
sl@0
|
7231 |
*
|
sl@0
|
7232 |
*
|
sl@0
|
7233 |
*/
|
sl@0
|
7234 |
void CTBiDi::NoLineBreakDrawTestL()
|
sl@0
|
7235 |
{
|
sl@0
|
7236 |
INFO_PRINTF1(_L("TBidiText test - RightToLeftArabic draw test without line break opportunities\r\n"));
|
sl@0
|
7237 |
|
sl@0
|
7238 |
TSize windowSize(400,200);
|
sl@0
|
7239 |
|
sl@0
|
7240 |
RArray<TTestDataRun> runsArray(16);
|
sl@0
|
7241 |
CleanupClosePushL(runsArray);
|
sl@0
|
7242 |
|
sl@0
|
7243 |
CFont* testFont = new(ELeave) CTestFont;
|
sl@0
|
7244 |
CleanupStack::PushL(testFont);
|
sl@0
|
7245 |
|
sl@0
|
7246 |
|
sl@0
|
7247 |
CTestGraphicsDevice* testDevice = CTestGraphicsDevice::NewL(windowSize);
|
sl@0
|
7248 |
|
sl@0
|
7249 |
CleanupStack::PushL(testDevice);
|
sl@0
|
7250 |
|
sl@0
|
7251 |
CGraphicsContext* tContext = NULL;
|
sl@0
|
7252 |
|
sl@0
|
7253 |
TEST(testDevice->CreateContext(tContext) == KErrNone);
|
sl@0
|
7254 |
//note - no cleanupstack entry as the context is owned by the device
|
sl@0
|
7255 |
|
sl@0
|
7256 |
CTestGraphicsContext* testContext = static_cast<CTestGraphicsContext*>(tContext);
|
sl@0
|
7257 |
|
sl@0
|
7258 |
|
sl@0
|
7259 |
//Create buffer to hold test data
|
sl@0
|
7260 |
HBufC* oldTextBufPtr = HBufC::NewLC(KBufferSize);
|
sl@0
|
7261 |
|
sl@0
|
7262 |
TPtrC original;
|
sl@0
|
7263 |
TPtrC wrapped;
|
sl@0
|
7264 |
|
sl@0
|
7265 |
TextIterator rIterator(KRightToLeftArabic, KRightToLeftArabicLength);
|
sl@0
|
7266 |
|
sl@0
|
7267 |
TInt i;
|
sl@0
|
7268 |
TInt length;
|
sl@0
|
7269 |
TInt end;
|
sl@0
|
7270 |
MLineBreaker breaker;
|
sl@0
|
7271 |
|
sl@0
|
7272 |
//Fill buffer with data
|
sl@0
|
7273 |
for (i = 0 ; i < KBufferSize ; ++i)
|
sl@0
|
7274 |
{
|
sl@0
|
7275 |
TUint s, e;
|
sl@0
|
7276 |
TText16 ch = rIterator.NextChar();
|
sl@0
|
7277 |
if (breaker.LineBreakClass(ch, s, e) == MLineBreaker::EAlLineBreakClass)
|
sl@0
|
7278 |
oldTextBufPtr->Des().Append(ch);
|
sl@0
|
7279 |
}
|
sl@0
|
7280 |
|
sl@0
|
7281 |
TPtr oldText(oldTextBufPtr->Des());
|
sl@0
|
7282 |
|
sl@0
|
7283 |
TBidiText* bidi = TBidiText::NewL(oldText, 50);
|
sl@0
|
7284 |
|
sl@0
|
7285 |
CleanupStack::PushL(bidi);
|
sl@0
|
7286 |
|
sl@0
|
7287 |
TInt comparedLength = (oldText.Length() < KBufferSize )? oldText.Length(): KBufferSize;
|
sl@0
|
7288 |
|
sl@0
|
7289 |
TEST(oldText.Length() == bidi->Text().Length());
|
sl@0
|
7290 |
|
sl@0
|
7291 |
TEST(TestTBidirectionalState::TextInSameOrder(oldText.Ptr(), bidi->Text().Ptr(), comparedLength));
|
sl@0
|
7292 |
|
sl@0
|
7293 |
bidi->WrapText(400 , *testFont, 0);
|
sl@0
|
7294 |
|
sl@0
|
7295 |
TEST(bidi->WrappingWidth() == 400);
|
sl@0
|
7296 |
|
sl@0
|
7297 |
original.Set(bidi->Text());
|
sl@0
|
7298 |
|
sl@0
|
7299 |
wrapped.Set(bidi->DisplayText());
|
sl@0
|
7300 |
|
sl@0
|
7301 |
#ifdef PRINT_ARRAYS
|
sl@0
|
7302 |
_LIT(KOriginalTitle, "Original: \r\n");
|
sl@0
|
7303 |
_LIT(KDisplayTitle, "Display: \r\n");
|
sl@0
|
7304 |
|
sl@0
|
7305 |
PrintTestData(KOriginalTitle, original);
|
sl@0
|
7306 |
PrintTestData(KDisplayTitle, wrapped);
|
sl@0
|
7307 |
|
sl@0
|
7308 |
#endif // PRINT_ARRAYS
|
sl@0
|
7309 |
|
sl@0
|
7310 |
//Using a font where every character is 10 pixels wide and wrapping to 400 pixels width,
|
sl@0
|
7311 |
//every 40 characters should be a Linebreak character, and each of those lines should be reversed.
|
sl@0
|
7312 |
|
sl@0
|
7313 |
length = oldText.Length();
|
sl@0
|
7314 |
end = wrapped.Length();
|
sl@0
|
7315 |
|
sl@0
|
7316 |
TEST(original.Length() == length);
|
sl@0
|
7317 |
TEST(end >= length);
|
sl@0
|
7318 |
|
sl@0
|
7319 |
const TText* currentWrapped = wrapped.Ptr();
|
sl@0
|
7320 |
const TText* wrappedEnd = currentWrapped + wrapped.Length();
|
sl@0
|
7321 |
for (i = 0; i < length ; i += 40)
|
sl@0
|
7322 |
{
|
sl@0
|
7323 |
end = ((length-i) >= 40) ? i+40 : length;
|
sl@0
|
7324 |
|
sl@0
|
7325 |
TTestDataRun runData;
|
sl@0
|
7326 |
|
sl@0
|
7327 |
runData.iStart = i;
|
sl@0
|
7328 |
runData.iLength = end-i;
|
sl@0
|
7329 |
|
sl@0
|
7330 |
runsArray.Append(runData);
|
sl@0
|
7331 |
|
sl@0
|
7332 |
TEST( ( end-i <= oldText.Length() - i) && ( end-i <= wrappedEnd - currentWrapped));
|
sl@0
|
7333 |
const TText* endLine = TestTBidirectionalState::TextInReverseOrderIgnoringJoiners(
|
sl@0
|
7334 |
oldText.Ptr() + i, currentWrapped, end-i);
|
sl@0
|
7335 |
if (!endLine)
|
sl@0
|
7336 |
{
|
sl@0
|
7337 |
INFO_PRINTF3(_L("TBidiText test - wrapped - reverse order check failed for index %d out-index %d"),
|
sl@0
|
7338 |
i, currentWrapped - wrapped.Ptr());
|
sl@0
|
7339 |
TEST(EFalse);
|
sl@0
|
7340 |
}
|
sl@0
|
7341 |
|
sl@0
|
7342 |
if (wrappedEnd <= endLine)
|
sl@0
|
7343 |
break;
|
sl@0
|
7344 |
|
sl@0
|
7345 |
if (*endLine != 0x02028)
|
sl@0
|
7346 |
{
|
sl@0
|
7347 |
INFO_PRINTF3(_L("TBidiText test - wrapped - line terminator check failed for index %d out-index %d"),
|
sl@0
|
7348 |
i, currentWrapped - wrapped.Ptr());
|
sl@0
|
7349 |
TEST(EFalse);
|
sl@0
|
7350 |
}
|
sl@0
|
7351 |
currentWrapped = endLine + 1;
|
sl@0
|
7352 |
}
|
sl@0
|
7353 |
|
sl@0
|
7354 |
TPoint origin(0,0);
|
sl@0
|
7355 |
TInt baseline_offset = testFont->BaselineOffsetInPixels();
|
sl@0
|
7356 |
bidi->DrawText(*testContext, origin, baseline_offset);
|
sl@0
|
7357 |
|
sl@0
|
7358 |
//now check that DrawText passed the right data
|
sl@0
|
7359 |
for (i = 0 ; i < runsArray.Count() ; i++)
|
sl@0
|
7360 |
{
|
sl@0
|
7361 |
TPtrC spec(testContext->DisplayLine(i).LineData());
|
sl@0
|
7362 |
TEST( ( runsArray[i].iLength <= oldText.Length() - runsArray[i].iStart) && ( runsArray[i].iLength <= spec.Length()));
|
sl@0
|
7363 |
TEST(0 != TestTBidirectionalState::TextInReverseOrderIgnoringJoiners(
|
sl@0
|
7364 |
oldText.Ptr() + runsArray[i].iStart , spec.Ptr(), runsArray[i].iLength));
|
sl@0
|
7365 |
};
|
sl@0
|
7366 |
|
sl@0
|
7367 |
INFO_PRINTF1(_L("TBidiText test - wrapped - display text test passed\r\n"));
|
sl@0
|
7368 |
|
sl@0
|
7369 |
CleanupStack::PopAndDestroy(bidi);
|
sl@0
|
7370 |
CleanupStack::PopAndDestroy(oldTextBufPtr); //whatever is pushed by HBufC::NewLC
|
sl@0
|
7371 |
delete testContext;
|
sl@0
|
7372 |
CleanupStack::PopAndDestroy(testDevice);
|
sl@0
|
7373 |
|
sl@0
|
7374 |
CleanupStack::PopAndDestroy(testFont);
|
sl@0
|
7375 |
CleanupStack::PopAndDestroy(); //closes runsArray
|
sl@0
|
7376 |
}
|
sl@0
|
7377 |
|
sl@0
|
7378 |
/**
|
sl@0
|
7379 |
*
|
sl@0
|
7380 |
* void CTBiDi::RightToLeftArabicDrawTestL()
|
sl@0
|
7381 |
*
|
sl@0
|
7382 |
* Test for TBidiText::DrawText
|
sl@0
|
7383 |
*
|
sl@0
|
7384 |
* Some Arabic text is drawn with line break opportunities, but the resulting lines
|
sl@0
|
7385 |
* are still longer than the declared screen width. So every line becomes two lines.
|
sl@0
|
7386 |
*
|
sl@0
|
7387 |
*/
|
sl@0
|
7388 |
void CTBiDi::RightToLeftArabicDrawTestL()
|
sl@0
|
7389 |
{
|
sl@0
|
7390 |
INFO_PRINTF1(_L("TBidiText test - RightToLeftArabic draw test with linebreak opportunities\r\n"));
|
sl@0
|
7391 |
|
sl@0
|
7392 |
TSize windowSize(400,200);
|
sl@0
|
7393 |
|
sl@0
|
7394 |
RArray<TTestDataRun> runsArray(16);
|
sl@0
|
7395 |
CleanupClosePushL(runsArray);
|
sl@0
|
7396 |
|
sl@0
|
7397 |
CFont* testFont = new(ELeave) CTestFont;
|
sl@0
|
7398 |
CleanupStack::PushL(testFont);
|
sl@0
|
7399 |
|
sl@0
|
7400 |
CTestGraphicsDevice* testDevice = CTestGraphicsDevice::NewL(windowSize);
|
sl@0
|
7401 |
|
sl@0
|
7402 |
CleanupStack::PushL(testDevice);
|
sl@0
|
7403 |
|
sl@0
|
7404 |
CGraphicsContext* tContext;
|
sl@0
|
7405 |
|
sl@0
|
7406 |
TEST(testDevice->CreateContext(tContext) == KErrNone);
|
sl@0
|
7407 |
//note - no cleanupstack entry as the context is owned by the device
|
sl@0
|
7408 |
|
sl@0
|
7409 |
CTestGraphicsContext* testContext = static_cast<CTestGraphicsContext*>(tContext);
|
sl@0
|
7410 |
|
sl@0
|
7411 |
|
sl@0
|
7412 |
//Create buffer to hold test data
|
sl@0
|
7413 |
HBufC* oldTextBufPtr = HBufC::NewLC(KBufferSize);
|
sl@0
|
7414 |
|
sl@0
|
7415 |
TPtrC original;
|
sl@0
|
7416 |
TPtrC wrapped;
|
sl@0
|
7417 |
|
sl@0
|
7418 |
TextIterator rIterator(KRightToLeftArabic, KRightToLeftArabicLength);
|
sl@0
|
7419 |
|
sl@0
|
7420 |
TInt i;
|
sl@0
|
7421 |
TInt length;
|
sl@0
|
7422 |
TInt end;
|
sl@0
|
7423 |
|
sl@0
|
7424 |
//Fill buffer with groups of 16 characters separated by single spaces
|
sl@0
|
7425 |
//Avoid a trailing space
|
sl@0
|
7426 |
for (i = 0 ; i < (KBufferSize-1) ; ++i)
|
sl@0
|
7427 |
{
|
sl@0
|
7428 |
if ( (i & 15) == 15)
|
sl@0
|
7429 |
{
|
sl@0
|
7430 |
oldTextBufPtr->Des().Append(0x020);
|
sl@0
|
7431 |
}
|
sl@0
|
7432 |
else
|
sl@0
|
7433 |
{
|
sl@0
|
7434 |
oldTextBufPtr->Des().Append(rIterator.NextChar());
|
sl@0
|
7435 |
}
|
sl@0
|
7436 |
}
|
sl@0
|
7437 |
|
sl@0
|
7438 |
oldTextBufPtr->Des().Append(rIterator.NextChar()); //final character in buffer should not be a space
|
sl@0
|
7439 |
|
sl@0
|
7440 |
|
sl@0
|
7441 |
TPtr oldText(oldTextBufPtr->Des());
|
sl@0
|
7442 |
|
sl@0
|
7443 |
TBidiText* bidi = TBidiText::NewL(oldText, 50);
|
sl@0
|
7444 |
|
sl@0
|
7445 |
CleanupStack::PushL(bidi);
|
sl@0
|
7446 |
|
sl@0
|
7447 |
TEST( (oldText.Length() == bidi->Text().Length() ) && (oldText.Length() == KBufferSize) );
|
sl@0
|
7448 |
TEST(TestTBidirectionalState::TextInSameOrder(oldText.Ptr(), bidi->Text().Ptr(), KBufferSize));
|
sl@0
|
7449 |
|
sl@0
|
7450 |
bidi->WrapText(400 , *testFont, 0);
|
sl@0
|
7451 |
|
sl@0
|
7452 |
TEST(bidi->WrappingWidth() == 400);
|
sl@0
|
7453 |
|
sl@0
|
7454 |
original.Set(bidi->Text());
|
sl@0
|
7455 |
|
sl@0
|
7456 |
wrapped.Set(bidi->DisplayText());
|
sl@0
|
7457 |
|
sl@0
|
7458 |
#ifdef PRINT_ARRAYS
|
sl@0
|
7459 |
_LIT(KOriginalTitle, "Original: \r\n");
|
sl@0
|
7460 |
_LIT(KDisplayTitle, "Display: \r\n");
|
sl@0
|
7461 |
|
sl@0
|
7462 |
PrintTestData(KOriginalTitle, original);
|
sl@0
|
7463 |
PrintTestData(KDisplayTitle, wrapped);
|
sl@0
|
7464 |
|
sl@0
|
7465 |
#endif // PRINT_ARRAYS
|
sl@0
|
7466 |
|
sl@0
|
7467 |
//Using a font where every character is 10 pixels wide and wrapping to 400 pixels width,
|
sl@0
|
7468 |
// The space every 32 characters should be replaced by a linebreak character
|
sl@0
|
7469 |
|
sl@0
|
7470 |
length = oldText.Length();
|
sl@0
|
7471 |
end = wrapped.Length();
|
sl@0
|
7472 |
|
sl@0
|
7473 |
TEST(original.Length() == length);
|
sl@0
|
7474 |
|
sl@0
|
7475 |
for (i = 0; i < length ; i += 32)
|
sl@0
|
7476 |
{
|
sl@0
|
7477 |
TInt left = length-i;
|
sl@0
|
7478 |
TTestDataRun runData;
|
sl@0
|
7479 |
runData.iStart = i;
|
sl@0
|
7480 |
|
sl@0
|
7481 |
if (left <= 33)
|
sl@0
|
7482 |
{
|
sl@0
|
7483 |
end = length;
|
sl@0
|
7484 |
runData.iLength = end - i;
|
sl@0
|
7485 |
}
|
sl@0
|
7486 |
else
|
sl@0
|
7487 |
{
|
sl@0
|
7488 |
end = i+32;
|
sl@0
|
7489 |
runData.iLength = 31;
|
sl@0
|
7490 |
};
|
sl@0
|
7491 |
|
sl@0
|
7492 |
runsArray.Append(runData);
|
sl@0
|
7493 |
|
sl@0
|
7494 |
TEST( (runData.iLength <= oldText.Length() - runData.iStart) && (runData.iLength <= wrapped.Length() - runData.iStart) );
|
sl@0
|
7495 |
|
sl@0
|
7496 |
if (!TestTBidirectionalState::TextInReverseOrder(oldText.Ptr() + runData.iStart , wrapped.Ptr() + runData.iStart, runData.iLength))
|
sl@0
|
7497 |
{
|
sl@0
|
7498 |
INFO_PRINTF2(_L("TBidiText test - wrapped - reverse order check failed for index %d\r\n"), i);
|
sl@0
|
7499 |
TEST(EFalse);
|
sl@0
|
7500 |
}
|
sl@0
|
7501 |
|
sl@0
|
7502 |
if (length-end < 32)
|
sl@0
|
7503 |
{
|
sl@0
|
7504 |
break; //don't expect an end of line on the last line
|
sl@0
|
7505 |
}
|
sl@0
|
7506 |
|
sl@0
|
7507 |
if (wrapped[i+31] != 0x02028)
|
sl@0
|
7508 |
{
|
sl@0
|
7509 |
INFO_PRINTF2(_L("TBidiText test - wrapped - line terminator check failed for index %d\r\n"), i);
|
sl@0
|
7510 |
TEST(EFalse);
|
sl@0
|
7511 |
}
|
sl@0
|
7512 |
|
sl@0
|
7513 |
}
|
sl@0
|
7514 |
|
sl@0
|
7515 |
TPoint origin(0,0);
|
sl@0
|
7516 |
TInt baseline_offset = testFont->BaselineOffsetInPixels();
|
sl@0
|
7517 |
bidi->DrawText(*testContext, origin, baseline_offset);
|
sl@0
|
7518 |
|
sl@0
|
7519 |
//now check that DrawText passed the right data
|
sl@0
|
7520 |
for (i = 0 ; i < runsArray.Count() ; i++)
|
sl@0
|
7521 |
{
|
sl@0
|
7522 |
TPtrC16 spec(testContext->DisplayLine(i).LineData());
|
sl@0
|
7523 |
TEST(spec.Length() == runsArray[i].iLength);
|
sl@0
|
7524 |
TEST( spec.Length() <= (oldText.Length() - runsArray[i].iStart) );
|
sl@0
|
7525 |
TEST(TestTBidirectionalState::TextInReverseOrder(oldText.Ptr() + runsArray[i].iStart , spec.Ptr(), spec.Length()));
|
sl@0
|
7526 |
};
|
sl@0
|
7527 |
|
sl@0
|
7528 |
INFO_PRINTF1(_L("TBidiText test - wrapped - display text test passed\r\n"));
|
sl@0
|
7529 |
|
sl@0
|
7530 |
CleanupStack::PopAndDestroy(bidi);
|
sl@0
|
7531 |
CleanupStack::PopAndDestroy(); //whatever is pushed by HBufC::NewLC
|
sl@0
|
7532 |
delete testContext;
|
sl@0
|
7533 |
CleanupStack::PopAndDestroy(testDevice);
|
sl@0
|
7534 |
CleanupStack::PopAndDestroy(testFont);
|
sl@0
|
7535 |
CleanupStack::PopAndDestroy(); //closes runsArray
|
sl@0
|
7536 |
|
sl@0
|
7537 |
}
|
sl@0
|
7538 |
|
sl@0
|
7539 |
/**
|
sl@0
|
7540 |
*
|
sl@0
|
7541 |
* void CTBiDi::LeftToRightDrawTestL()
|
sl@0
|
7542 |
*
|
sl@0
|
7543 |
* Test for TBidiText::DrawText
|
sl@0
|
7544 |
*
|
sl@0
|
7545 |
* Some Latin text is drawn with line breaks
|
sl@0
|
7546 |
*
|
sl@0
|
7547 |
*/
|
sl@0
|
7548 |
void CTBiDi::LeftToRightDrawTestL()
|
sl@0
|
7549 |
{//as well as left to right text, this uses a variety of break opportunities.
|
sl@0
|
7550 |
INFO_PRINTF1(_L("TBidiText test - LeftToRight draw test\r\n"));
|
sl@0
|
7551 |
|
sl@0
|
7552 |
TSize windowSize(100,400);
|
sl@0
|
7553 |
|
sl@0
|
7554 |
RArray<TTestDataRun> runsArray(16);
|
sl@0
|
7555 |
CleanupClosePushL(runsArray);
|
sl@0
|
7556 |
|
sl@0
|
7557 |
CFont* testFont = new(ELeave) CTestFont;
|
sl@0
|
7558 |
CleanupStack::PushL(testFont);
|
sl@0
|
7559 |
|
sl@0
|
7560 |
|
sl@0
|
7561 |
CTestGraphicsDevice* testDevice = CTestGraphicsDevice::NewL(windowSize);
|
sl@0
|
7562 |
|
sl@0
|
7563 |
CleanupStack::PushL(testDevice);
|
sl@0
|
7564 |
|
sl@0
|
7565 |
CGraphicsContext* tContext;
|
sl@0
|
7566 |
|
sl@0
|
7567 |
TEST(testDevice->CreateContext(tContext) == KErrNone);
|
sl@0
|
7568 |
//note - no cleanupstack entry as the context is owned by the device
|
sl@0
|
7569 |
|
sl@0
|
7570 |
CTestGraphicsContext* testContext = static_cast<CTestGraphicsContext*>(tContext);
|
sl@0
|
7571 |
|
sl@0
|
7572 |
|
sl@0
|
7573 |
//Create buffer to hold test data
|
sl@0
|
7574 |
HBufC* oldTextBufPtr = HBufC::NewLC(KBufferSize);
|
sl@0
|
7575 |
|
sl@0
|
7576 |
TPtrC original;
|
sl@0
|
7577 |
TPtrC wrapped;
|
sl@0
|
7578 |
|
sl@0
|
7579 |
TextIterator lIterator(KLeftToRight, KLeftToRightLength);
|
sl@0
|
7580 |
|
sl@0
|
7581 |
TInt i;
|
sl@0
|
7582 |
TInt j;
|
sl@0
|
7583 |
TInt length;
|
sl@0
|
7584 |
TInt endOfWrapped;
|
sl@0
|
7585 |
|
sl@0
|
7586 |
//Fill buffer with groups of 16 characters separated by single spaces
|
sl@0
|
7587 |
for (i = 0 ; i < KBufferSize ; ++i)
|
sl@0
|
7588 |
{
|
sl@0
|
7589 |
if ( (i & 15) == 15)
|
sl@0
|
7590 |
{
|
sl@0
|
7591 |
oldTextBufPtr->Des().Append(0x020);
|
sl@0
|
7592 |
}
|
sl@0
|
7593 |
else
|
sl@0
|
7594 |
{
|
sl@0
|
7595 |
oldTextBufPtr->Des().Append(lIterator.NextChar());
|
sl@0
|
7596 |
}
|
sl@0
|
7597 |
}
|
sl@0
|
7598 |
|
sl@0
|
7599 |
TPtr oldText(oldTextBufPtr->Des());
|
sl@0
|
7600 |
|
sl@0
|
7601 |
TBidiText* bidi = TBidiText::NewL(oldText, 200);
|
sl@0
|
7602 |
|
sl@0
|
7603 |
CleanupStack::PushL(bidi);
|
sl@0
|
7604 |
|
sl@0
|
7605 |
TEST( (oldText.Length() == bidi->Text().Length() ) && (oldText.Length() == KBufferSize) );
|
sl@0
|
7606 |
|
sl@0
|
7607 |
TEST(TestTBidirectionalState::TextInSameOrder(oldText.Ptr(), bidi->Text().Ptr(), KBufferSize));
|
sl@0
|
7608 |
|
sl@0
|
7609 |
bidi->WrapText(100 , *testFont, 0);
|
sl@0
|
7610 |
|
sl@0
|
7611 |
TEST(bidi->WrappingWidth() == 100);
|
sl@0
|
7612 |
|
sl@0
|
7613 |
original.Set(bidi->Text());
|
sl@0
|
7614 |
|
sl@0
|
7615 |
wrapped.Set(bidi->DisplayText());
|
sl@0
|
7616 |
|
sl@0
|
7617 |
#ifdef PRINT_ARRAYS
|
sl@0
|
7618 |
_LIT(KOriginalTitle, "Original: \r\n");
|
sl@0
|
7619 |
_LIT(KDisplayTitle, "Display: \r\n");
|
sl@0
|
7620 |
|
sl@0
|
7621 |
PrintTestData(KOriginalTitle, original);
|
sl@0
|
7622 |
PrintTestData(KDisplayTitle, wrapped);
|
sl@0
|
7623 |
|
sl@0
|
7624 |
#endif // PRINT_ARRAYS
|
sl@0
|
7625 |
|
sl@0
|
7626 |
//Using a font where every character is 10 pixels wide and wrapping to 100 pixels width,
|
sl@0
|
7627 |
//after 10 characters should be a linebreak, then the next space is replaced by another linebreak and so on.
|
sl@0
|
7628 |
|
sl@0
|
7629 |
length = oldText.Length();
|
sl@0
|
7630 |
endOfWrapped = wrapped.Length();
|
sl@0
|
7631 |
|
sl@0
|
7632 |
TEST(original.Length() == length);
|
sl@0
|
7633 |
TEST(endOfWrapped >= length);
|
sl@0
|
7634 |
|
sl@0
|
7635 |
TInt increment = 10;
|
sl@0
|
7636 |
|
sl@0
|
7637 |
i = 0;
|
sl@0
|
7638 |
j = 0;
|
sl@0
|
7639 |
|
sl@0
|
7640 |
for(i=0,j=0; i < length; i += increment, (increment = (increment == 5) ? 10 : 5))
|
sl@0
|
7641 |
{
|
sl@0
|
7642 |
|
sl@0
|
7643 |
TTestDataRun runData;
|
sl@0
|
7644 |
|
sl@0
|
7645 |
TInt endOfRun = ((length-i) > increment) ? i+increment : length;
|
sl@0
|
7646 |
|
sl@0
|
7647 |
runData.iStart = i;
|
sl@0
|
7648 |
runData.iLength = endOfRun-i;
|
sl@0
|
7649 |
|
sl@0
|
7650 |
runsArray.Append(runData);
|
sl@0
|
7651 |
|
sl@0
|
7652 |
//make sure the array is not overread
|
sl@0
|
7653 |
TEST( (runData.iLength <= oldText.Length() - i) && (runData.iLength <= wrapped.Length() - j) );
|
sl@0
|
7654 |
|
sl@0
|
7655 |
if (!TestTBidirectionalState::TextInSameOrder(oldText.Ptr() + i , wrapped.Ptr() + j, runData.iLength))
|
sl@0
|
7656 |
{
|
sl@0
|
7657 |
INFO_PRINTF3(_L("TBidiText test - wrapped - same order check failed for index %d out-index %d\r\n"), i, j);
|
sl@0
|
7658 |
TEST(EFalse);
|
sl@0
|
7659 |
}
|
sl@0
|
7660 |
|
sl@0
|
7661 |
j += increment;
|
sl@0
|
7662 |
|
sl@0
|
7663 |
if (j >= (endOfWrapped-1))
|
sl@0
|
7664 |
{
|
sl@0
|
7665 |
break;
|
sl@0
|
7666 |
}
|
sl@0
|
7667 |
|
sl@0
|
7668 |
if (wrapped[j++] != 0x02028)
|
sl@0
|
7669 |
{
|
sl@0
|
7670 |
INFO_PRINTF3(_L("TBidiText test - wrapped - line terminator check failed for index %d out-index %d\r\n"), i, j-1);
|
sl@0
|
7671 |
TEST(EFalse);
|
sl@0
|
7672 |
}
|
sl@0
|
7673 |
if (increment == 5)
|
sl@0
|
7674 |
{
|
sl@0
|
7675 |
i++; //skip space at end of every 15 characters
|
sl@0
|
7676 |
};
|
sl@0
|
7677 |
|
sl@0
|
7678 |
|
sl@0
|
7679 |
}
|
sl@0
|
7680 |
|
sl@0
|
7681 |
TPoint origin(0,0);
|
sl@0
|
7682 |
TInt baseline_offset = testFont->BaselineOffsetInPixels();
|
sl@0
|
7683 |
bidi->DrawText(*testContext, origin, baseline_offset);
|
sl@0
|
7684 |
|
sl@0
|
7685 |
//now check that DrawText passed the right data
|
sl@0
|
7686 |
for (i = 0 ; i < (runsArray.Count()-1) ; i++)
|
sl@0
|
7687 |
{
|
sl@0
|
7688 |
TPoint line_origin(testContext->DisplayLine(i).Position());
|
sl@0
|
7689 |
TEST (line_origin.iY == (origin.iY + (i * baseline_offset)));
|
sl@0
|
7690 |
TPtrC16 spec(testContext->DisplayLine(i).LineData());
|
sl@0
|
7691 |
TTestDataRun run = runsArray[i];
|
sl@0
|
7692 |
TEST(spec.Length() == run.iLength);
|
sl@0
|
7693 |
//make sure the array is not overread
|
sl@0
|
7694 |
TEST(spec.Length() <= oldText.Length() - run.iStart);
|
sl@0
|
7695 |
TEST(TestTBidirectionalState::TextInSameOrder(oldText.Ptr() + run.iStart , spec.Ptr(), spec.Length()));
|
sl@0
|
7696 |
};
|
sl@0
|
7697 |
|
sl@0
|
7698 |
INFO_PRINTF1(_L("TBidiText test - wrapped - display text test passed\r\n"));
|
sl@0
|
7699 |
|
sl@0
|
7700 |
CleanupStack::PopAndDestroy(bidi);
|
sl@0
|
7701 |
CleanupStack::PopAndDestroy(); //whatever is pushed by HBufC::NewLC
|
sl@0
|
7702 |
delete testContext;
|
sl@0
|
7703 |
CleanupStack::PopAndDestroy(testDevice);
|
sl@0
|
7704 |
CleanupStack::PopAndDestroy(testFont);
|
sl@0
|
7705 |
CleanupStack::PopAndDestroy(); //closes runsArray
|
sl@0
|
7706 |
|
sl@0
|
7707 |
}
|
sl@0
|
7708 |
|
sl@0
|
7709 |
/**
|
sl@0
|
7710 |
*
|
sl@0
|
7711 |
* TBool CTBiDi::GlyphTestL
|
sl@0
|
7712 |
*
|
sl@0
|
7713 |
* Test function for glyph substitution
|
sl@0
|
7714 |
*
|
sl@0
|
7715 |
* @param "const TDesC16& aTitle"
|
sl@0
|
7716 |
* Reference to literal string used for logging. Id's the particular test
|
sl@0
|
7717 |
*
|
sl@0
|
7718 |
* @param "const TDesC16& aOriginal"
|
sl@0
|
7719 |
* Reference text
|
sl@0
|
7720 |
*
|
sl@0
|
7721 |
* @param "const TDesC16& aDesired"
|
sl@0
|
7722 |
* Reference to expected result following call to DisplayText
|
sl@0
|
7723 |
*
|
sl@0
|
7724 |
* @param "const TInt aWrapWidth"
|
sl@0
|
7725 |
* The maximum width of the text (in pixels)
|
sl@0
|
7726 |
*
|
sl@0
|
7727 |
*/
|
sl@0
|
7728 |
TBool CTBiDi::GlyphTestL(const TDesC16& aTitle, const TDesC16& aOriginal, const TDesC16& aDesired, const TInt aWrapWidth)
|
sl@0
|
7729 |
{
|
sl@0
|
7730 |
TBool pass = ETrue;
|
sl@0
|
7731 |
INFO_PRINTF1(aTitle);
|
sl@0
|
7732 |
|
sl@0
|
7733 |
TSize windowSize(400,200);
|
sl@0
|
7734 |
|
sl@0
|
7735 |
CTestGraphicsDevice* testDevice = CTestGraphicsDevice::NewL(windowSize);
|
sl@0
|
7736 |
CleanupStack::PushL(testDevice);
|
sl@0
|
7737 |
|
sl@0
|
7738 |
CFont* testFont;
|
sl@0
|
7739 |
CGraphicsContext* tContext;
|
sl@0
|
7740 |
|
sl@0
|
7741 |
User::LeaveIfError(testDevice->CreateContext(tContext));
|
sl@0
|
7742 |
CleanupStack::PushL(tContext);
|
sl@0
|
7743 |
|
sl@0
|
7744 |
User::LeaveIfError(testDevice->GetNearestFontToDesignHeightInPixels(testFont,TFontSpec(KArabicFontName,16)));
|
sl@0
|
7745 |
|
sl@0
|
7746 |
TPtrC original;
|
sl@0
|
7747 |
TPtrC wrapped;
|
sl@0
|
7748 |
TPtrC desired(aDesired);
|
sl@0
|
7749 |
TInt desiredIndex = 0;
|
sl@0
|
7750 |
TInt desiredLength = desired.Length();
|
sl@0
|
7751 |
|
sl@0
|
7752 |
TBidiText* bidi = TBidiText::NewL(aOriginal, 50);
|
sl@0
|
7753 |
|
sl@0
|
7754 |
CleanupStack::PushL(bidi);
|
sl@0
|
7755 |
|
sl@0
|
7756 |
bidi->WrapText(aWrapWidth , *testFont, 0);
|
sl@0
|
7757 |
|
sl@0
|
7758 |
TEST(bidi->WrappingWidth() == aWrapWidth);
|
sl@0
|
7759 |
|
sl@0
|
7760 |
original.Set(bidi->Text());
|
sl@0
|
7761 |
|
sl@0
|
7762 |
wrapped.Set(bidi->DisplayText());
|
sl@0
|
7763 |
|
sl@0
|
7764 |
|
sl@0
|
7765 |
CFont::TPositionParam param;
|
sl@0
|
7766 |
param.iDirection = CFont::EHorizontal;
|
sl@0
|
7767 |
param.iText.Set(bidi->DisplayText());
|
sl@0
|
7768 |
|
sl@0
|
7769 |
param.iPosInText = 0;
|
sl@0
|
7770 |
TInt end_char = wrapped.Length();
|
sl@0
|
7771 |
|
sl@0
|
7772 |
pass = ETrue;
|
sl@0
|
7773 |
|
sl@0
|
7774 |
while (param.iPosInText < end_char)
|
sl@0
|
7775 |
{
|
sl@0
|
7776 |
if (testFont->GetCharacterPosition(param)) //turn character(s) into glyphs
|
sl@0
|
7777 |
{
|
sl@0
|
7778 |
//some glyphs have been output
|
sl@0
|
7779 |
TInt i;
|
sl@0
|
7780 |
for (i = 0 ; i < param.iOutputGlyphs ; ++i)
|
sl@0
|
7781 |
{
|
sl@0
|
7782 |
pass = pass && (desiredIndex < desiredLength); //see if more glyphs generated than expected
|
sl@0
|
7783 |
|
sl@0
|
7784 |
while (desired[desiredIndex] == KUnicodeNoSuchCharacter)
|
sl@0
|
7785 |
{
|
sl@0
|
7786 |
++desiredIndex; //skip any padding
|
sl@0
|
7787 |
}
|
sl@0
|
7788 |
|
sl@0
|
7789 |
pass = pass && (desired[desiredIndex] == param.iOutput[i].iCode);
|
sl@0
|
7790 |
|
sl@0
|
7791 |
++desiredIndex;
|
sl@0
|
7792 |
}
|
sl@0
|
7793 |
}
|
sl@0
|
7794 |
}
|
sl@0
|
7795 |
_LIT(KPassed, " passed\r\n");
|
sl@0
|
7796 |
_LIT(KFailed, " FAILED\r\n");
|
sl@0
|
7797 |
|
sl@0
|
7798 |
if (pass)
|
sl@0
|
7799 |
{
|
sl@0
|
7800 |
INFO_PRINTF1(KPassed);
|
sl@0
|
7801 |
}
|
sl@0
|
7802 |
else
|
sl@0
|
7803 |
{
|
sl@0
|
7804 |
INFO_PRINTF1(KFailed);
|
sl@0
|
7805 |
_LIT(KOriginalTitle, "Original: \r\n");
|
sl@0
|
7806 |
_LIT(KDisplayTitle, "Display: \r\n");
|
sl@0
|
7807 |
_LIT(KDesiredTitle, "Desired: \r\n");
|
sl@0
|
7808 |
PrintTestData(KOriginalTitle, original);
|
sl@0
|
7809 |
PrintTestData(KDisplayTitle, wrapped);
|
sl@0
|
7810 |
PrintTestData(KDesiredTitle, desired);
|
sl@0
|
7811 |
|
sl@0
|
7812 |
}
|
sl@0
|
7813 |
|
sl@0
|
7814 |
CleanupStack::PopAndDestroy(bidi);
|
sl@0
|
7815 |
CleanupStack::PopAndDestroy(tContext);
|
sl@0
|
7816 |
CleanupStack::PopAndDestroy(testDevice);
|
sl@0
|
7817 |
delete ((CTestFont*)testFont); //this is to avoid compilation warnings as CFont desructor is private
|
sl@0
|
7818 |
|
sl@0
|
7819 |
return pass;
|
sl@0
|
7820 |
}
|
sl@0
|
7821 |
|
sl@0
|
7822 |
_LIT(KLamAlefIsolateTitle, "Lam-Alef Ligature Test (Alef-Lam in logical order) ");
|
sl@0
|
7823 |
_LIT(KLamAlefIsolate, " \x644\x627 ");
|
sl@0
|
7824 |
_LIT(KLamAlefIsolateDesired, " \xfefb ");
|
sl@0
|
7825 |
_LIT(KLamAlefTahTtitle, "Lam-Alef Tah Ligature Test (Tah Alef Lam in logical order) ");
|
sl@0
|
7826 |
_LIT(KLamAlefTah, " \x637\x644\x627 ");
|
sl@0
|
7827 |
_LIT(KLamAlefTahDesired, " \xfefc\xfec3 ");
|
sl@0
|
7828 |
_LIT(KTaaTaaTaaTitle, "Taa Taa Taa Shaping test ");
|
sl@0
|
7829 |
_LIT(KTaaTaaTaa, " \x637\x637\x637 ");
|
sl@0
|
7830 |
_LIT(KTaaTaaTaaDesired, " \xfec2\xfec4\xfec3 ");
|
sl@0
|
7831 |
|
sl@0
|
7832 |
|
sl@0
|
7833 |
/**
|
sl@0
|
7834 |
*
|
sl@0
|
7835 |
* TBool CTBiDi::LigatureTextsL
|
sl@0
|
7836 |
*
|
sl@0
|
7837 |
* Test function of glyphs using ligatures
|
sl@0
|
7838 |
*
|
sl@0
|
7839 |
*/
|
sl@0
|
7840 |
void CTBiDi::LigatureTestsL()
|
sl@0
|
7841 |
{
|
sl@0
|
7842 |
TInt passed = 0;
|
sl@0
|
7843 |
TInt wrapWidth = 400;
|
sl@0
|
7844 |
//set the wrapping width very large - we don't want these tests to linewrap.
|
sl@0
|
7845 |
|
sl@0
|
7846 |
if (GlyphTestL(KLamAlefIsolateTitle, KLamAlefIsolate, KLamAlefIsolateDesired, wrapWidth))
|
sl@0
|
7847 |
{
|
sl@0
|
7848 |
++passed;
|
sl@0
|
7849 |
}
|
sl@0
|
7850 |
if (GlyphTestL(KLamAlefTahTtitle, KLamAlefTah, KLamAlefTahDesired, wrapWidth))
|
sl@0
|
7851 |
{
|
sl@0
|
7852 |
++passed;
|
sl@0
|
7853 |
}
|
sl@0
|
7854 |
if (GlyphTestL(KTaaTaaTaaTitle, KTaaTaaTaa, KTaaTaaTaaDesired, wrapWidth))
|
sl@0
|
7855 |
{
|
sl@0
|
7856 |
++passed;
|
sl@0
|
7857 |
}
|
sl@0
|
7858 |
TEST(passed == 3);
|
sl@0
|
7859 |
}
|
sl@0
|
7860 |
|
sl@0
|
7861 |
_LIT(KIllegalBreakTitle, "Arabic Illegal Linebreak Test");
|
sl@0
|
7862 |
|
sl@0
|
7863 |
/**
|
sl@0
|
7864 |
*
|
sl@0
|
7865 |
* void CTBiDi::ArabicIllegalLinebreakTestsL
|
sl@0
|
7866 |
*
|
sl@0
|
7867 |
* Tests that when rendering a long Arabic "word" that needs to be broken up part-way
|
sl@0
|
7868 |
* due to screen width, that the characters inside the word are still rendered as their
|
sl@0
|
7869 |
* medial form rather than incorrectly making them initial final or isolated.
|
sl@0
|
7870 |
*/
|
sl@0
|
7871 |
void CTBiDi::ArabicIllegalLinebreakTestsL()
|
sl@0
|
7872 |
{
|
sl@0
|
7873 |
static const TInt KWrappingWidth = 100; //in pixels
|
sl@0
|
7874 |
static const TInt KLineWidth = 10; //not including linebreak
|
sl@0
|
7875 |
static const TInt KInputLength = 150;
|
sl@0
|
7876 |
static const TInt KOutputLength = ((KInputLength/(KLineWidth-1))+1)*KLineWidth; //allow for linebreak characters
|
sl@0
|
7877 |
|
sl@0
|
7878 |
TBuf<KInputLength> iBuffer; //holds input data
|
sl@0
|
7879 |
TBuf<KOutputLength> oBuffer; //holds expected glyphs that the input will be turned into
|
sl@0
|
7880 |
|
sl@0
|
7881 |
TextIterator iterator(KArabicDualJoiningLettersData, KArabicDualJoiningLettersLength);
|
sl@0
|
7882 |
|
sl@0
|
7883 |
while (!iterator.Wrapped())
|
sl@0
|
7884 |
{
|
sl@0
|
7885 |
TInt i;
|
sl@0
|
7886 |
TInt j;
|
sl@0
|
7887 |
TInt startOfLine;
|
sl@0
|
7888 |
iBuffer.Zero();
|
sl@0
|
7889 |
oBuffer.FillZ(oBuffer.MaxLength());
|
sl@0
|
7890 |
TUint16 ch = iterator.NextChar();
|
sl@0
|
7891 |
TUint16 medial_ch;
|
sl@0
|
7892 |
|
sl@0
|
7893 |
startOfLine = 0;
|
sl@0
|
7894 |
j = KLineWidth;
|
sl@0
|
7895 |
iBuffer.Append(KUnicodeSpace);
|
sl@0
|
7896 |
oBuffer[j--] = KUnicodeLinebreak;
|
sl@0
|
7897 |
oBuffer[j--] = KUnicodeSpace;
|
sl@0
|
7898 |
iBuffer.Append(ch);
|
sl@0
|
7899 |
oBuffer[j--] = GetInitialForm(ch);
|
sl@0
|
7900 |
|
sl@0
|
7901 |
//Now compose a very long nonsense word in Arabic.
|
sl@0
|
7902 |
//At the same time insert the corresponding
|
sl@0
|
7903 |
for (i = 1; i < (iBuffer.MaxLength()-3) ; ++i)
|
sl@0
|
7904 |
{
|
sl@0
|
7905 |
do
|
sl@0
|
7906 |
{
|
sl@0
|
7907 |
ch = iterator.NextChar();
|
sl@0
|
7908 |
medial_ch = GetMedialForm(ch);
|
sl@0
|
7909 |
}
|
sl@0
|
7910 |
while (medial_ch == ch); //skip characters without medial form
|
sl@0
|
7911 |
iBuffer.Append(ch);
|
sl@0
|
7912 |
oBuffer[j--] = medial_ch;;
|
sl@0
|
7913 |
if (j < startOfLine)
|
sl@0
|
7914 |
{
|
sl@0
|
7915 |
startOfLine += KLineWidth+1;
|
sl@0
|
7916 |
j = startOfLine + KLineWidth;
|
sl@0
|
7917 |
oBuffer[j--] = KUnicodeLinebreak;
|
sl@0
|
7918 |
}
|
sl@0
|
7919 |
}
|
sl@0
|
7920 |
ch = iterator.NextChar();
|
sl@0
|
7921 |
iBuffer.Append(ch);
|
sl@0
|
7922 |
oBuffer[j--] = GetFinalForm(ch);
|
sl@0
|
7923 |
iBuffer.Append(KUnicodeSpace);
|
sl@0
|
7924 |
oBuffer[j--] = KUnicodeSpace; //Trailing spaces are not supressed, hence add space to test output
|
sl@0
|
7925 |
for (; j >= startOfLine ; --j)
|
sl@0
|
7926 |
{
|
sl@0
|
7927 |
oBuffer[j] = KUnicodeNoSuchCharacter;
|
sl@0
|
7928 |
}
|
sl@0
|
7929 |
|
sl@0
|
7930 |
//You might be expecting to see some zero-width joiners in the output.
|
sl@0
|
7931 |
//In fact these are suppressed by the font object used by GlyphTestL
|
sl@0
|
7932 |
//so we never see them on the outside.
|
sl@0
|
7933 |
|
sl@0
|
7934 |
TBool passed = GlyphTestL(KIllegalBreakTitle, iBuffer, oBuffer, KWrappingWidth);
|
sl@0
|
7935 |
if (!passed)
|
sl@0
|
7936 |
{
|
sl@0
|
7937 |
TEST(EFalse);
|
sl@0
|
7938 |
}
|
sl@0
|
7939 |
}
|
sl@0
|
7940 |
}
|
sl@0
|
7941 |
|
sl@0
|
7942 |
/**
|
sl@0
|
7943 |
*
|
sl@0
|
7944 |
* void CTBiDi::DoTestTextDrawPanic()
|
sl@0
|
7945 |
*
|
sl@0
|
7946 |
* Panic Test for TBidiText::DrawText
|
sl@0
|
7947 |
*
|
sl@0
|
7948 |
* This attempts to call DrawText without first calling WrapText and consequently is expected to panic.
|
sl@0
|
7949 |
*
|
sl@0
|
7950 |
*/
|
sl@0
|
7951 |
void CTBiDi::DoTestTextDrawPanic()
|
sl@0
|
7952 |
{
|
sl@0
|
7953 |
TSize windowSize(100,100);
|
sl@0
|
7954 |
|
sl@0
|
7955 |
CTestGraphicsDevice* testDevice = CTestGraphicsDevice::NewL(windowSize);
|
sl@0
|
7956 |
|
sl@0
|
7957 |
CleanupStack::PushL(testDevice);
|
sl@0
|
7958 |
|
sl@0
|
7959 |
CGraphicsContext* testContext;
|
sl@0
|
7960 |
|
sl@0
|
7961 |
TEST(testDevice->CreateContext(testContext) == KErrNone);
|
sl@0
|
7962 |
//note - no cleanupstack entry as the context is owned by the device
|
sl@0
|
7963 |
|
sl@0
|
7964 |
_LIT(KBidiText, "This is just a random lump of text");
|
sl@0
|
7965 |
|
sl@0
|
7966 |
TBidiText* bidi = TBidiText::NewL(KBidiText, 50);
|
sl@0
|
7967 |
|
sl@0
|
7968 |
CleanupStack::PushL(bidi);
|
sl@0
|
7969 |
|
sl@0
|
7970 |
TPoint centre(50,50);
|
sl@0
|
7971 |
|
sl@0
|
7972 |
bidi->DrawText(*testContext, centre);
|
sl@0
|
7973 |
|
sl@0
|
7974 |
CleanupStack::PopAndDestroy(bidi);
|
sl@0
|
7975 |
CleanupStack::PopAndDestroy(testDevice);
|
sl@0
|
7976 |
}
|
sl@0
|
7977 |
|
sl@0
|
7978 |
/**
|
sl@0
|
7979 |
*
|
sl@0
|
7980 |
* static TInt TestDrawTextPanicThread
|
sl@0
|
7981 |
*
|
sl@0
|
7982 |
* Panic Test for TBidiText::DrawText
|
sl@0
|
7983 |
*
|
sl@0
|
7984 |
* This calls DoTestDrawTextPanic within its own cleanup stack and TRAPD as it is in
|
sl@0
|
7985 |
* a separate thread.
|
sl@0
|
7986 |
*
|
sl@0
|
7987 |
*/
|
sl@0
|
7988 |
static TInt TestDrawTextPanicThread(TAny* aData)
|
sl@0
|
7989 |
{
|
sl@0
|
7990 |
//Tests that BidiText::DrawText panics if called without first calling
|
sl@0
|
7991 |
//BidiText::WrapText.
|
sl@0
|
7992 |
|
sl@0
|
7993 |
CTBiDi* theTest = static_cast<CTBiDi*> (aData);
|
sl@0
|
7994 |
CTrapCleanup* tc = CTrapCleanup::New();
|
sl@0
|
7995 |
if (!tc)
|
sl@0
|
7996 |
return KErrNoMemory;
|
sl@0
|
7997 |
|
sl@0
|
7998 |
TRAPD(err, theTest->DoTestTextDrawPanic());
|
sl@0
|
7999 |
|
sl@0
|
8000 |
delete tc;
|
sl@0
|
8001 |
|
sl@0
|
8002 |
return err;
|
sl@0
|
8003 |
}
|
sl@0
|
8004 |
|
sl@0
|
8005 |
/**
|
sl@0
|
8006 |
*
|
sl@0
|
8007 |
* TInt CTBiDi::TestPanic
|
sl@0
|
8008 |
*
|
sl@0
|
8009 |
* Panic Test for TBidiText
|
sl@0
|
8010 |
*
|
sl@0
|
8011 |
* This creates a separate thread to run the test in as normally a panic
|
sl@0
|
8012 |
* will stop the test process.
|
sl@0
|
8013 |
*
|
sl@0
|
8014 |
*/
|
sl@0
|
8015 |
TInt CTBiDi::TestPanic(TThreadFunction aFunction)
|
sl@0
|
8016 |
{
|
sl@0
|
8017 |
// Increment the test thread counter to create threads with different names and thus avoid conflict of kernel resources
|
sl@0
|
8018 |
++iTestThreadCounter;
|
sl@0
|
8019 |
_LIT(KThreadNameFormat, "DeliberatePanicPleaseIgnore%d");
|
sl@0
|
8020 |
TBuf<256> threadNameBuf;
|
sl@0
|
8021 |
threadNameBuf.Format(KThreadNameFormat, iTestThreadCounter);
|
sl@0
|
8022 |
|
sl@0
|
8023 |
TInt KHeapSize = 8192;
|
sl@0
|
8024 |
RThread thread;
|
sl@0
|
8025 |
TRequestStatus threadstat;
|
sl@0
|
8026 |
TBool jit = User::JustInTime();
|
sl@0
|
8027 |
User::SetJustInTime(EFalse);
|
sl@0
|
8028 |
TInt ret = thread.Create(threadNameBuf, aFunction, KDefaultStackSize, KHeapSize, KHeapSize, this);
|
sl@0
|
8029 |
TEST(KErrNone == ret);
|
sl@0
|
8030 |
thread.Logon(threadstat);
|
sl@0
|
8031 |
thread.Resume();
|
sl@0
|
8032 |
User::WaitForRequest(threadstat);
|
sl@0
|
8033 |
TEST (thread.ExitType() == EExitPanic);
|
sl@0
|
8034 |
TInt reason = thread.ExitReason();
|
sl@0
|
8035 |
thread.Close();
|
sl@0
|
8036 |
User::SetJustInTime(jit);
|
sl@0
|
8037 |
return reason;
|
sl@0
|
8038 |
}
|
sl@0
|
8039 |
|
sl@0
|
8040 |
/**
|
sl@0
|
8041 |
*
|
sl@0
|
8042 |
* void CTBiDi::TRunInfoCompactReorderTest
|
sl@0
|
8043 |
*
|
sl@0
|
8044 |
* Tests functionality contained within TRunInfoCompact
|
sl@0
|
8045 |
*
|
sl@0
|
8046 |
*/
|
sl@0
|
8047 |
void CTBiDi::TRunInfoCompactReorderTest()
|
sl@0
|
8048 |
{
|
sl@0
|
8049 |
_LIT(KLetters, "XYZjklmnPQR");
|
sl@0
|
8050 |
static const struct {
|
sl@0
|
8051 |
TBool iJoinsAtStart;
|
sl@0
|
8052 |
TBool iJoinsAtEnd;
|
sl@0
|
8053 |
TBool iTruncated;
|
sl@0
|
8054 |
TInt iStart;
|
sl@0
|
8055 |
TInt iEnd;
|
sl@0
|
8056 |
const TText* iExpected;} testData[] =
|
sl@0
|
8057 |
{
|
sl@0
|
8058 |
{EFalse, EFalse, EFalse, 4, 7, _S("klm")},
|
sl@0
|
8059 |
{EFalse, EFalse, EFalse, 3, 7, _S("jklm")},
|
sl@0
|
8060 |
{EFalse, EFalse, EFalse, 4, 8, _S("klmn")},
|
sl@0
|
8061 |
{EFalse, EFalse, EFalse, 2, 9, _S("jklmn")},
|
sl@0
|
8062 |
{ETrue, ETrue, EFalse, 2, 9, _S("\x200Djklmn\x200D")},
|
sl@0
|
8063 |
{EFalse, ETrue, EFalse, 2, 9, _S("jklmn\x200D")},
|
sl@0
|
8064 |
{ETrue, EFalse, EFalse, 2, 9, _S("\x200Djklmn")},
|
sl@0
|
8065 |
{EFalse, EFalse, ETrue, 4, 8, _S("klmn")},
|
sl@0
|
8066 |
{EFalse, EFalse, ETrue, 2, 9, _S("jklmn\x2029")},
|
sl@0
|
8067 |
{ETrue, ETrue, ETrue, 2, 9, _S("\x200Djklmn\x200D\x2029")},
|
sl@0
|
8068 |
{EFalse, ETrue, ETrue, 2, 9, _S("jklmn\x200D\x2029")},
|
sl@0
|
8069 |
{ETrue, EFalse, ETrue, 2, 9, _S("\x200Djklmn\x2029")},
|
sl@0
|
8070 |
{ETrue, ETrue, ETrue, 8, 9, _S("\x200D\x2029")},
|
sl@0
|
8071 |
{ETrue, ETrue, ETrue, 8, 8, _S("")},
|
sl@0
|
8072 |
{ETrue, ETrue, ETrue, 9, 9, _S("")},
|
sl@0
|
8073 |
{ETrue, ETrue, ETrue, 4, 4, _S("")},
|
sl@0
|
8074 |
{ETrue, ETrue, ETrue, 4, 5, _S("k")},
|
sl@0
|
8075 |
{EFalse, EFalse, EFalse, 7, 4, _S("mlk")},
|
sl@0
|
8076 |
{EFalse, EFalse, EFalse, 7, 3, _S("mlkj")},
|
sl@0
|
8077 |
{EFalse, EFalse, EFalse, 8, 4, _S("nmlk")},
|
sl@0
|
8078 |
{EFalse, EFalse, EFalse, 9, 2, _S("nmlkj")},
|
sl@0
|
8079 |
{ETrue, ETrue, EFalse, 9, 2, _S("\x200Dnmlkj\x200D")},
|
sl@0
|
8080 |
{EFalse, ETrue, EFalse, 9, 2, _S("\x200Dnmlkj")},
|
sl@0
|
8081 |
{ETrue, EFalse, EFalse, 9, 2, _S("nmlkj\x200D")},
|
sl@0
|
8082 |
{EFalse, EFalse, ETrue, 8, 4, _S("nmlk")},
|
sl@0
|
8083 |
{EFalse, EFalse, ETrue, 9, 2, _S("\x2029nmlkj")},
|
sl@0
|
8084 |
{ETrue, ETrue, ETrue, 9, 2, _S("\x2029\x200Dnmlkj\x200D")},
|
sl@0
|
8085 |
{EFalse, ETrue, ETrue, 9, 2, _S("\x2029\x200Dnmlkj")},
|
sl@0
|
8086 |
{ETrue, EFalse, ETrue, 9, 2, _S("\x2029nmlkj\x200D")},
|
sl@0
|
8087 |
{ETrue, ETrue, ETrue, 9, 8, _S("\x2029\x200D")},
|
sl@0
|
8088 |
{ETrue, ETrue, ETrue, 5, 4, _S("k")},
|
sl@0
|
8089 |
};
|
sl@0
|
8090 |
INFO_PRINTF1(_L("TRunInfoCompact::Reorder test\r\n"));
|
sl@0
|
8091 |
TRunInfoCompact::TReorderingContext context;
|
sl@0
|
8092 |
context.iSource = KLetters().Ptr();
|
sl@0
|
8093 |
context.iStart = 3;
|
sl@0
|
8094 |
context.iEnd = 8;
|
sl@0
|
8095 |
TText buffer[20];
|
sl@0
|
8096 |
TInt numTestCases = sizeof(testData)/sizeof(testData[0]);
|
sl@0
|
8097 |
TBool allTestsPassed = ETrue;
|
sl@0
|
8098 |
for (TInt i = 0; i != numTestCases; ++i)
|
sl@0
|
8099 |
{
|
sl@0
|
8100 |
TInt start = testData[i].iStart;
|
sl@0
|
8101 |
TInt end = testData[i].iEnd;
|
sl@0
|
8102 |
TBool reverse = EFalse;
|
sl@0
|
8103 |
if (end < start)
|
sl@0
|
8104 |
{
|
sl@0
|
8105 |
reverse = ETrue;
|
sl@0
|
8106 |
start = testData[i].iEnd;
|
sl@0
|
8107 |
end = testData[i].iStart;
|
sl@0
|
8108 |
}
|
sl@0
|
8109 |
TInt length = end - start;
|
sl@0
|
8110 |
TRunInfoCompact run(start, length, reverse);
|
sl@0
|
8111 |
context.iJoinsAtStart = testData[i].iJoinsAtStart;
|
sl@0
|
8112 |
context.iJoinsAtEnd = testData[i].iJoinsAtEnd;
|
sl@0
|
8113 |
context.iTruncation = testData[i].iTruncated ? 0x2029 : 0xFFFF;
|
sl@0
|
8114 |
TText* resultEnd = buffer;
|
sl@0
|
8115 |
TRAPD(err, resultEnd = run.Reorder(buffer, context));
|
sl@0
|
8116 |
TEST(err == KErrNone);
|
sl@0
|
8117 |
TPtrC result(buffer, resultEnd - buffer);
|
sl@0
|
8118 |
TPtrC expected(testData[i].iExpected);
|
sl@0
|
8119 |
if(result.Compare(expected) != 0)
|
sl@0
|
8120 |
{
|
sl@0
|
8121 |
INFO_PRINTF2(_L("TRunInfoCompactReorderTest %d Failed\r\n"), i+1);
|
sl@0
|
8122 |
PrintTestData(_L("Result "), result);
|
sl@0
|
8123 |
PrintTestData(_L("Expected "), expected);
|
sl@0
|
8124 |
allTestsPassed = EFalse;
|
sl@0
|
8125 |
};
|
sl@0
|
8126 |
|
sl@0
|
8127 |
}
|
sl@0
|
8128 |
TEST(allTestsPassed);
|
sl@0
|
8129 |
}
|
sl@0
|
8130 |
|
sl@0
|
8131 |
/**
|
sl@0
|
8132 |
*
|
sl@0
|
8133 |
* void CTBiDi::TBidiLogicalToVisualGetVisualLineTest
|
sl@0
|
8134 |
*
|
sl@0
|
8135 |
* Tests functionality contained within TBidiLogicalToVisual
|
sl@0
|
8136 |
*
|
sl@0
|
8137 |
*/
|
sl@0
|
8138 |
void CTBiDi::TBidiLogicalToVisualGetVisualLineTest()
|
sl@0
|
8139 |
{
|
sl@0
|
8140 |
TBidirectionalState::TRunInfo runArray[4];
|
sl@0
|
8141 |
// only iStart, iLength and iDirection are important
|
sl@0
|
8142 |
// logical: 0>0>0>0>0>3<3<3<1<1<1<1<2>2>2>2>2>2>
|
sl@0
|
8143 |
// visual: 01234BA98CDEFGH765
|
sl@0
|
8144 |
// This text would never really be re-ordered in this way.
|
sl@0
|
8145 |
// Joiners are between 5 and 6, and 9 and 10.
|
sl@0
|
8146 |
_LIT(KBidi, "GHIJK\x0643\x0631\x0644\x0621\x0645\x0627\x0639LMNOPQ");
|
sl@0
|
8147 |
runArray[0].iStart = 0;
|
sl@0
|
8148 |
runArray[0].iLength = 5;
|
sl@0
|
8149 |
runArray[0].iDirection = 0;
|
sl@0
|
8150 |
runArray[1].iStart = 8;
|
sl@0
|
8151 |
runArray[1].iLength = 4;
|
sl@0
|
8152 |
runArray[1].iDirection = 1;
|
sl@0
|
8153 |
runArray[2].iStart = 12;
|
sl@0
|
8154 |
runArray[2].iLength = 6;
|
sl@0
|
8155 |
runArray[2].iDirection = 0;
|
sl@0
|
8156 |
runArray[3].iStart = 5;
|
sl@0
|
8157 |
runArray[3].iLength = 3;
|
sl@0
|
8158 |
runArray[3].iDirection = 1;
|
sl@0
|
8159 |
|
sl@0
|
8160 |
TBidiLogicalToVisual conv(KBidi, EFalse, runArray, 4);
|
sl@0
|
8161 |
// We won't call TBidiLogicalToVisual::Reorder(), because we are using the
|
sl@0
|
8162 |
// data as-is as test data.
|
sl@0
|
8163 |
static const struct {
|
sl@0
|
8164 |
TInt iStart;
|
sl@0
|
8165 |
TInt iEnd;
|
sl@0
|
8166 |
TBool iTruncated;
|
sl@0
|
8167 |
const TText* iExpected;
|
sl@0
|
8168 |
}
|
sl@0
|
8169 |
testData[] =
|
sl@0
|
8170 |
{
|
sl@0
|
8171 |
{0, 18, EFalse, _S("GHIJK\x0639\x0627\x0645\x0621LMNOPQ\x0644\x0631\x0643")},
|
sl@0
|
8172 |
{0, 17, ETrue, _S("GHIJK\x0639\x0627\x0645\x0621LMNOP\x2026\x0644\x0631\x0643")},
|
sl@0
|
8173 |
{0, 13, ETrue, _S("GHIJK\x0639\x0627\x0645\x0621L\x2026\x0644\x0631\x0643")},
|
sl@0
|
8174 |
{0, 12, ETrue, _S("GHIJK\x0639\x0627\x0645\x0621\x2026\x0644\x0631\x0643")},
|
sl@0
|
8175 |
{0, 11, ETrue, _S("GHIJK\x2026\x0627\x0645\x0621\x0644\x0631\x0643")},
|
sl@0
|
8176 |
{0, 10, ETrue, _S("GHIJK\x2026\x200D\x0645\x0621\x0644\x0631\x0643")},
|
sl@0
|
8177 |
{4, 10, EFalse, _S("K\x200D\x0645\x0621\x0644\x0631\x0643")},
|
sl@0
|
8178 |
{5, 10, ETrue, _S("\x2026\x200D\x0645\x0621\x0644\x0631\x0643")},
|
sl@0
|
8179 |
{6, 10, ETrue, _S("\x2026\x200D\x0645\x0621\x0644\x0631\x200D")},
|
sl@0
|
8180 |
{7, 10, ETrue, _S("\x2026\x200D\x0645\x0621\x0644")},
|
sl@0
|
8181 |
{8, 10, ETrue, _S("\x2026\x200D\x0645\x0621")},
|
sl@0
|
8182 |
{8, 9, ETrue, _S("\x2026\x0621")},
|
sl@0
|
8183 |
{8, 9, EFalse, _S("\x0621")},
|
sl@0
|
8184 |
{9, 9, ETrue, _S("\x2026")},
|
sl@0
|
8185 |
};
|
sl@0
|
8186 |
|
sl@0
|
8187 |
TBuf<100> result;
|
sl@0
|
8188 |
TInt numTestCases = sizeof(testData)/sizeof(testData[0]);
|
sl@0
|
8189 |
for (TInt i = 0; i != numTestCases; ++i)
|
sl@0
|
8190 |
{
|
sl@0
|
8191 |
conv.GetVisualLine(result,
|
sl@0
|
8192 |
testData[i].iStart, testData[i].iEnd,
|
sl@0
|
8193 |
testData[i].iTruncated? 0x2026 : 0xFFFF);
|
sl@0
|
8194 |
TPtrC expected(testData[i].iExpected);
|
sl@0
|
8195 |
TEST(0 == result.Compare(expected));
|
sl@0
|
8196 |
}
|
sl@0
|
8197 |
}
|
sl@0
|
8198 |
|
sl@0
|
8199 |
/**
|
sl@0
|
8200 |
TBidiLogicalToVisualOOMTest
|
sl@0
|
8201 |
|
sl@0
|
8202 |
This class contains functions that support tests based on the examples given by
|
sl@0
|
8203 |
Unicode Standard Annexe 9
|
sl@0
|
8204 |
|
sl@0
|
8205 |
The class contains methods for comparing an example text's logical order with it's display order
|
sl@0
|
8206 |
|
sl@0
|
8207 |
*/
|
sl@0
|
8208 |
class TBidiLogicalToVisualOOMTest : public MOOMTest
|
sl@0
|
8209 |
{
|
sl@0
|
8210 |
const TDesC* iText;
|
sl@0
|
8211 |
TInt iStart;
|
sl@0
|
8212 |
TInt iEnd;
|
sl@0
|
8213 |
TBool iRightToLeft;
|
sl@0
|
8214 |
const TDesC* iReorderedText;
|
sl@0
|
8215 |
TInt iReturnValue;
|
sl@0
|
8216 |
TBidirectionalState::TRunInfo* iRunInfoArray;
|
sl@0
|
8217 |
TInt iRunInfoLength;
|
sl@0
|
8218 |
TBuf<80> iLine;
|
sl@0
|
8219 |
CTBiDi* iTest;
|
sl@0
|
8220 |
public:
|
sl@0
|
8221 |
TBidiLogicalToVisualOOMTest(
|
sl@0
|
8222 |
const TDesC& aText,
|
sl@0
|
8223 |
const TInt aStart,
|
sl@0
|
8224 |
const TInt aEnd,
|
sl@0
|
8225 |
const TBool aRightToLeft,
|
sl@0
|
8226 |
const TDesC& aReorderedText,
|
sl@0
|
8227 |
TBidirectionalState::TRunInfo* aRunInfoArray,
|
sl@0
|
8228 |
TInt aRunInfoLength,
|
sl@0
|
8229 |
CTBiDi* aTest )
|
sl@0
|
8230 |
: iText(&aText),
|
sl@0
|
8231 |
iStart(aStart),
|
sl@0
|
8232 |
iEnd(aEnd),
|
sl@0
|
8233 |
iRightToLeft(aRightToLeft),
|
sl@0
|
8234 |
iReorderedText(&aReorderedText),
|
sl@0
|
8235 |
iReturnValue(0) ,
|
sl@0
|
8236 |
iRunInfoArray(aRunInfoArray),
|
sl@0
|
8237 |
iRunInfoLength(aRunInfoLength),
|
sl@0
|
8238 |
iTest(aTest)
|
sl@0
|
8239 |
{
|
sl@0
|
8240 |
}
|
sl@0
|
8241 |
virtual ~TBidiLogicalToVisualOOMTest() { TearDown(); }
|
sl@0
|
8242 |
void Initialize(const TDesC& aText, TInt aStart, TInt aEnd, TBool aRightToLeft,
|
sl@0
|
8243 |
const TDesC& aReorderedText)
|
sl@0
|
8244 |
{
|
sl@0
|
8245 |
TearDown();
|
sl@0
|
8246 |
iText = &aText;
|
sl@0
|
8247 |
iStart = aStart;
|
sl@0
|
8248 |
iEnd = aEnd;
|
sl@0
|
8249 |
iRightToLeft = aRightToLeft;
|
sl@0
|
8250 |
iReorderedText = &aReorderedText;
|
sl@0
|
8251 |
}
|
sl@0
|
8252 |
void SetUpL()
|
sl@0
|
8253 |
{
|
sl@0
|
8254 |
iLine.Zero();
|
sl@0
|
8255 |
iReturnValue = 0;
|
sl@0
|
8256 |
}
|
sl@0
|
8257 |
void ManipulateL()
|
sl@0
|
8258 |
{
|
sl@0
|
8259 |
TBidiLogicalToVisual ltv(*iText, iRightToLeft, iRunInfoArray, iRunInfoLength);
|
sl@0
|
8260 |
ltv.Reorder(); //map text to visual order
|
sl@0
|
8261 |
ltv.GetVisualLine(iLine, iStart, iEnd, 0xFFFF);
|
sl@0
|
8262 |
iTest->TEST(StringsMatch(iReorderedText->Ptr(), iReorderedText->Length(), iLine.Ptr(), iReorderedText->Length()));
|
sl@0
|
8263 |
//Because this is an OOM test the contents of Line are the results of repeated calls, so the
|
sl@0
|
8264 |
//length of iLine is greater than that of iReorderedText. However comparing the first copy suffices.
|
sl@0
|
8265 |
//This won't detect the algorithm supplying more characters than expected, but other tests in the suite
|
sl@0
|
8266 |
//will detect that.
|
sl@0
|
8267 |
User::LeaveIfError(iReturnValue);
|
sl@0
|
8268 |
}
|
sl@0
|
8269 |
static TBool IsIgnorable(TText a)
|
sl@0
|
8270 |
{
|
sl@0
|
8271 |
TBool ignorable = EFalse;
|
sl@0
|
8272 |
switch(a) {
|
sl@0
|
8273 |
case KUnicodeNoSuchCharacter:
|
sl@0
|
8274 |
case KUnicodeLeftToRightMark:
|
sl@0
|
8275 |
case KUnicodeRightToLeftMark:
|
sl@0
|
8276 |
case KUnicodeLeftToRightEmbedding:
|
sl@0
|
8277 |
case KUnicodeRightToLeftEmbedding:
|
sl@0
|
8278 |
case KUnicodePopDirectionFormat:
|
sl@0
|
8279 |
case KUnicodeLeftToRightOverride:
|
sl@0
|
8280 |
case KUnicodeRightToLeftOverride:
|
sl@0
|
8281 |
ignorable = ETrue;
|
sl@0
|
8282 |
break;
|
sl@0
|
8283 |
default:
|
sl@0
|
8284 |
break;
|
sl@0
|
8285 |
}
|
sl@0
|
8286 |
return ignorable;
|
sl@0
|
8287 |
}
|
sl@0
|
8288 |
static TBool StringsMatch(const TText* a1, TInt a1Len,
|
sl@0
|
8289 |
const TText* a2, TInt a2Len)
|
sl@0
|
8290 |
{
|
sl@0
|
8291 |
const TText* a1End = a1 + a1Len;
|
sl@0
|
8292 |
const TText* a2End = a2 + a2Len;
|
sl@0
|
8293 |
for (;;)
|
sl@0
|
8294 |
{
|
sl@0
|
8295 |
while (a1 != a1End && IsIgnorable(*a1))
|
sl@0
|
8296 |
++a1;
|
sl@0
|
8297 |
while (a2 != a2End && IsIgnorable(*a2))
|
sl@0
|
8298 |
++a2;
|
sl@0
|
8299 |
if (a1 == a1End)
|
sl@0
|
8300 |
return a2 == a2End;
|
sl@0
|
8301 |
else if (a2 == a2End)
|
sl@0
|
8302 |
return EFalse;
|
sl@0
|
8303 |
if (*a1 != *a2)
|
sl@0
|
8304 |
return EFalse;
|
sl@0
|
8305 |
++a1;
|
sl@0
|
8306 |
++a2;
|
sl@0
|
8307 |
}
|
sl@0
|
8308 |
}
|
sl@0
|
8309 |
void TearDown()
|
sl@0
|
8310 |
{
|
sl@0
|
8311 |
iLine.Zero();
|
sl@0
|
8312 |
}
|
sl@0
|
8313 |
};
|
sl@0
|
8314 |
|
sl@0
|
8315 |
void CTBiDi::DEF043323L()
|
sl@0
|
8316 |
{
|
sl@0
|
8317 |
const TUint16 KArabicPhrase[] =
|
sl@0
|
8318 |
{
|
sl@0
|
8319 |
KKaf, KAlef, KFeh, KYeh, KTeh, KYeh, KReh, KYeh, KAlef, KUnicodeSpace,
|
sl@0
|
8320 |
KNoon, KAlef, KNoon, KAlef
|
sl@0
|
8321 |
};
|
sl@0
|
8322 |
const TUint16 KReversedArabicPhrase[] =
|
sl@0
|
8323 |
{
|
sl@0
|
8324 |
KAlef, KNoon, KAlef, KNoon,
|
sl@0
|
8325 |
KUnicodeSpace, KAlef, KYeh, KReh, KYeh, KTeh, KYeh, KFeh, KAlef, KKaf,
|
sl@0
|
8326 |
KEllipsis
|
sl@0
|
8327 |
};
|
sl@0
|
8328 |
TPtrC16 phrase(KArabicPhrase, sizeof(KArabicPhrase)/sizeof(KArabicPhrase[0]));
|
sl@0
|
8329 |
TBidiText* text = TBidiText::NewL(phrase, 3);
|
sl@0
|
8330 |
CleanupStack::PushL(text);
|
sl@0
|
8331 |
CFont* font = new (ELeave) CTestFont;
|
sl@0
|
8332 |
CleanupStack::PushL(font);
|
sl@0
|
8333 |
// wrap to 3 lines, lengths 50/40/40, no truncation character
|
sl@0
|
8334 |
text->WrapText(50, *font, 0);
|
sl@0
|
8335 |
TEST(text->NumberOfLinesInDisplayText() == 3);
|
sl@0
|
8336 |
TInt width;
|
sl@0
|
8337 |
TPtrC16 line = text->LineOfDisplayText(0, width);
|
sl@0
|
8338 |
TPtrC16 expectedLine(KReversedArabicPhrase + 9, 5);
|
sl@0
|
8339 |
TEST(line.Find(expectedLine) != KErrNotFound);
|
sl@0
|
8340 |
TEST(width == 50);
|
sl@0
|
8341 |
line.Set( text->LineOfDisplayText(1, width));
|
sl@0
|
8342 |
expectedLine.Set(KReversedArabicPhrase + 5, 4);
|
sl@0
|
8343 |
TEST(line.Find(expectedLine) != KErrNotFound);
|
sl@0
|
8344 |
TEST(width == 40);
|
sl@0
|
8345 |
line.Set(text->LineOfDisplayText(2, width));
|
sl@0
|
8346 |
expectedLine.Set(KReversedArabicPhrase, 4);
|
sl@0
|
8347 |
TEST(line.Find(expectedLine) != KErrNotFound);
|
sl@0
|
8348 |
TEST(width == 40);
|
sl@0
|
8349 |
// wrap to 2 lines, lengths 90/40, no truncation character
|
sl@0
|
8350 |
text->WrapText(90, *font, 0, 2);
|
sl@0
|
8351 |
TEST(text->NumberOfLinesInDisplayText() == 2);
|
sl@0
|
8352 |
text->WrapText(90, *font, 0, 3);
|
sl@0
|
8353 |
TEST(text->NumberOfLinesInDisplayText() == 2);
|
sl@0
|
8354 |
line.Set(text->LineOfDisplayText(0, width));
|
sl@0
|
8355 |
expectedLine.Set(KReversedArabicPhrase + 5, 9);
|
sl@0
|
8356 |
TEST(line.Find(expectedLine) != KErrNotFound);
|
sl@0
|
8357 |
TEST(width == 90);
|
sl@0
|
8358 |
line.Set(text->LineOfDisplayText(1, width));
|
sl@0
|
8359 |
expectedLine.Set(KReversedArabicPhrase, 4);
|
sl@0
|
8360 |
TEST(line.Find(expectedLine) != KErrNotFound);
|
sl@0
|
8361 |
TEST(width == 40);
|
sl@0
|
8362 |
// wrap to 2 lines, lengths 20/20, truncation character
|
sl@0
|
8363 |
text->WrapText(20, *font, 0, 2);
|
sl@0
|
8364 |
TEST(text->NumberOfLinesInDisplayText() == 2);
|
sl@0
|
8365 |
line.Set(text->LineOfDisplayText(0, width));
|
sl@0
|
8366 |
expectedLine.Set(KReversedArabicPhrase + 12, 2);
|
sl@0
|
8367 |
TEST(line.Find(expectedLine) != KErrNotFound);
|
sl@0
|
8368 |
TEST(width == 20);
|
sl@0
|
8369 |
line.Set(text->LineOfDisplayText(1, width));
|
sl@0
|
8370 |
TEST(width == 20);
|
sl@0
|
8371 |
expectedLine.Set(KReversedArabicPhrase + 11, 1);
|
sl@0
|
8372 |
TEST(line.Find(expectedLine) != KErrNotFound);
|
sl@0
|
8373 |
expectedLine.Set(KReversedArabicPhrase + 14, 1);
|
sl@0
|
8374 |
TEST(line.Find(expectedLine) != KErrNotFound);
|
sl@0
|
8375 |
// lengths 30/30, truncation character
|
sl@0
|
8376 |
text->WrapText(30, *font, 0, 2);
|
sl@0
|
8377 |
TEST(text->NumberOfLinesInDisplayText() == 2);
|
sl@0
|
8378 |
line.Set(text->LineOfDisplayText(0, width));
|
sl@0
|
8379 |
expectedLine.Set(KReversedArabicPhrase + 11, 3);
|
sl@0
|
8380 |
TEST(line.Find(expectedLine) != KErrNotFound);
|
sl@0
|
8381 |
TEST(width == 30);
|
sl@0
|
8382 |
line.Set(text->LineOfDisplayText(1, width));
|
sl@0
|
8383 |
TEST(width == 30);
|
sl@0
|
8384 |
expectedLine.Set(KReversedArabicPhrase + 9, 2);
|
sl@0
|
8385 |
TEST(line.Find(expectedLine) != KErrNotFound);
|
sl@0
|
8386 |
expectedLine.Set(KReversedArabicPhrase + 14, 1);
|
sl@0
|
8387 |
TEST(line.Find(expectedLine) != KErrNotFound);
|
sl@0
|
8388 |
// lengths 40/40, truncation character
|
sl@0
|
8389 |
text->WrapText(40, *font, 0, 2);
|
sl@0
|
8390 |
TEST(text->NumberOfLinesInDisplayText() == 2);
|
sl@0
|
8391 |
line.Set(text->LineOfDisplayText(0, width));
|
sl@0
|
8392 |
expectedLine.Set(KReversedArabicPhrase + 10, 4);
|
sl@0
|
8393 |
TEST(line.Find(expectedLine) != KErrNotFound);
|
sl@0
|
8394 |
TEST(width == 40);
|
sl@0
|
8395 |
line.Set(text->LineOfDisplayText(1, width));
|
sl@0
|
8396 |
TEST(width == 40);
|
sl@0
|
8397 |
expectedLine.Set(KReversedArabicPhrase + 7, 3);
|
sl@0
|
8398 |
TEST(line.Find(expectedLine) != KErrNotFound);
|
sl@0
|
8399 |
expectedLine.Set(KReversedArabicPhrase + 14, 1);
|
sl@0
|
8400 |
TEST(line.Find(expectedLine) != KErrNotFound);
|
sl@0
|
8401 |
// lengths 50/50, truncation character
|
sl@0
|
8402 |
text->WrapText(50, *font, 0, 2);
|
sl@0
|
8403 |
TEST(text->NumberOfLinesInDisplayText() == 2);
|
sl@0
|
8404 |
line.Set(text->LineOfDisplayText(0, width));
|
sl@0
|
8405 |
expectedLine.Set(KReversedArabicPhrase + 9, 5);
|
sl@0
|
8406 |
TEST(line.Find(expectedLine) != KErrNotFound);
|
sl@0
|
8407 |
TEST(width == 50);
|
sl@0
|
8408 |
line.Set(text->LineOfDisplayText(1, width));
|
sl@0
|
8409 |
TEST(width == 50);
|
sl@0
|
8410 |
expectedLine.Set(KReversedArabicPhrase + 5, 4);
|
sl@0
|
8411 |
TEST(line.Find(expectedLine) != KErrNotFound);
|
sl@0
|
8412 |
expectedLine.Set(KReversedArabicPhrase + 14, 1);
|
sl@0
|
8413 |
TEST(line.Find(expectedLine) != KErrNotFound);
|
sl@0
|
8414 |
// length 100, truncation character
|
sl@0
|
8415 |
text->WrapText(100, *font, 0, 1);
|
sl@0
|
8416 |
TEST(text->NumberOfLinesInDisplayText() == 1);
|
sl@0
|
8417 |
line.Set(text->LineOfDisplayText(0, width));
|
sl@0
|
8418 |
expectedLine.Set(KReversedArabicPhrase + 5, 9);
|
sl@0
|
8419 |
TEST(line.Find(expectedLine) != KErrNotFound);
|
sl@0
|
8420 |
TEST(width == 100);
|
sl@0
|
8421 |
expectedLine.Set(KReversedArabicPhrase + 14, 1);
|
sl@0
|
8422 |
TEST(line.Find(expectedLine) != KErrNotFound);
|
sl@0
|
8423 |
// length 120, truncation character: this caught the defect
|
sl@0
|
8424 |
text->WrapText(110, *font, 0, 1);
|
sl@0
|
8425 |
TEST(text->NumberOfLinesInDisplayText() == 1);
|
sl@0
|
8426 |
line.Set(text->LineOfDisplayText(0, width));
|
sl@0
|
8427 |
// the space should not be present, so only 100 width
|
sl@0
|
8428 |
expectedLine.Set(KReversedArabicPhrase + 5, 9);
|
sl@0
|
8429 |
TEST(line.Find(expectedLine) != KErrNotFound);
|
sl@0
|
8430 |
TEST(width == 100);
|
sl@0
|
8431 |
expectedLine.Set(KReversedArabicPhrase + 14, 1);
|
sl@0
|
8432 |
TEST(line.Find(expectedLine) != KErrNotFound);
|
sl@0
|
8433 |
// length 120, truncation character
|
sl@0
|
8434 |
text->WrapText(120, *font, 0, 1);
|
sl@0
|
8435 |
TEST(text->NumberOfLinesInDisplayText() == 1);
|
sl@0
|
8436 |
line.Set(text->LineOfDisplayText(0, width));
|
sl@0
|
8437 |
expectedLine.Set(KReversedArabicPhrase + 3, 11);
|
sl@0
|
8438 |
TEST(line.Find(expectedLine) != KErrNotFound);
|
sl@0
|
8439 |
TEST(width == 120);
|
sl@0
|
8440 |
expectedLine.Set(KReversedArabicPhrase + 14, 1);
|
sl@0
|
8441 |
TEST(line.Find(expectedLine) != KErrNotFound);
|
sl@0
|
8442 |
CleanupStack::PopAndDestroy(font);
|
sl@0
|
8443 |
CleanupStack::PopAndDestroy(text);
|
sl@0
|
8444 |
}
|
sl@0
|
8445 |
|
sl@0
|
8446 |
void CTBiDi::DEF052191L()
|
sl@0
|
8447 |
{
|
sl@0
|
8448 |
_LIT(KTwoLines, "First line.\nSecond line.");
|
sl@0
|
8449 |
CFont* font = new (ELeave) CTestFont;
|
sl@0
|
8450 |
CleanupStack::PushL(font);
|
sl@0
|
8451 |
TBidiText* text = TBidiText::NewL(KTwoLines, 16);
|
sl@0
|
8452 |
CleanupStack::PushL(text);
|
sl@0
|
8453 |
text->WrapText(240, *font, NULL);
|
sl@0
|
8454 |
TEST(text->NumberOfLinesInDisplayText() == 2); //before the fix this used to return 3
|
sl@0
|
8455 |
CleanupStack::PopAndDestroy(2); //font and text
|
sl@0
|
8456 |
}
|
sl@0
|
8457 |
|
sl@0
|
8458 |
/**
|
sl@0
|
8459 |
@SYMTestCaseID GRAPHICS-GDI-BiDi-0007
|
sl@0
|
8460 |
|
sl@0
|
8461 |
@SYMDEF DEF105603
|
sl@0
|
8462 |
|
sl@0
|
8463 |
@SYMTestCaseDesc Test TBidirectionalState functionality (Unicode Bidirectional Algorithm impmentation withing SymbianOS)
|
sl@0
|
8464 |
|
sl@0
|
8465 |
@SYMTestPriority High
|
sl@0
|
8466 |
|
sl@0
|
8467 |
@SYMTestStatus Implemented
|
sl@0
|
8468 |
|
sl@0
|
8469 |
@SYMTestActions Test detection of 'overall' directionality of a given language/script under normal & OOM conditions
|
sl@0
|
8470 |
|
sl@0
|
8471 |
@SYMTestExpectedResults Confirmation the implementation conforms to the Unicode Birdirection Algorithm standard
|
sl@0
|
8472 |
*/
|
sl@0
|
8473 |
void CTBiDi::TestBidiTextClassL()
|
sl@0
|
8474 |
{
|
sl@0
|
8475 |
INFO_PRINTF1(_L("Out of Memory Tests"));
|
sl@0
|
8476 |
TBidiTextOOMTest toom(this);
|
sl@0
|
8477 |
toom.Initialize(KHttsD, TBidiTextOOMTest::ELeftToRight, 1);
|
sl@0
|
8478 |
TestOOML(toom);
|
sl@0
|
8479 |
toom.Initialize(KHttsD, TBidiTextOOMTest::ERightToLeft, 1);
|
sl@0
|
8480 |
TestOOML(toom);
|
sl@0
|
8481 |
toom.Initialize(KHttsD, TBidiTextOOMTest::EAutomatic, 1);
|
sl@0
|
8482 |
TestOOML(toom);
|
sl@0
|
8483 |
toom.Initialize(KHttsD, TBidiTextOOMTest::ELeftToRight, 100);
|
sl@0
|
8484 |
TestOOML(toom);
|
sl@0
|
8485 |
toom.Initialize(KHttsD, TBidiTextOOMTest::ERightToLeft, 100);
|
sl@0
|
8486 |
TestOOML(toom);
|
sl@0
|
8487 |
toom.Initialize(KHttsD, TBidiTextOOMTest::EAutomatic, 100);
|
sl@0
|
8488 |
TestOOML(toom);
|
sl@0
|
8489 |
toom.Initialize(KMultiLine, TBidiTextOOMTest::ELeftToRight, 1);
|
sl@0
|
8490 |
TestOOML(toom);
|
sl@0
|
8491 |
toom.Initialize(KLineSep, TBidiTextOOMTest::ERightToLeft, 1);
|
sl@0
|
8492 |
TestOOML(toom);
|
sl@0
|
8493 |
|
sl@0
|
8494 |
INFO_PRINTF1(_L("Panic"));
|
sl@0
|
8495 |
INFO_PRINTF1(_L("Testing DrawText panic\r\n"));
|
sl@0
|
8496 |
TEST (EBidiPanic_InvalidVisualOrderedTextLength == TestPanic(TestDrawTextPanicThread));
|
sl@0
|
8497 |
INFO_PRINTF1(_L("Arabic with no line break opportunities"));
|
sl@0
|
8498 |
NoLineBreakDrawTestL();
|
sl@0
|
8499 |
INFO_PRINTF1(_L("Arabic with rare line break opportunities"));
|
sl@0
|
8500 |
RightToLeftArabicDrawTestL();
|
sl@0
|
8501 |
INFO_PRINTF1(_L("Latin"));
|
sl@0
|
8502 |
LeftToRightDrawTestL();
|
sl@0
|
8503 |
INFO_PRINTF1(_L("Glyph tests"));
|
sl@0
|
8504 |
LigatureTestsL();
|
sl@0
|
8505 |
|
sl@0
|
8506 |
INFO_PRINTF1(_L("TRunInfoCompactReorder"));
|
sl@0
|
8507 |
TRunInfoCompactReorderTest();
|
sl@0
|
8508 |
// Need to test the rest of the TRunInfoCompact API as well.
|
sl@0
|
8509 |
|
sl@0
|
8510 |
INFO_PRINTF1(_L("Arabic Illegal Line breaks"));
|
sl@0
|
8511 |
ArabicIllegalLinebreakTestsL();
|
sl@0
|
8512 |
|
sl@0
|
8513 |
INFO_PRINTF1(_L("DEF043323 - Alignment of TBidiText::DrawText() doesn't take the truncation char into account"));
|
sl@0
|
8514 |
DEF043323L();
|
sl@0
|
8515 |
INFO_PRINTF1(_L("DEF042191 - Problems with wraping in TBidiText"));
|
sl@0
|
8516 |
DEF052191L();
|
sl@0
|
8517 |
}
|
sl@0
|
8518 |
|
sl@0
|
8519 |
/**
|
sl@0
|
8520 |
@SYMTestCaseID GRAPHICS-GDI-BiDi-0008
|
sl@0
|
8521 |
|
sl@0
|
8522 |
@SYMDEF DEF105603
|
sl@0
|
8523 |
|
sl@0
|
8524 |
@SYMTestCaseDesc Test TBidirectionalState functionality (Unicode Bidirectional Algorithm impmentation withing SymbianOS)
|
sl@0
|
8525 |
|
sl@0
|
8526 |
@SYMTestPriority High
|
sl@0
|
8527 |
|
sl@0
|
8528 |
@SYMTestStatus Implemented
|
sl@0
|
8529 |
|
sl@0
|
8530 |
@SYMTestActions Test detection of 'overall' directionality of a given language/script
|
sl@0
|
8531 |
|
sl@0
|
8532 |
@SYMTestExpectedResults Confirmation the implementation conforms to the Unicode Birdirection Algorithm standard
|
sl@0
|
8533 |
*/
|
sl@0
|
8534 |
void CTBiDi::TestBidiLogicalToVisualClassL()
|
sl@0
|
8535 |
{
|
sl@0
|
8536 |
static const TInt KRunInfoLength = 50;
|
sl@0
|
8537 |
TBidirectionalState::TRunInfo runInfo[KRunInfoLength];
|
sl@0
|
8538 |
INFO_PRINTF1(_L("TBidiVisual test - Out of Memory Tests\r\n"));
|
sl@0
|
8539 |
TBidiLogicalToVisualOOMTest toom(KHttsL, 0, 14, ETrue, KHttsD, runInfo, KRunInfoLength, this);
|
sl@0
|
8540 |
TestOOML(toom);
|
sl@0
|
8541 |
toom.Initialize(KHttL, 0, 13, ETrue, KHttD);
|
sl@0
|
8542 |
TestOOML(toom);
|
sl@0
|
8543 |
toom.Initialize(KHttL, 0, 13, EFalse, KHttD);
|
sl@0
|
8544 |
TestOOML(toom);
|
sl@0
|
8545 |
toom.Initialize(KMixedL, 0, 5, ETrue, KMixedD);
|
sl@0
|
8546 |
TestOOML(toom);
|
sl@0
|
8547 |
toom.Initialize(KMixedL, 0, 5, EFalse, KMixedDL);
|
sl@0
|
8548 |
TestOOML(toom);
|
sl@0
|
8549 |
toom.Initialize(KHello, 0, 5, ETrue, KHello);
|
sl@0
|
8550 |
TestOOML(toom);
|
sl@0
|
8551 |
toom.Initialize(KHello, 0, 5, EFalse, KHello);
|
sl@0
|
8552 |
TestOOML(toom);
|
sl@0
|
8553 |
toom.Initialize(KHalalL, 0, 4, EFalse, KHalalD);
|
sl@0
|
8554 |
TestOOML(toom);
|
sl@0
|
8555 |
toom.Initialize(KHalalL, 0, 4, ETrue, KHalalD);
|
sl@0
|
8556 |
TestOOML(toom);
|
sl@0
|
8557 |
|
sl@0
|
8558 |
TBidiLogicalToVisualGetVisualLineTest();
|
sl@0
|
8559 |
}
|
sl@0
|
8560 |
|
sl@0
|
8561 |
/**
|
sl@0
|
8562 |
*
|
sl@0
|
8563 |
* void CTBiDi::TestCatToNumber
|
sl@0
|
8564 |
*
|
sl@0
|
8565 |
* Convert TBidirectionalState::TCategory into it's equivalent TChar::TBdCategory
|
sl@0
|
8566 |
*
|
sl@0
|
8567 |
*/
|
sl@0
|
8568 |
void CTBiDi::TestCatToNumber(TInt aIn, TInt aOut)
|
sl@0
|
8569 |
{
|
sl@0
|
8570 |
TEST(TBidirectionalState::CatToNumber(aIn) == aOut);
|
sl@0
|
8571 |
}
|
sl@0
|
8572 |
|
sl@0
|
8573 |
|
sl@0
|
8574 |
#define FILL_RUN_ARRAY(aTestArray, aRunArray, aContext) \
|
sl@0
|
8575 |
CTBiDi::FillRunArray((aTestArray), (aRunArray), \
|
sl@0
|
8576 |
sizeof((aTestArray))/sizeof((aTestArray)[0]), (aContext))
|
sl@0
|
8577 |
|
sl@0
|
8578 |
void CTBiDi::FillRunArray(const TBdLevelTest* aTests, TBidirectionalState::TRunInfo* aRuns,
|
sl@0
|
8579 |
TInt aArraySize, TBidirectionalState::TReorderContext& aContext)
|
sl@0
|
8580 |
{
|
sl@0
|
8581 |
aContext.iCategories = 0;
|
sl@0
|
8582 |
aContext.iRuns = aArraySize;
|
sl@0
|
8583 |
for (TInt i = 0; i != aArraySize; ++i)
|
sl@0
|
8584 |
{
|
sl@0
|
8585 |
TUint category = 1 << static_cast<TUint>(aTests[i].iCat);
|
sl@0
|
8586 |
aContext.iCategories |= category;
|
sl@0
|
8587 |
aRuns[i].iCategory = category;
|
sl@0
|
8588 |
aRuns[i].iIndex = i;
|
sl@0
|
8589 |
}
|
sl@0
|
8590 |
}
|
sl@0
|
8591 |
|
sl@0
|
8592 |
#define CHECK_RUN_RESULTS(aTestArray, aRunArray) \
|
sl@0
|
8593 |
CheckRunResults((aTestArray), (aRunArray), \
|
sl@0
|
8594 |
sizeof((aTestArray))/sizeof((aTestArray)[0]))
|
sl@0
|
8595 |
|
sl@0
|
8596 |
void CTBiDi::CheckRunResults(const TBdLevelTest* aTests, TBidirectionalState::TRunInfo* aRuns,
|
sl@0
|
8597 |
TInt aArraySize)
|
sl@0
|
8598 |
{
|
sl@0
|
8599 |
for (TInt i = 0; i != aArraySize; ++i)
|
sl@0
|
8600 |
{
|
sl@0
|
8601 |
const TBdLevelTest* currentTestData = aTests + i;
|
sl@0
|
8602 |
TBidirectionalState::TRunInfo* currentRun = aRuns + i;
|
sl@0
|
8603 |
if (currentTestData->iLevel != -1)
|
sl@0
|
8604 |
{
|
sl@0
|
8605 |
TUint category = 1 << static_cast<TUint>(currentTestData->iChangedCat);
|
sl@0
|
8606 |
TEST(currentTestData->iLevel == currentRun->iEmbeddingLevel);
|
sl@0
|
8607 |
TEST(category == currentRun->iCategory);
|
sl@0
|
8608 |
}
|
sl@0
|
8609 |
}
|
sl@0
|
8610 |
}
|
sl@0
|
8611 |
|
sl@0
|
8612 |
void CTBiDi::SetContext(TBidirectionalState::TReorderContext& aContext,
|
sl@0
|
8613 |
TChar::TBdCategory aCat)
|
sl@0
|
8614 |
{
|
sl@0
|
8615 |
TInt cat = 1 << static_cast<TInt>(aCat);
|
sl@0
|
8616 |
// big axe
|
sl@0
|
8617 |
TInt* p = reinterpret_cast<TInt*> (&(aContext.iNextStrongCategory));
|
sl@0
|
8618 |
*p = cat;
|
sl@0
|
8619 |
p = reinterpret_cast<TInt*> (&(aContext.iNextCategory));
|
sl@0
|
8620 |
*p = cat;
|
sl@0
|
8621 |
}
|
sl@0
|
8622 |
|
sl@0
|
8623 |
//test data for TestTBidirectionalStateInternalsL
|
sl@0
|
8624 |
|
sl@0
|
8625 |
// test X1, X2, X3, X4, X5, X6, X7
|
sl@0
|
8626 |
// (X8 does not apply to ReorderLine: should not contain multiple paragraphs)
|
sl@0
|
8627 |
// (X9 and X10 should not be tested explicitly at this level)
|
sl@0
|
8628 |
static const TBdLevelTest KXTests[] =
|
sl@0
|
8629 |
{
|
sl@0
|
8630 |
|
sl@0
|
8631 |
{TChar::ERightToLeftEmbedding, -1, TChar::EOtherNeutral},
|
sl@0
|
8632 |
{TChar::EOtherNeutral, 1, TChar::EOtherNeutral},
|
sl@0
|
8633 |
{TChar::ELeftToRightEmbedding, -1, TChar::EOtherNeutral},
|
sl@0
|
8634 |
{TChar::EOtherNeutral, 2, TChar::EOtherNeutral},
|
sl@0
|
8635 |
{TChar::ELeftToRightEmbedding, -1, TChar::EOtherNeutral},
|
sl@0
|
8636 |
{TChar::EOtherNeutral, 4, TChar::EOtherNeutral},
|
sl@0
|
8637 |
{TChar::ELeftToRightOverride, -1, TChar::EOtherNeutral},
|
sl@0
|
8638 |
{TChar::EOtherNeutral, 6, TChar::ELeftToRight},
|
sl@0
|
8639 |
{TChar::ERightToLeftOverride, -1, TChar::EOtherNeutral},
|
sl@0
|
8640 |
{TChar::EOtherNeutral, 7, TChar::ERightToLeft},
|
sl@0
|
8641 |
{TChar::ERightToLeftOverride, -1, TChar::EOtherNeutral},
|
sl@0
|
8642 |
{TChar::EOtherNeutral, 9, TChar::ERightToLeft},
|
sl@0
|
8643 |
{TChar::ELeftToRightOverride, -1, TChar::EOtherNeutral},
|
sl@0
|
8644 |
{TChar::EOtherNeutral, 10, TChar::ELeftToRight},
|
sl@0
|
8645 |
{TChar::ELeftToRightOverride, -1, TChar::EOtherNeutral},
|
sl@0
|
8646 |
{TChar::EOtherNeutral, 12, TChar::ELeftToRight},
|
sl@0
|
8647 |
{TChar::ERightToLeftEmbedding, -1, TChar::EOtherNeutral},
|
sl@0
|
8648 |
{TChar::EOtherNeutral, 13, TChar::EOtherNeutral},
|
sl@0
|
8649 |
{TChar::ERightToLeftOverride, -1, TChar::EOtherNeutral},
|
sl@0
|
8650 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8651 |
{TChar::EOtherNeutral, 13, TChar::EOtherNeutral},
|
sl@0
|
8652 |
{TChar::ERightToLeftEmbedding, -1, TChar::EOtherNeutral},
|
sl@0
|
8653 |
{TChar::EOtherNeutral, 15, TChar::EOtherNeutral},
|
sl@0
|
8654 |
{TChar::ERightToLeftOverride, -1, TChar::EOtherNeutral},
|
sl@0
|
8655 |
{TChar::ERightToLeftOverride, -1, TChar::EOtherNeutral},
|
sl@0
|
8656 |
{TChar::ERightToLeftOverride, -1, TChar::EOtherNeutral},
|
sl@0
|
8657 |
{TChar::ERightToLeftOverride, -1, TChar::EOtherNeutral},
|
sl@0
|
8658 |
{TChar::ERightToLeftOverride, -1, TChar::EOtherNeutral},
|
sl@0
|
8659 |
{TChar::ERightToLeftOverride, -1, TChar::EOtherNeutral},
|
sl@0
|
8660 |
{TChar::ERightToLeftOverride, -1, TChar::EOtherNeutral},
|
sl@0
|
8661 |
{TChar::ERightToLeftOverride, -1, TChar::EOtherNeutral},
|
sl@0
|
8662 |
{TChar::ERightToLeftOverride, -1, TChar::EOtherNeutral},
|
sl@0
|
8663 |
{TChar::ERightToLeftOverride, -1, TChar::EOtherNeutral},
|
sl@0
|
8664 |
{TChar::EOtherNeutral, 35, TChar::ERightToLeft},
|
sl@0
|
8665 |
{TChar::ERightToLeftOverride, -1, TChar::EOtherNeutral},
|
sl@0
|
8666 |
{TChar::ERightToLeftOverride, -1, TChar::EOtherNeutral},
|
sl@0
|
8667 |
{TChar::ERightToLeftOverride, -1, TChar::EOtherNeutral},
|
sl@0
|
8668 |
{TChar::ERightToLeftOverride, -1, TChar::EOtherNeutral},
|
sl@0
|
8669 |
{TChar::ERightToLeftOverride, -1, TChar::EOtherNeutral},
|
sl@0
|
8670 |
{TChar::ERightToLeftOverride, -1, TChar::EOtherNeutral},
|
sl@0
|
8671 |
{TChar::ERightToLeftOverride, -1, TChar::EOtherNeutral},
|
sl@0
|
8672 |
{TChar::ERightToLeftOverride, -1, TChar::EOtherNeutral},
|
sl@0
|
8673 |
{TChar::ERightToLeftOverride, -1, TChar::EOtherNeutral},
|
sl@0
|
8674 |
{TChar::ERightToLeftOverride, -1, TChar::EOtherNeutral},
|
sl@0
|
8675 |
{TChar::EOtherNeutral, 55, TChar::ERightToLeft},
|
sl@0
|
8676 |
{TChar::ERightToLeftOverride, -1, TChar::EOtherNeutral},
|
sl@0
|
8677 |
{TChar::ERightToLeftOverride, -1, TChar::EOtherNeutral},
|
sl@0
|
8678 |
{TChar::ELeftToRightOverride, -1, TChar::EOtherNeutral},
|
sl@0
|
8679 |
{TChar::EOtherNeutral, 60, TChar::ELeftToRight},
|
sl@0
|
8680 |
{TChar::ELeftToRightOverride, -1, TChar::EOtherNeutral}, // should not alter directionality
|
sl@0
|
8681 |
{TChar::ELeftToRightOverride, -1, TChar::EOtherNeutral}, // should not alter directionality
|
sl@0
|
8682 |
{TChar::ELeftToRightOverride, -1, TChar::EOtherNeutral}, // should not alter directionality
|
sl@0
|
8683 |
{TChar::EOtherNeutral, 60, TChar::ELeftToRight},
|
sl@0
|
8684 |
{TChar::ERightToLeftEmbedding, -1, TChar::EOtherNeutral},
|
sl@0
|
8685 |
{TChar::EOtherNeutral, 61, TChar::EOtherNeutral},
|
sl@0
|
8686 |
{TChar::ELeftToRightOverride, -1, TChar::EOtherNeutral}, // should not alter directionality
|
sl@0
|
8687 |
{TChar::ELeftToRightOverride, -1, TChar::EOtherNeutral}, // should not alter directionality
|
sl@0
|
8688 |
{TChar::EOtherNeutral, 61, TChar::EOtherNeutral},
|
sl@0
|
8689 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral}, // matches ignored code
|
sl@0
|
8690 |
{TChar::EOtherNeutral, 61, TChar::EOtherNeutral},
|
sl@0
|
8691 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral}, // matches ignored code
|
sl@0
|
8692 |
{TChar::EOtherNeutral, 61, TChar::EOtherNeutral},
|
sl@0
|
8693 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8694 |
{TChar::EOtherNeutral, 60, TChar::ELeftToRight},
|
sl@0
|
8695 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral}, // matches ignored code
|
sl@0
|
8696 |
{TChar::EOtherNeutral, 60, TChar::ELeftToRight},
|
sl@0
|
8697 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral}, // matches ignored code
|
sl@0
|
8698 |
{TChar::EOtherNeutral, 60, TChar::ELeftToRight},
|
sl@0
|
8699 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral}, // matches ignored code
|
sl@0
|
8700 |
{TChar::EOtherNeutral, 60, TChar::ELeftToRight},
|
sl@0
|
8701 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8702 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8703 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8704 |
{TChar::EOtherNeutral, 55, TChar::ERightToLeft},
|
sl@0
|
8705 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8706 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8707 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8708 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8709 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8710 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8711 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8712 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8713 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8714 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8715 |
{TChar::EOtherNeutral, 35, TChar::ERightToLeft},
|
sl@0
|
8716 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8717 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8718 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8719 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8720 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8721 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8722 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8723 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8724 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8725 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8726 |
{TChar::EOtherNeutral, 15, TChar::EOtherNeutral},
|
sl@0
|
8727 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8728 |
{TChar::EOtherNeutral, 13, TChar::EOtherNeutral},
|
sl@0
|
8729 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8730 |
{TChar::EOtherNeutral, 12, TChar::ELeftToRight},
|
sl@0
|
8731 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8732 |
{TChar::EOtherNeutral, 10, TChar::ELeftToRight},
|
sl@0
|
8733 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8734 |
{TChar::EOtherNeutral, 9, TChar::ERightToLeft},
|
sl@0
|
8735 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8736 |
{TChar::EOtherNeutral, 7, TChar::ERightToLeft},
|
sl@0
|
8737 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8738 |
{TChar::EOtherNeutral, 6, TChar::ELeftToRight},
|
sl@0
|
8739 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8740 |
{TChar::EOtherNeutral, 4, TChar::EOtherNeutral},
|
sl@0
|
8741 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8742 |
{TChar::EOtherNeutral, 2, TChar::EOtherNeutral},
|
sl@0
|
8743 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8744 |
{TChar::EOtherNeutral, 1, TChar::EOtherNeutral},
|
sl@0
|
8745 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8746 |
{TChar::EOtherNeutral, 0, TChar::EOtherNeutral}
|
sl@0
|
8747 |
};
|
sl@0
|
8748 |
|
sl@0
|
8749 |
static const TBdLevelTest KW123TestsL[] =
|
sl@0
|
8750 |
{
|
sl@0
|
8751 |
{TChar::ENonSpacingMark, 0, TChar::ELeftToRight},
|
sl@0
|
8752 |
{TChar::EEuropeanNumber, 0, TChar::EEuropeanNumber},
|
sl@0
|
8753 |
{TChar::ERightToLeftEmbedding, -1, TChar::EOtherNeutral},
|
sl@0
|
8754 |
{TChar::ENonSpacingMark, 1, TChar::ERightToLeft},
|
sl@0
|
8755 |
{TChar::ELeftToRight, -1, TChar::EOtherNeutral},
|
sl@0
|
8756 |
{TChar::ENonSpacingMark, 1, TChar::ELeftToRight},
|
sl@0
|
8757 |
{TChar::EEuropeanNumber, 1, TChar::EEuropeanNumber},
|
sl@0
|
8758 |
{TChar::ERightToLeftArabic, 1, TChar::ERightToLeft},
|
sl@0
|
8759 |
{TChar::ENonSpacingMark, 1, TChar::ERightToLeft},
|
sl@0
|
8760 |
{TChar::EOtherNeutral, -1, TChar::EOtherNeutral},
|
sl@0
|
8761 |
{TChar::ENonSpacingMark, 1, TChar::EOtherNeutral},
|
sl@0
|
8762 |
{TChar::EEuropeanNumber, 1, TChar::EArabicNumber}
|
sl@0
|
8763 |
};
|
sl@0
|
8764 |
|
sl@0
|
8765 |
static const TBdLevelTest KW123TestsR[] =
|
sl@0
|
8766 |
{
|
sl@0
|
8767 |
{TChar::ENonSpacingMark, 1, TChar::ERightToLeft},
|
sl@0
|
8768 |
{TChar::EEuropeanNumber, 1, TChar::EEuropeanNumber},
|
sl@0
|
8769 |
{TChar::ENonSpacingMark, 1, TChar::EEuropeanNumber},
|
sl@0
|
8770 |
{TChar::ELeftToRightEmbedding, -1, TChar::EOtherNeutral},
|
sl@0
|
8771 |
{TChar::ENonSpacingMark, 2, TChar::ELeftToRight},
|
sl@0
|
8772 |
{TChar::ELeftToRight, -1, TChar::EOtherNeutral},
|
sl@0
|
8773 |
{TChar::ENonSpacingMark, 2, TChar::ELeftToRight},
|
sl@0
|
8774 |
{TChar::EWhitespace, -1, TChar::EOtherNeutral},
|
sl@0
|
8775 |
{TChar::ENonSpacingMark, 2, TChar::EWhitespace},
|
sl@0
|
8776 |
{TChar::EOtherNeutral, -1, TChar::EOtherNeutral},
|
sl@0
|
8777 |
{TChar::ENonSpacingMark, 2, TChar::EOtherNeutral}
|
sl@0
|
8778 |
};
|
sl@0
|
8779 |
|
sl@0
|
8780 |
|
sl@0
|
8781 |
static const TBdLevelTest KW456Tests[] =
|
sl@0
|
8782 |
{
|
sl@0
|
8783 |
{TChar::EEuropeanNumber, 0, TChar::EEuropeanNumber},
|
sl@0
|
8784 |
{TChar::EEuropeanNumberSeparator, 0, TChar::EEuropeanNumber}, // W4
|
sl@0
|
8785 |
{TChar::EEuropeanNumber, 0, TChar::EEuropeanNumber},
|
sl@0
|
8786 |
{TChar::EEuropeanNumber, 0, TChar::EEuropeanNumber},
|
sl@0
|
8787 |
{TChar::ECommonNumberSeparator, 0, TChar::EEuropeanNumber}, // W4
|
sl@0
|
8788 |
{TChar::EEuropeanNumber, 0, TChar::EEuropeanNumber},
|
sl@0
|
8789 |
{TChar::EArabicNumber, 0, TChar::EArabicNumber},
|
sl@0
|
8790 |
{TChar::ECommonNumberSeparator, 0, TChar::EArabicNumber}, // W4
|
sl@0
|
8791 |
{TChar::EArabicNumber, 0, TChar::EArabicNumber},
|
sl@0
|
8792 |
{TChar::EOtherNeutral, 0, TChar::EOtherNeutral},
|
sl@0
|
8793 |
{TChar::EEuropeanNumberTerminator, 0, TChar::EEuropeanNumber}, // W5
|
sl@0
|
8794 |
{TChar::EEuropeanNumberTerminator, 0, TChar::EEuropeanNumber}, // W5
|
sl@0
|
8795 |
{TChar::EEuropeanNumber, 0, TChar::EEuropeanNumber},
|
sl@0
|
8796 |
{TChar::EEuropeanNumberTerminator, 0, TChar::EEuropeanNumber}, // W5
|
sl@0
|
8797 |
{TChar::EEuropeanNumberTerminator, 0, TChar::EEuropeanNumber}, // W5
|
sl@0
|
8798 |
{TChar::EOtherNeutral, 0, TChar::EOtherNeutral},
|
sl@0
|
8799 |
{TChar::EArabicNumber, 0, TChar::EArabicNumber},
|
sl@0
|
8800 |
{TChar::EEuropeanNumberTerminator, 0, TChar::EEuropeanNumber}, // W5
|
sl@0
|
8801 |
{TChar::EEuropeanNumber, 0, TChar::EEuropeanNumber},
|
sl@0
|
8802 |
{TChar::EOtherNeutral, 0, TChar::EOtherNeutral},
|
sl@0
|
8803 |
{TChar::EEuropeanNumber, 0, TChar::EEuropeanNumber},
|
sl@0
|
8804 |
{TChar::EEuropeanNumberSeparator, 0, TChar::EOtherNeutral}, // W6
|
sl@0
|
8805 |
{TChar::EEuropeanNumberSeparator, 0, TChar::EOtherNeutral}, // W6
|
sl@0
|
8806 |
{TChar::EEuropeanNumber, 0, TChar::EEuropeanNumber},
|
sl@0
|
8807 |
{TChar::EArabicNumber, 0, TChar::EArabicNumber},
|
sl@0
|
8808 |
{TChar::EEuropeanNumberTerminator, 0, TChar::EOtherNeutral}, // W6
|
sl@0
|
8809 |
{TChar::EOtherNeutral, 0, TChar::EOtherNeutral},
|
sl@0
|
8810 |
{TChar::ELeftToRight, 0, TChar::ELeftToRight},
|
sl@0
|
8811 |
{TChar::EEuropeanNumberSeparator, 0, TChar::EOtherNeutral}, // W6
|
sl@0
|
8812 |
{TChar::EEuropeanNumber, 0, TChar::EEuropeanNumber},
|
sl@0
|
8813 |
{TChar::ELeftToRight, 0, TChar::ELeftToRight},
|
sl@0
|
8814 |
{TChar::EEuropeanNumberSeparator, 0, TChar::EOtherNeutral}, // W6
|
sl@0
|
8815 |
{TChar::EEuropeanNumberSeparator, 0, TChar::EOtherNeutral}, // W6
|
sl@0
|
8816 |
{TChar::EEuropeanNumberSeparator, 0, TChar::EOtherNeutral}, // W6
|
sl@0
|
8817 |
{TChar::EEuropeanNumber, 0, TChar::EEuropeanNumber},
|
sl@0
|
8818 |
{TChar::EEuropeanNumberSeparator, 0, TChar::EOtherNeutral}, // W6
|
sl@0
|
8819 |
{TChar::EArabicNumber, 0, TChar::EArabicNumber},
|
sl@0
|
8820 |
{TChar::EEuropeanNumberTerminator, 0, TChar::EOtherNeutral}, // W6
|
sl@0
|
8821 |
{TChar::EArabicNumber, 0, TChar::EArabicNumber},
|
sl@0
|
8822 |
};
|
sl@0
|
8823 |
|
sl@0
|
8824 |
|
sl@0
|
8825 |
static const TBdLevelTest KW7TestsL[] =
|
sl@0
|
8826 |
{
|
sl@0
|
8827 |
{TChar::EEuropeanNumber, 0, TChar::ELeftToRight},
|
sl@0
|
8828 |
{TChar::EOtherNeutral, 0, TChar::EOtherNeutral},
|
sl@0
|
8829 |
{TChar::ELeftToRight, 0, TChar::ELeftToRight},
|
sl@0
|
8830 |
{TChar::EOtherNeutral, 0, TChar::EOtherNeutral},
|
sl@0
|
8831 |
{TChar::EOtherNeutral, 0, TChar::EOtherNeutral},
|
sl@0
|
8832 |
{TChar::EOtherNeutral, 0, TChar::EOtherNeutral},
|
sl@0
|
8833 |
{TChar::EOtherNeutral, 0, TChar::EOtherNeutral},
|
sl@0
|
8834 |
{TChar::EOtherNeutral, 0, TChar::EOtherNeutral},
|
sl@0
|
8835 |
{TChar::EEuropeanNumber, 0, TChar::ELeftToRight},
|
sl@0
|
8836 |
{TChar::ERightToLeft, 0, TChar::ERightToLeft},
|
sl@0
|
8837 |
{TChar::EOtherNeutral, 0, TChar::EOtherNeutral},
|
sl@0
|
8838 |
{TChar::EOtherNeutral, 0, TChar::EOtherNeutral},
|
sl@0
|
8839 |
{TChar::EOtherNeutral, 0, TChar::EOtherNeutral},
|
sl@0
|
8840 |
{TChar::EOtherNeutral, 0, TChar::EOtherNeutral},
|
sl@0
|
8841 |
{TChar::EOtherNeutral, 0, TChar::EOtherNeutral},
|
sl@0
|
8842 |
{TChar::EEuropeanNumber, 0, TChar::EEuropeanNumber},
|
sl@0
|
8843 |
{TChar::EOtherNeutral, 0, TChar::EOtherNeutral},
|
sl@0
|
8844 |
{TChar::ERightToLeftEmbedding, -1, TChar::EOtherNeutral},
|
sl@0
|
8845 |
{TChar::EEuropeanNumber, 1, TChar::EEuropeanNumber},
|
sl@0
|
8846 |
{TChar::ELeftToRightEmbedding, -1, TChar::EOtherNeutral},
|
sl@0
|
8847 |
{TChar::EEuropeanNumber, 2, TChar::ELeftToRight},
|
sl@0
|
8848 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8849 |
{TChar::EEuropeanNumber, 1, TChar::ELeftToRight},
|
sl@0
|
8850 |
{TChar::EPopDirectionalFormat, -1, TChar::EOtherNeutral},
|
sl@0
|
8851 |
{TChar::EEuropeanNumber, 0, TChar::EEuropeanNumber},
|
sl@0
|
8852 |
};
|
sl@0
|
8853 |
|
sl@0
|
8854 |
static const TBdLevelTest KW7TestsR[] =
|
sl@0
|
8855 |
{
|
sl@0
|
8856 |
{TChar::EEuropeanNumber, 0, TChar::EEuropeanNumber},
|
sl@0
|
8857 |
};
|
sl@0
|
8858 |
|
sl@0
|
8859 |
static const TBdLevelTest KN12TestsL[] =
|
sl@0
|
8860 |
{
|
sl@0
|
8861 |
{TChar::EOtherNeutral, 0, TChar::ELeftToRight},
|
sl@0
|
8862 |
{TChar::ELeftToRight, 0, TChar::ELeftToRight},
|
sl@0
|
8863 |
{TChar::EOtherNeutral, 0, TChar::ELeftToRight},
|
sl@0
|
8864 |
{TChar::EOtherNeutral, 0, TChar::ELeftToRight},
|
sl@0
|
8865 |
{TChar::EOtherNeutral, 0, TChar::ELeftToRight},
|
sl@0
|
8866 |
{TChar::ELeftToRight, 0, TChar::ELeftToRight},
|
sl@0
|
8867 |
{TChar::ERightToLeft, 0, TChar::ERightToLeft},
|
sl@0
|
8868 |
{TChar::EOtherNeutral, 0, TChar::ERightToLeft},
|
sl@0
|
8869 |
{TChar::EOtherNeutral, 0, TChar::ERightToLeft},
|
sl@0
|
8870 |
{TChar::EOtherNeutral, 0, TChar::ERightToLeft},
|
sl@0
|
8871 |
{TChar::ERightToLeft, 0, TChar::ERightToLeft},
|
sl@0
|
8872 |
{TChar::EOtherNeutral, 0, TChar::ERightToLeft},
|
sl@0
|
8873 |
{TChar::EOtherNeutral, 0, TChar::ERightToLeft},
|
sl@0
|
8874 |
{TChar::EArabicNumber, 0, TChar::EArabicNumber},
|
sl@0
|
8875 |
{TChar::EOtherNeutral, 0, TChar::ERightToLeft},
|
sl@0
|
8876 |
{TChar::ERightToLeft, 0, TChar::ERightToLeft},
|
sl@0
|
8877 |
{TChar::ERightToLeft, 0, TChar::ERightToLeft},
|
sl@0
|
8878 |
{TChar::EOtherNeutral, 0, TChar::ERightToLeft},
|
sl@0
|
8879 |
{TChar::EEuropeanNumber, 0, TChar::EEuropeanNumber},
|
sl@0
|
8880 |
{TChar::EOtherNeutral, 0, TChar::ERightToLeft},
|
sl@0
|
8881 |
{TChar::ERightToLeft, 0, TChar::ERightToLeft},
|
sl@0
|
8882 |
{TChar::EEuropeanNumber, 0, TChar::EEuropeanNumber},
|
sl@0
|
8883 |
{TChar::EOtherNeutral, 0, TChar::ERightToLeft},
|
sl@0
|
8884 |
{TChar::EOtherNeutral, 0, TChar::ERightToLeft},
|
sl@0
|
8885 |
{TChar::EArabicNumber, 0, TChar::EArabicNumber},
|
sl@0
|
8886 |
{TChar::EOtherNeutral, 0, TChar::ERightToLeft},
|
sl@0
|
8887 |
{TChar::EArabicNumber, 0, TChar::EArabicNumber},
|
sl@0
|
8888 |
{TChar::EOtherNeutral, 0, TChar::ELeftToRight},
|
sl@0
|
8889 |
{TChar::ELeftToRight, 0, TChar::ELeftToRight},
|
sl@0
|
8890 |
{TChar::EOtherNeutral, 0, TChar::ELeftToRight},
|
sl@0
|
8891 |
{TChar::EOtherNeutral, 0, TChar::ELeftToRight},
|
sl@0
|
8892 |
{TChar::EOtherNeutral, 0, TChar::ELeftToRight},
|
sl@0
|
8893 |
{TChar::ERightToLeft, 0, TChar::ERightToLeft},
|
sl@0
|
8894 |
{TChar::EOtherNeutral, 0, TChar::ELeftToRight},
|
sl@0
|
8895 |
{TChar::ELeftToRight, 0, TChar::ELeftToRight},
|
sl@0
|
8896 |
{TChar::EOtherNeutral, 0, TChar::ELeftToRight},
|
sl@0
|
8897 |
{TChar::EArabicNumber, 0, TChar::EArabicNumber},
|
sl@0
|
8898 |
{TChar::EOtherNeutral, 0, TChar::ERightToLeft},
|
sl@0
|
8899 |
{TChar::EArabicNumber, 0, TChar::EArabicNumber},
|
sl@0
|
8900 |
{TChar::ELeftToRight, 0, TChar::ELeftToRight},
|
sl@0
|
8901 |
{TChar::EOtherNeutral, 0, TChar::ELeftToRight},
|
sl@0
|
8902 |
};
|
sl@0
|
8903 |
|
sl@0
|
8904 |
static const TBdLevelTest KN12TestsR[] =
|
sl@0
|
8905 |
{
|
sl@0
|
8906 |
{TChar::EOtherNeutral, 1, TChar::ERightToLeft},
|
sl@0
|
8907 |
{TChar::ELeftToRight, 1, TChar::ELeftToRight},
|
sl@0
|
8908 |
{TChar::EOtherNeutral, 1, TChar::ELeftToRight},
|
sl@0
|
8909 |
{TChar::EOtherNeutral, 1, TChar::ELeftToRight},
|
sl@0
|
8910 |
{TChar::EOtherNeutral, 1, TChar::ELeftToRight},
|
sl@0
|
8911 |
{TChar::ELeftToRight, 1, TChar::ELeftToRight},
|
sl@0
|
8912 |
{TChar::ERightToLeft, 1, TChar::ERightToLeft},
|
sl@0
|
8913 |
{TChar::EOtherNeutral, 1, TChar::ERightToLeft},
|
sl@0
|
8914 |
{TChar::EOtherNeutral, 1, TChar::ERightToLeft},
|
sl@0
|
8915 |
{TChar::EOtherNeutral, 1, TChar::ERightToLeft},
|
sl@0
|
8916 |
{TChar::ERightToLeft, 1, TChar::ERightToLeft},
|
sl@0
|
8917 |
{TChar::EOtherNeutral, 1, TChar::ERightToLeft},
|
sl@0
|
8918 |
{TChar::EOtherNeutral, 1, TChar::ERightToLeft},
|
sl@0
|
8919 |
{TChar::EArabicNumber, 1, TChar::EArabicNumber},
|
sl@0
|
8920 |
{TChar::EOtherNeutral, 1, TChar::ERightToLeft},
|
sl@0
|
8921 |
{TChar::ERightToLeft, 1, TChar::ERightToLeft},
|
sl@0
|
8922 |
{TChar::ERightToLeft, 1, TChar::ERightToLeft},
|
sl@0
|
8923 |
{TChar::EOtherNeutral, 1, TChar::ERightToLeft},
|
sl@0
|
8924 |
{TChar::EEuropeanNumber, 1, TChar::EEuropeanNumber},
|
sl@0
|
8925 |
{TChar::EOtherNeutral, 1, TChar::ERightToLeft},
|
sl@0
|
8926 |
{TChar::ERightToLeft, 1, TChar::ERightToLeft},
|
sl@0
|
8927 |
{TChar::EEuropeanNumber, 1, TChar::EEuropeanNumber},
|
sl@0
|
8928 |
{TChar::EOtherNeutral, 1, TChar::ERightToLeft},
|
sl@0
|
8929 |
{TChar::EOtherNeutral, 1, TChar::ERightToLeft},
|
sl@0
|
8930 |
{TChar::EArabicNumber, 1, TChar::EArabicNumber},
|
sl@0
|
8931 |
{TChar::EOtherNeutral, 1, TChar::ERightToLeft},
|
sl@0
|
8932 |
{TChar::EArabicNumber, 1, TChar::EArabicNumber},
|
sl@0
|
8933 |
{TChar::EOtherNeutral, 1, TChar::ERightToLeft},
|
sl@0
|
8934 |
{TChar::ELeftToRight, 1, TChar::ELeftToRight},
|
sl@0
|
8935 |
{TChar::EOtherNeutral, 1, TChar::ERightToLeft},
|
sl@0
|
8936 |
{TChar::EOtherNeutral, 1, TChar::ERightToLeft},
|
sl@0
|
8937 |
{TChar::EOtherNeutral, 1, TChar::ERightToLeft},
|
sl@0
|
8938 |
{TChar::ERightToLeft, 1, TChar::ERightToLeft},
|
sl@0
|
8939 |
{TChar::EOtherNeutral, 1, TChar::ERightToLeft},
|
sl@0
|
8940 |
{TChar::ELeftToRight, 1, TChar::ELeftToRight},
|
sl@0
|
8941 |
{TChar::ERightToLeft, 1, TChar::ERightToLeft},
|
sl@0
|
8942 |
{TChar::EOtherNeutral, 1, TChar::ERightToLeft},
|
sl@0
|
8943 |
};
|
sl@0
|
8944 |
|
sl@0
|
8945 |
static const TBdLevelTest KN12TestsRRL[] =
|
sl@0
|
8946 |
{
|
sl@0
|
8947 |
{TChar::EOtherNeutral, 1, TChar::ERightToLeft},
|
sl@0
|
8948 |
{TChar::ERightToLeft, 1, TChar::ERightToLeft},
|
sl@0
|
8949 |
{TChar::EOtherNeutral, 1, TChar::ERightToLeft},
|
sl@0
|
8950 |
{TChar::ELeftToRight, 1, TChar::ELeftToRight},
|
sl@0
|
8951 |
{TChar::EOtherNeutral, 1, TChar::ELeftToRight}
|
sl@0
|
8952 |
};
|
sl@0
|
8953 |
|
sl@0
|
8954 |
static const TBdLevelTest KN12TestsLRR[] =
|
sl@0
|
8955 |
{
|
sl@0
|
8956 |
{TChar::EOtherNeutral, 1, TChar::ELeftToRight},
|
sl@0
|
8957 |
{TChar::ELeftToRight, 1, TChar::ELeftToRight},
|
sl@0
|
8958 |
{TChar::EOtherNeutral, 1, TChar::ERightToLeft},
|
sl@0
|
8959 |
{TChar::ERightToLeft, 1, TChar::ERightToLeft},
|
sl@0
|
8960 |
{TChar::EOtherNeutral, 1, TChar::ERightToLeft}
|
sl@0
|
8961 |
};
|
sl@0
|
8962 |
|
sl@0
|
8963 |
// Test that pop directional format as the final context does the
|
sl@0
|
8964 |
// right thing, and that embedded directionalities are taken
|
sl@0
|
8965 |
// into account.
|
sl@0
|
8966 |
static const TBdLevelTest KN12TestsLRP[] =
|
sl@0
|
8967 |
{
|
sl@0
|
8968 |
{TChar::EOtherNeutral, 1, TChar::ELeftToRight},
|
sl@0
|
8969 |
{TChar::ELeftToRightEmbedding, -1, TChar::EOtherNeutral},
|
sl@0
|
8970 |
{TChar::ERightToLeft, 2, TChar::ERightToLeft},
|
sl@0
|
8971 |
{TChar::EOtherNeutral, 2, TChar::ELeftToRight},
|
sl@0
|
8972 |
{TChar::ELeftToRight, 2, TChar::ELeftToRight},
|
sl@0
|
8973 |
{TChar::EOtherNeutral, 2, TChar::ELeftToRight}
|
sl@0
|
8974 |
};
|
sl@0
|
8975 |
|
sl@0
|
8976 |
static const TBdLevelTest KN12TestsRLP[] =
|
sl@0
|
8977 |
{
|
sl@0
|
8978 |
{TChar::EOtherNeutral, 0, TChar::ERightToLeft},
|
sl@0
|
8979 |
{TChar::ERightToLeftEmbedding, -1, TChar::EOtherNeutral},
|
sl@0
|
8980 |
{TChar::ELeftToRight, 1, TChar::ELeftToRight},
|
sl@0
|
8981 |
{TChar::EOtherNeutral, 1, TChar::ERightToLeft},
|
sl@0
|
8982 |
{TChar::ERightToLeft, 1, TChar::ERightToLeft},
|
sl@0
|
8983 |
{TChar::EOtherNeutral, 1, TChar::ERightToLeft}
|
sl@0
|
8984 |
};
|
sl@0
|
8985 |
|
sl@0
|
8986 |
static const TBdLevelTest KPreviousCarryOver1Line1[] =
|
sl@0
|
8987 |
{
|
sl@0
|
8988 |
{TChar::ERightToLeftArabic, 1, TChar::ERightToLeft},
|
sl@0
|
8989 |
};
|
sl@0
|
8990 |
static const TBdLevelTest KPreviousCarryOver1Line2[] =
|
sl@0
|
8991 |
{
|
sl@0
|
8992 |
{TChar::EEuropeanNumber, 2, TChar::EArabicNumber},
|
sl@0
|
8993 |
{TChar::EOtherNeutral, 1, TChar::ERightToLeft},
|
sl@0
|
8994 |
{TChar::EEuropeanNumber, 2, TChar::EArabicNumber},
|
sl@0
|
8995 |
};
|
sl@0
|
8996 |
|
sl@0
|
8997 |
void CTBiDi::DoXTests(TBidirectionalState& aState,
|
sl@0
|
8998 |
TBidirectionalState::TReorderContext& aContext,
|
sl@0
|
8999 |
TBidirectionalState::TRunInfo* aRuns)
|
sl@0
|
9000 |
{
|
sl@0
|
9001 |
FILL_RUN_ARRAY(KXTests, aRuns, aContext);
|
sl@0
|
9002 |
aState.HandleBdControls(aContext);
|
sl@0
|
9003 |
CHECK_RUN_RESULTS(KXTests, aRuns);
|
sl@0
|
9004 |
}
|
sl@0
|
9005 |
|
sl@0
|
9006 |
void CTBiDi::DoKW123TestsLeft(TBidirectionalState& aState,
|
sl@0
|
9007 |
TBidirectionalState::TReorderContext& aContext,
|
sl@0
|
9008 |
TBidirectionalState::TRunInfo* aRuns)
|
sl@0
|
9009 |
{
|
sl@0
|
9010 |
aState = TBidirectionalState(TChar::ELeftToRight, TChar::ELeftToRight, EFalse);
|
sl@0
|
9011 |
FILL_RUN_ARRAY(KW123TestsL, aRuns, aContext);
|
sl@0
|
9012 |
aState.HandleBdControls(aContext);
|
sl@0
|
9013 |
aState.ResolveWeakTypesW1W2W3(aContext);
|
sl@0
|
9014 |
CHECK_RUN_RESULTS(KW123TestsL, aRuns);
|
sl@0
|
9015 |
}
|
sl@0
|
9016 |
|
sl@0
|
9017 |
void CTBiDi::DoKW123TestsRight(TBidirectionalState& aState,
|
sl@0
|
9018 |
TBidirectionalState::TReorderContext& aContext,
|
sl@0
|
9019 |
TBidirectionalState::TRunInfo* aRuns)
|
sl@0
|
9020 |
{
|
sl@0
|
9021 |
aState = TBidirectionalState(TChar::ERightToLeft, TChar::ERightToLeft, ETrue);
|
sl@0
|
9022 |
FILL_RUN_ARRAY(KW123TestsR, aRuns, aContext);
|
sl@0
|
9023 |
aState.HandleBdControls(aContext);
|
sl@0
|
9024 |
aState.ResolveWeakTypesW1W2W3(aContext);
|
sl@0
|
9025 |
CHECK_RUN_RESULTS(KW123TestsR, aRuns);
|
sl@0
|
9026 |
}
|
sl@0
|
9027 |
|
sl@0
|
9028 |
void CTBiDi::DoKW456Tests(TBidirectionalState& aState,
|
sl@0
|
9029 |
TBidirectionalState::TReorderContext& aContext,
|
sl@0
|
9030 |
TBidirectionalState::TRunInfo* aRuns)
|
sl@0
|
9031 |
{
|
sl@0
|
9032 |
aState = TBidirectionalState(TChar::ELeftToRight, TChar::ELeftToRight, EFalse);
|
sl@0
|
9033 |
FILL_RUN_ARRAY(KW456Tests, aRuns, aContext);
|
sl@0
|
9034 |
aState.HandleBdControls(aContext);
|
sl@0
|
9035 |
aState.ResolveWeakTypesW1W2W3(aContext);
|
sl@0
|
9036 |
aState.ResolveWeakTypesW4W5W6(aContext);
|
sl@0
|
9037 |
CHECK_RUN_RESULTS(KW456Tests, aRuns);
|
sl@0
|
9038 |
|
sl@0
|
9039 |
}
|
sl@0
|
9040 |
|
sl@0
|
9041 |
|
sl@0
|
9042 |
void CTBiDi::DoKW7TestsLeft(TBidirectionalState& aState,
|
sl@0
|
9043 |
TBidirectionalState::TReorderContext& aContext,
|
sl@0
|
9044 |
TBidirectionalState::TRunInfo* aRuns)
|
sl@0
|
9045 |
{
|
sl@0
|
9046 |
|
sl@0
|
9047 |
aState = TBidirectionalState(TChar::ELeftToRight, TChar::ELeftToRight, EFalse);
|
sl@0
|
9048 |
FILL_RUN_ARRAY(KW7TestsL, aRuns, aContext);
|
sl@0
|
9049 |
aState.HandleBdControls(aContext);
|
sl@0
|
9050 |
aState.ResolveWeakTypesW1W2W3(aContext);
|
sl@0
|
9051 |
aState.ResolveWeakTypesW4W5W6(aContext);
|
sl@0
|
9052 |
aState.ResolveWeakTypesW7(aContext);
|
sl@0
|
9053 |
CHECK_RUN_RESULTS(KW7TestsL, aRuns);
|
sl@0
|
9054 |
|
sl@0
|
9055 |
}
|
sl@0
|
9056 |
|
sl@0
|
9057 |
void CTBiDi::DoKW7TestsRight(TBidirectionalState& aState,
|
sl@0
|
9058 |
TBidirectionalState::TReorderContext& aContext,
|
sl@0
|
9059 |
TBidirectionalState::TRunInfo* aRuns)
|
sl@0
|
9060 |
{
|
sl@0
|
9061 |
aState = TBidirectionalState(TChar::ERightToLeft, TChar::ERightToLeft, EFalse);
|
sl@0
|
9062 |
FILL_RUN_ARRAY(KW7TestsR, aRuns, aContext);
|
sl@0
|
9063 |
aState.HandleBdControls(aContext);
|
sl@0
|
9064 |
aState.ResolveWeakTypesW1W2W3(aContext);
|
sl@0
|
9065 |
aState.ResolveWeakTypesW4W5W6(aContext);
|
sl@0
|
9066 |
aState.ResolveWeakTypesW7(aContext);
|
sl@0
|
9067 |
CHECK_RUN_RESULTS(KW7TestsR, aRuns);
|
sl@0
|
9068 |
}
|
sl@0
|
9069 |
|
sl@0
|
9070 |
void CTBiDi::DoKN12TestsLeft(TBidirectionalState& aState,
|
sl@0
|
9071 |
TBidirectionalState::TReorderContext& aContext,
|
sl@0
|
9072 |
TBidirectionalState::TRunInfo* aRuns)
|
sl@0
|
9073 |
{
|
sl@0
|
9074 |
aState = TBidirectionalState(TChar::ERightToLeft, TChar::ERightToLeft, EFalse);
|
sl@0
|
9075 |
SetContext(aContext, TChar::ERightToLeft);
|
sl@0
|
9076 |
FILL_RUN_ARRAY(KN12TestsL, aRuns, aContext);
|
sl@0
|
9077 |
aState.HandleBdControls(aContext);
|
sl@0
|
9078 |
aState.ResolveWeakTypesW1W2W3(aContext);
|
sl@0
|
9079 |
aState.ResolveWeakTypesW4W5W6(aContext);
|
sl@0
|
9080 |
aState.ResolveWeakTypesW7(aContext);
|
sl@0
|
9081 |
aState.ResolveNeutralTypes(aContext);
|
sl@0
|
9082 |
CHECK_RUN_RESULTS(KN12TestsL, aRuns);
|
sl@0
|
9083 |
|
sl@0
|
9084 |
}
|
sl@0
|
9085 |
|
sl@0
|
9086 |
void CTBiDi::DoKN12TestsRight(TBidirectionalState& aState,
|
sl@0
|
9087 |
TBidirectionalState::TReorderContext& aContext,
|
sl@0
|
9088 |
TBidirectionalState::TRunInfo* aRuns)
|
sl@0
|
9089 |
{
|
sl@0
|
9090 |
aState = TBidirectionalState(TChar::ERightToLeft, TChar::ERightToLeft, ETrue);
|
sl@0
|
9091 |
SetContext(aContext, TChar::ERightToLeft);
|
sl@0
|
9092 |
FILL_RUN_ARRAY(KN12TestsR, aRuns, aContext);
|
sl@0
|
9093 |
aState.HandleBdControls(aContext);
|
sl@0
|
9094 |
aState.ResolveWeakTypesW1W2W3(aContext);
|
sl@0
|
9095 |
aState.ResolveWeakTypesW4W5W6(aContext);
|
sl@0
|
9096 |
aState.ResolveWeakTypesW7(aContext);
|
sl@0
|
9097 |
aState.ResolveNeutralTypes(aContext);
|
sl@0
|
9098 |
CHECK_RUN_RESULTS(KN12TestsR, aRuns);
|
sl@0
|
9099 |
}
|
sl@0
|
9100 |
|
sl@0
|
9101 |
void CTBiDi::DoKN12TestsRRL(TBidirectionalState& aState,
|
sl@0
|
9102 |
TBidirectionalState::TReorderContext& aContext,
|
sl@0
|
9103 |
TBidirectionalState::TRunInfo* aRuns)
|
sl@0
|
9104 |
{
|
sl@0
|
9105 |
aState = TBidirectionalState(TChar::ERightToLeft, TChar::ERightToLeft, ETrue);
|
sl@0
|
9106 |
SetContext(aContext, TChar::ELeftToRight);
|
sl@0
|
9107 |
FILL_RUN_ARRAY(KN12TestsRRL, aRuns, aContext);
|
sl@0
|
9108 |
aState.HandleBdControls(aContext);
|
sl@0
|
9109 |
aState.ResolveWeakTypesW1W2W3(aContext);
|
sl@0
|
9110 |
aState.ResolveWeakTypesW4W5W6(aContext);
|
sl@0
|
9111 |
aState.ResolveWeakTypesW7(aContext);
|
sl@0
|
9112 |
aState.ResolveNeutralTypes(aContext);
|
sl@0
|
9113 |
CHECK_RUN_RESULTS(KN12TestsRRL, aRuns);
|
sl@0
|
9114 |
}
|
sl@0
|
9115 |
|
sl@0
|
9116 |
void CTBiDi::DoKN12TestsLRR(TBidirectionalState& aState,
|
sl@0
|
9117 |
TBidirectionalState::TReorderContext& aContext,
|
sl@0
|
9118 |
TBidirectionalState::TRunInfo* aRuns)
|
sl@0
|
9119 |
{
|
sl@0
|
9120 |
aState = TBidirectionalState(TChar::ELeftToRight, TChar::ELeftToRight, ETrue);
|
sl@0
|
9121 |
SetContext(aContext, TChar::ERightToLeft);
|
sl@0
|
9122 |
FILL_RUN_ARRAY(KN12TestsLRR, aRuns, aContext);
|
sl@0
|
9123 |
aState.HandleBdControls(aContext);
|
sl@0
|
9124 |
aState.ResolveWeakTypesW1W2W3(aContext);
|
sl@0
|
9125 |
aState.ResolveWeakTypesW4W5W6(aContext);
|
sl@0
|
9126 |
aState.ResolveWeakTypesW7(aContext);
|
sl@0
|
9127 |
aState.ResolveNeutralTypes(aContext);
|
sl@0
|
9128 |
CHECK_RUN_RESULTS(KN12TestsLRR, aRuns);
|
sl@0
|
9129 |
}
|
sl@0
|
9130 |
|
sl@0
|
9131 |
void CTBiDi::DoKN12TestsLRP(TBidirectionalState& aState,
|
sl@0
|
9132 |
TBidirectionalState::TReorderContext& aContext,
|
sl@0
|
9133 |
TBidirectionalState::TRunInfo* aRuns)
|
sl@0
|
9134 |
{
|
sl@0
|
9135 |
aState = TBidirectionalState(TChar::ELeftToRight, TChar::ELeftToRight, ETrue);
|
sl@0
|
9136 |
SetContext(aContext, TChar::EPopDirectionalFormat);
|
sl@0
|
9137 |
FILL_RUN_ARRAY(KN12TestsLRP, aRuns, aContext);
|
sl@0
|
9138 |
aState.HandleBdControls(aContext);
|
sl@0
|
9139 |
aState.ResolveWeakTypesW1W2W3(aContext);
|
sl@0
|
9140 |
aState.ResolveWeakTypesW4W5W6(aContext);
|
sl@0
|
9141 |
aState.ResolveWeakTypesW7(aContext);
|
sl@0
|
9142 |
aState.ResolveNeutralTypes(aContext);
|
sl@0
|
9143 |
CHECK_RUN_RESULTS(KN12TestsLRP, aRuns);
|
sl@0
|
9144 |
}
|
sl@0
|
9145 |
|
sl@0
|
9146 |
void CTBiDi::DoKN12TestsRLP(TBidirectionalState& aState,
|
sl@0
|
9147 |
TBidirectionalState::TReorderContext& aContext,
|
sl@0
|
9148 |
TBidirectionalState::TRunInfo* aRuns)
|
sl@0
|
9149 |
{
|
sl@0
|
9150 |
aState = TBidirectionalState(TChar::ERightToLeft, TChar::ERightToLeft, EFalse);
|
sl@0
|
9151 |
SetContext(aContext, TChar::EPopDirectionalFormat);
|
sl@0
|
9152 |
FILL_RUN_ARRAY(KN12TestsRLP, aRuns, aContext);
|
sl@0
|
9153 |
aState.HandleBdControls(aContext);
|
sl@0
|
9154 |
aState.ResolveWeakTypesW1W2W3(aContext);
|
sl@0
|
9155 |
aState.ResolveWeakTypesW4W5W6(aContext);
|
sl@0
|
9156 |
aState.ResolveWeakTypesW7(aContext);
|
sl@0
|
9157 |
aState.ResolveNeutralTypes(aContext);
|
sl@0
|
9158 |
CHECK_RUN_RESULTS(KN12TestsRLP, aRuns);
|
sl@0
|
9159 |
}
|
sl@0
|
9160 |
|
sl@0
|
9161 |
void CTBiDi::DoCarryOverTest1(TBidirectionalState& aState,
|
sl@0
|
9162 |
TBidirectionalState::TReorderContext& aContext,
|
sl@0
|
9163 |
TBidirectionalState::TRunInfo* aRuns)
|
sl@0
|
9164 |
{
|
sl@0
|
9165 |
aState = TBidirectionalState(TChar::ERightToLeft, TChar::ERightToLeft, EFalse);
|
sl@0
|
9166 |
SetContext(aContext, TChar::EOtherNeutral);
|
sl@0
|
9167 |
FILL_RUN_ARRAY(KPreviousCarryOver1Line1, aRuns, aContext);
|
sl@0
|
9168 |
aState.HandleBdControls(aContext);
|
sl@0
|
9169 |
aState.ResolveWeakTypesW1W2W3(aContext);
|
sl@0
|
9170 |
aState.ResolveWeakTypesW4W5W6(aContext);
|
sl@0
|
9171 |
aState.ResolveWeakTypesW7(aContext);
|
sl@0
|
9172 |
aState.ResolveNeutralTypes(aContext);
|
sl@0
|
9173 |
aState.ResolveImplicitLevels(aContext);
|
sl@0
|
9174 |
aState.PrepareForNextLine(aContext);
|
sl@0
|
9175 |
CHECK_RUN_RESULTS(KPreviousCarryOver1Line1, aRuns);
|
sl@0
|
9176 |
FILL_RUN_ARRAY(KPreviousCarryOver1Line2, aRuns, aContext);
|
sl@0
|
9177 |
aState.HandleBdControls(aContext);
|
sl@0
|
9178 |
aState.ResolveWeakTypesW1W2W3(aContext);
|
sl@0
|
9179 |
aState.ResolveWeakTypesW4W5W6(aContext);
|
sl@0
|
9180 |
aState.ResolveWeakTypesW7(aContext);
|
sl@0
|
9181 |
aState.ResolveNeutralTypes(aContext);
|
sl@0
|
9182 |
aState.ResolveImplicitLevels(aContext);
|
sl@0
|
9183 |
aState.PrepareForNextLine(aContext);
|
sl@0
|
9184 |
CHECK_RUN_RESULTS(KPreviousCarryOver1Line2, aRuns);
|
sl@0
|
9185 |
}
|
sl@0
|
9186 |
|
sl@0
|
9187 |
/**
|
sl@0
|
9188 |
@SYMTestCaseID GRAPHICS-GDI-BiDi-0001
|
sl@0
|
9189 |
|
sl@0
|
9190 |
@SYMDEF DEF105603
|
sl@0
|
9191 |
|
sl@0
|
9192 |
@SYMTestCaseDesc Test TBidirectionalState functionality (Unicode Bidirectional Algorithm impmentation withing SymbianOS)
|
sl@0
|
9193 |
|
sl@0
|
9194 |
@SYMTestPriority High
|
sl@0
|
9195 |
|
sl@0
|
9196 |
@SYMTestStatus Implemented
|
sl@0
|
9197 |
|
sl@0
|
9198 |
@SYMTestActions Test conversion of a TBidirectional::TCategory value into it's equivalent TChar::TBdCategory
|
sl@0
|
9199 |
Test the various phases of the Bidirectional Algorithm implementation (Resolving explicit levels and directions, weak types & neutral types)
|
sl@0
|
9200 |
|
sl@0
|
9201 |
@SYMTestExpectedResults Confirmation the implementation conforms to the Unicode Birdirection Algorithm standard
|
sl@0
|
9202 |
*/
|
sl@0
|
9203 |
void CTBiDi::TestTBidirectionalStateInternalsL()
|
sl@0
|
9204 |
{
|
sl@0
|
9205 |
INFO_PRINTF1(_L("TBidirectionalState internals"));
|
sl@0
|
9206 |
TestCatToNumber(1, 0);
|
sl@0
|
9207 |
TestCatToNumber(2, 1);
|
sl@0
|
9208 |
TestCatToNumber(3, 1);
|
sl@0
|
9209 |
TestCatToNumber(4, 2);
|
sl@0
|
9210 |
TestCatToNumber(6, 2);
|
sl@0
|
9211 |
TestCatToNumber(8, 3);
|
sl@0
|
9212 |
TestCatToNumber(9, 3);
|
sl@0
|
9213 |
TestCatToNumber(0x10, 4);
|
sl@0
|
9214 |
TestCatToNumber(0x20, 5);
|
sl@0
|
9215 |
TestCatToNumber(0x40, 6);
|
sl@0
|
9216 |
TestCatToNumber(0x7F, 6);
|
sl@0
|
9217 |
TestCatToNumber(0x80, 7);
|
sl@0
|
9218 |
TestCatToNumber(0x100, 8);
|
sl@0
|
9219 |
TestCatToNumber(0x200, 9);
|
sl@0
|
9220 |
TestCatToNumber(0x400, 10);
|
sl@0
|
9221 |
TestCatToNumber(0x800, 11);
|
sl@0
|
9222 |
TestCatToNumber(0x1000, 12);
|
sl@0
|
9223 |
TestCatToNumber(0x2000, 13);
|
sl@0
|
9224 |
TestCatToNumber(0x4000, 14);
|
sl@0
|
9225 |
TestCatToNumber(0x8000, 15);
|
sl@0
|
9226 |
TestCatToNumber(0xFFFF, 15);
|
sl@0
|
9227 |
TestCatToNumber(0x10000, 16);
|
sl@0
|
9228 |
TestCatToNumber(0x20000, 17);
|
sl@0
|
9229 |
TestCatToNumber(0x40000, 18);
|
sl@0
|
9230 |
TestCatToNumber(0x80000, 19);
|
sl@0
|
9231 |
TestCatToNumber(0x100000, 20);
|
sl@0
|
9232 |
TestCatToNumber(0x200000, 21);
|
sl@0
|
9233 |
TestCatToNumber(0x400000, 22);
|
sl@0
|
9234 |
TestCatToNumber(0x800000, 23);
|
sl@0
|
9235 |
TestCatToNumber(0x1000000, 24);
|
sl@0
|
9236 |
TestCatToNumber(0x2000000, 25);
|
sl@0
|
9237 |
TestCatToNumber(0x4000000, 26);
|
sl@0
|
9238 |
TestCatToNumber(0x8000000, 27);
|
sl@0
|
9239 |
TestCatToNumber(0x10000000, 28);
|
sl@0
|
9240 |
TestCatToNumber(0x20000000, 29);
|
sl@0
|
9241 |
TestCatToNumber(0x40000000, 30);
|
sl@0
|
9242 |
TestCatToNumber(0x7FFFFFFF, 30);
|
sl@0
|
9243 |
|
sl@0
|
9244 |
TBidirectionalState::TRunInfo* runs = new(ELeave) TBidirectionalState::TRunInfo[200];
|
sl@0
|
9245 |
CleanupArrayDeletePushL(runs);
|
sl@0
|
9246 |
TBidirectionalState state(TChar::EOtherNeutral, TChar::EOtherNeutral, EFalse);
|
sl@0
|
9247 |
TBidirectionalState::TReorderContext context;
|
sl@0
|
9248 |
context.iRunInfo = runs;
|
sl@0
|
9249 |
DoXTests(state, context, runs);
|
sl@0
|
9250 |
DoKW123TestsLeft(state, context, runs);
|
sl@0
|
9251 |
DoKW123TestsRight(state, context, runs);
|
sl@0
|
9252 |
DoKW456Tests(state, context, runs);
|
sl@0
|
9253 |
DoKW7TestsLeft(state, context, runs);
|
sl@0
|
9254 |
DoKW7TestsRight(state, context, runs);
|
sl@0
|
9255 |
DoKN12TestsLeft(state, context, runs);
|
sl@0
|
9256 |
DoKN12TestsRight(state, context, runs);
|
sl@0
|
9257 |
DoKN12TestsRRL(state, context, runs);
|
sl@0
|
9258 |
DoKN12TestsLRR(state, context, runs);
|
sl@0
|
9259 |
DoKN12TestsLRP(state, context, runs);
|
sl@0
|
9260 |
DoKN12TestsRLP(state, context, runs);
|
sl@0
|
9261 |
|
sl@0
|
9262 |
// Should test "Resolve implicit levels" as well.
|
sl@0
|
9263 |
//...
|
sl@0
|
9264 |
|
sl@0
|
9265 |
DoCarryOverTest1(state, context, runs);
|
sl@0
|
9266 |
|
sl@0
|
9267 |
CleanupStack::PopAndDestroy(runs);
|
sl@0
|
9268 |
}
|
sl@0
|
9269 |
|
sl@0
|
9270 |
|
sl@0
|
9271 |
/**
|
sl@0
|
9272 |
* @SYMTestCaseID GRAPHICS-SYSLIB-GDI-CT-0217
|
sl@0
|
9273 |
* @SYMTestCaseDesc Test the operation of the run array scratch area
|
sl@0
|
9274 |
* @SYMTestPriority low
|
sl@0
|
9275 |
* @SYMTestActions Step 1: Verify that the scratch area is created and destroyed correctly
|
sl@0
|
9276 |
* and that no memory is leaked.
|
sl@0
|
9277 |
* Step 2: Verify that the reference counting mechanism operates correctly
|
sl@0
|
9278 |
* Step 3: Verify that a call to OpenL() will leave correctly if there is
|
sl@0
|
9279 |
* not enough memory available.
|
sl@0
|
9280 |
* @SYMTestExpectedResults The test must pass
|
sl@0
|
9281 |
* @SYMREQ APOS-69QD7N - Change TBidiText to make it useable and easier to port
|
sl@0
|
9282 |
* code to it
|
sl@0
|
9283 |
* @SYMDevelopedForRelease Mike
|
sl@0
|
9284 |
* @SYMTestType CT
|
sl@0
|
9285 |
*
|
sl@0
|
9286 |
*/
|
sl@0
|
9287 |
void CTBiDi::DoTestRRunInfoArrayInternalsL()
|
sl@0
|
9288 |
{
|
sl@0
|
9289 |
INFO_PRINTF1(_L("RRunInfoArray Internals..."));
|
sl@0
|
9290 |
|
sl@0
|
9291 |
|
sl@0
|
9292 |
#ifdef _DEBUG
|
sl@0
|
9293 |
const TInt KExpectedHeapCells = 2;
|
sl@0
|
9294 |
#endif
|
sl@0
|
9295 |
|
sl@0
|
9296 |
|
sl@0
|
9297 |
// Step 1: Verify that the scratch area is created and
|
sl@0
|
9298 |
// destroyed correctly
|
sl@0
|
9299 |
{
|
sl@0
|
9300 |
INFO_PRINTF1(_L(" Create/destroy run info scratch area..."));
|
sl@0
|
9301 |
|
sl@0
|
9302 |
__UHEAP_MARK;
|
sl@0
|
9303 |
RRunInfoArray runInfoArray;
|
sl@0
|
9304 |
runInfoArray.OpenL();
|
sl@0
|
9305 |
__UHEAP_CHECK(KExpectedHeapCells);
|
sl@0
|
9306 |
runInfoArray.Close();
|
sl@0
|
9307 |
__UHEAP_MARKEND;
|
sl@0
|
9308 |
}
|
sl@0
|
9309 |
|
sl@0
|
9310 |
|
sl@0
|
9311 |
// Step 2: Multiple calls to OpenL() and Close()
|
sl@0
|
9312 |
//
|
sl@0
|
9313 |
{
|
sl@0
|
9314 |
INFO_PRINTF1(_L(" Multiple calls to RRunInfoArray::OpenL()..."));
|
sl@0
|
9315 |
|
sl@0
|
9316 |
__UHEAP_MARK;
|
sl@0
|
9317 |
RRunInfoArray runInfoArray;
|
sl@0
|
9318 |
runInfoArray.OpenL();
|
sl@0
|
9319 |
__UHEAP_CHECK(KExpectedHeapCells);
|
sl@0
|
9320 |
|
sl@0
|
9321 |
// Second call on the same object gets ignored.
|
sl@0
|
9322 |
runInfoArray.OpenL();
|
sl@0
|
9323 |
__UHEAP_CHECK(KExpectedHeapCells);
|
sl@0
|
9324 |
|
sl@0
|
9325 |
|
sl@0
|
9326 |
// Creating another one reuses the singleton we created
|
sl@0
|
9327 |
// earlier. No additional storage gets allocated
|
sl@0
|
9328 |
RRunInfoArray runInfoArray2;
|
sl@0
|
9329 |
runInfoArray2.OpenL();
|
sl@0
|
9330 |
__UHEAP_CHECK(KExpectedHeapCells);
|
sl@0
|
9331 |
|
sl@0
|
9332 |
|
sl@0
|
9333 |
// Shut down can be done in any order - It is the last one
|
sl@0
|
9334 |
// that should actually free the memory
|
sl@0
|
9335 |
INFO_PRINTF1(_L(" Multiple calls to RRunInfoArray::Close()..."));
|
sl@0
|
9336 |
runInfoArray.Close();
|
sl@0
|
9337 |
__UHEAP_CHECK(KExpectedHeapCells);
|
sl@0
|
9338 |
runInfoArray2.Close();
|
sl@0
|
9339 |
__UHEAP_CHECK(0);
|
sl@0
|
9340 |
|
sl@0
|
9341 |
|
sl@0
|
9342 |
// Try to break it by calling Close() again
|
sl@0
|
9343 |
runInfoArray.Close();
|
sl@0
|
9344 |
__UHEAP_CHECK(0);
|
sl@0
|
9345 |
|
sl@0
|
9346 |
|
sl@0
|
9347 |
__UHEAP_MARKEND;
|
sl@0
|
9348 |
}
|
sl@0
|
9349 |
|
sl@0
|
9350 |
|
sl@0
|
9351 |
// Step 3: Check that OpenL() really does leave if not enough
|
sl@0
|
9352 |
// memory - only valid for debug builds
|
sl@0
|
9353 |
#ifdef _DEBUG
|
sl@0
|
9354 |
{
|
sl@0
|
9355 |
INFO_PRINTF1(_L(" RRunInfoArray::OpenL() fails for OOM..."));
|
sl@0
|
9356 |
RRunInfoArray runInfoArray;
|
sl@0
|
9357 |
|
sl@0
|
9358 |
// OOM loop - must successfully allocate for 10 consecutive alloc sizes
|
sl@0
|
9359 |
TInt allocSuccess = 0;
|
sl@0
|
9360 |
TInt failAlloc = 1;
|
sl@0
|
9361 |
do
|
sl@0
|
9362 |
{
|
sl@0
|
9363 |
__UHEAP_FAILNEXT(failAlloc);
|
sl@0
|
9364 |
TRAPD(err, runInfoArray.OpenL());
|
sl@0
|
9365 |
__UHEAP_RESET;
|
sl@0
|
9366 |
|
sl@0
|
9367 |
if (err == KErrNone)
|
sl@0
|
9368 |
{
|
sl@0
|
9369 |
++allocSuccess;
|
sl@0
|
9370 |
runInfoArray.Close();
|
sl@0
|
9371 |
}
|
sl@0
|
9372 |
else
|
sl@0
|
9373 |
{
|
sl@0
|
9374 |
TEST(KErrNoMemory == err);
|
sl@0
|
9375 |
allocSuccess = 0;
|
sl@0
|
9376 |
}
|
sl@0
|
9377 |
++failAlloc;
|
sl@0
|
9378 |
}
|
sl@0
|
9379 |
while (allocSuccess < 10);
|
sl@0
|
9380 |
}
|
sl@0
|
9381 |
#endif
|
sl@0
|
9382 |
}
|
sl@0
|
9383 |
|
sl@0
|
9384 |
|
sl@0
|
9385 |
/**
|
sl@0
|
9386 |
*
|
sl@0
|
9387 |
* Check that TBidiText will panic if the NewL call contains
|
sl@0
|
9388 |
* an invalid max length value.
|
sl@0
|
9389 |
*
|
sl@0
|
9390 |
* Note: This function will generate a panic and should therefore
|
sl@0
|
9391 |
* be called from within a separate worker thread.
|
sl@0
|
9392 |
*
|
sl@0
|
9393 |
*/
|
sl@0
|
9394 |
static TInt TestPanicMaxLengthInvalidL(TAny*)
|
sl@0
|
9395 |
{
|
sl@0
|
9396 |
// A max length of 0 or less is invalid. Should cause a panic.
|
sl@0
|
9397 |
TBidiText* bidi = TBidiText::NewL(-1, 3);
|
sl@0
|
9398 |
|
sl@0
|
9399 |
|
sl@0
|
9400 |
return (KErrNone);
|
sl@0
|
9401 |
}
|
sl@0
|
9402 |
|
sl@0
|
9403 |
|
sl@0
|
9404 |
/**
|
sl@0
|
9405 |
*
|
sl@0
|
9406 |
* Check that TBidiText will panic if the NewL call contains
|
sl@0
|
9407 |
* an invalid max lines value
|
sl@0
|
9408 |
*
|
sl@0
|
9409 |
* Note: This function will generate a panic and should therefore
|
sl@0
|
9410 |
* be called from within a separate worker thread.
|
sl@0
|
9411 |
*
|
sl@0
|
9412 |
*/
|
sl@0
|
9413 |
static TInt TestPanicMaxLinesInvalidL(TAny*)
|
sl@0
|
9414 |
{
|
sl@0
|
9415 |
// The max number of lines should be 1 or more. Should cause a
|
sl@0
|
9416 |
// panic.
|
sl@0
|
9417 |
TBidiText* bidi = TBidiText::NewL(100, -1);
|
sl@0
|
9418 |
|
sl@0
|
9419 |
|
sl@0
|
9420 |
return (KErrNone);
|
sl@0
|
9421 |
}
|
sl@0
|
9422 |
|
sl@0
|
9423 |
|
sl@0
|
9424 |
/**
|
sl@0
|
9425 |
*
|
sl@0
|
9426 |
* @SYMTestCaseID GRAPHICS-SYSLIB-GDI-CT-0218
|
sl@0
|
9427 |
* @SYMTestCaseDesc Test the creation of an empty TBidiText object
|
sl@0
|
9428 |
* @SYMTestPriority low
|
sl@0
|
9429 |
* @SYMTestActions Step 1: Verify object creation
|
sl@0
|
9430 |
* Step 2: Verify that object destruction does not leak memory
|
sl@0
|
9431 |
* Step 3: Verify that the correct panics are generated if an
|
sl@0
|
9432 |
* invalid parameter is specified
|
sl@0
|
9433 |
* @SYMTestExpectedResults The test must pass
|
sl@0
|
9434 |
* @SYMREQ APOS-69QD7N - Change TBidiText to make it useable and easier to port
|
sl@0
|
9435 |
* code to it
|
sl@0
|
9436 |
* @SYMDevelopedForRelease Mike
|
sl@0
|
9437 |
* @SYMTestType CT
|
sl@0
|
9438 |
*
|
sl@0
|
9439 |
*/
|
sl@0
|
9440 |
void CTBiDi::DoTestTBidiTextNewL()
|
sl@0
|
9441 |
{
|
sl@0
|
9442 |
INFO_PRINTF1(_L("TBidiText::NewL()..."));
|
sl@0
|
9443 |
const TInt KMaxLength = 100;
|
sl@0
|
9444 |
const TInt KMaxLines = 3;
|
sl@0
|
9445 |
#ifdef _DEBUG
|
sl@0
|
9446 |
const TInt KExpectedHeapCells = 1;
|
sl@0
|
9447 |
#endif
|
sl@0
|
9448 |
|
sl@0
|
9449 |
TBidiText* bidiText = 0;
|
sl@0
|
9450 |
|
sl@0
|
9451 |
// First we're going to test the successful creation. This
|
sl@0
|
9452 |
// should (hopefully) be how the client app will use the class)
|
sl@0
|
9453 |
INFO_PRINTF1(_L(" Create an empty object..."));
|
sl@0
|
9454 |
__UHEAP_MARK;
|
sl@0
|
9455 |
TRAPD(err, bidiText = TBidiText::NewL(KMaxLength, KMaxLines));
|
sl@0
|
9456 |
TEST(KErrNone == err);
|
sl@0
|
9457 |
__UHEAP_CHECK(KExpectedHeapCells);
|
sl@0
|
9458 |
|
sl@0
|
9459 |
|
sl@0
|
9460 |
// Free up the memory and make sure we haven't leaked anything
|
sl@0
|
9461 |
INFO_PRINTF1(_L(" Delete object..."));
|
sl@0
|
9462 |
delete bidiText;
|
sl@0
|
9463 |
bidiText = 0;
|
sl@0
|
9464 |
__UHEAP_CHECK(0);
|
sl@0
|
9465 |
__UHEAP_MARKEND;
|
sl@0
|
9466 |
|
sl@0
|
9467 |
|
sl@0
|
9468 |
// Now for the invalid parameters. These will generate a panic
|
sl@0
|
9469 |
// so must be tested in a separate thread.
|
sl@0
|
9470 |
INFO_PRINTF1(_L(" Invalid max length (will panic!)"));
|
sl@0
|
9471 |
TEST(EBidiPanic_InvalidReservedMaxLength == TestPanic(TestPanicMaxLengthInvalidL));
|
sl@0
|
9472 |
INFO_PRINTF1(_L(" Invalid max lines (will panic!)"));
|
sl@0
|
9473 |
TEST(EBidiPanic_InvalidMaxline == TestPanic(TestPanicMaxLinesInvalidL));
|
sl@0
|
9474 |
}
|
sl@0
|
9475 |
|
sl@0
|
9476 |
|
sl@0
|
9477 |
/**
|
sl@0
|
9478 |
*
|
sl@0
|
9479 |
* Check that TBidiText will panic if the SetText call is made
|
sl@0
|
9480 |
* before RRunInfoArray::OpenL();
|
sl@0
|
9481 |
*
|
sl@0
|
9482 |
* Note: This function will generate a panic and should therefore
|
sl@0
|
9483 |
* be called from within a separate worker thread.
|
sl@0
|
9484 |
*
|
sl@0
|
9485 |
*/
|
sl@0
|
9486 |
TInt CTBiDi::DoTestPanicSetTextL()
|
sl@0
|
9487 |
{
|
sl@0
|
9488 |
const TInt KMaxLength = 100;
|
sl@0
|
9489 |
const TInt KMaxLines = 3;
|
sl@0
|
9490 |
_LIT(KHello, "Hello World");
|
sl@0
|
9491 |
|
sl@0
|
9492 |
TBidiText* bidiText = TBidiText::NewL(KMaxLength, KMaxLines);
|
sl@0
|
9493 |
CleanupStack::PushL(bidiText);
|
sl@0
|
9494 |
|
sl@0
|
9495 |
|
sl@0
|
9496 |
// Will cause a KErrDisconnected panic because we have not
|
sl@0
|
9497 |
// called RRunInfoArray::OpenL()
|
sl@0
|
9498 |
RRunInfoArray runArray;
|
sl@0
|
9499 |
bidiText->SetText(KHello, runArray);
|
sl@0
|
9500 |
|
sl@0
|
9501 |
|
sl@0
|
9502 |
CleanupStack::PopAndDestroy(bidiText);
|
sl@0
|
9503 |
return KErrNone;
|
sl@0
|
9504 |
}
|
sl@0
|
9505 |
|
sl@0
|
9506 |
|
sl@0
|
9507 |
/**
|
sl@0
|
9508 |
*
|
sl@0
|
9509 |
* Entry point for the DoTestPanicSetTextL test's worker thread
|
sl@0
|
9510 |
*
|
sl@0
|
9511 |
* Provides cleanup stack for the test function
|
sl@0
|
9512 |
*
|
sl@0
|
9513 |
*/
|
sl@0
|
9514 |
TInt TestPanicSetTextL(TAny* aData)
|
sl@0
|
9515 |
{
|
sl@0
|
9516 |
CTBiDi* theTest = static_cast<CTBiDi*> (aData);
|
sl@0
|
9517 |
CTrapCleanup* trap = CTrapCleanup::New();
|
sl@0
|
9518 |
if (!trap)
|
sl@0
|
9519 |
return KErrNoMemory;
|
sl@0
|
9520 |
|
sl@0
|
9521 |
|
sl@0
|
9522 |
TRAP_IGNORE(theTest->DoTestPanicSetTextL());
|
sl@0
|
9523 |
|
sl@0
|
9524 |
|
sl@0
|
9525 |
delete trap;
|
sl@0
|
9526 |
return KErrNone;
|
sl@0
|
9527 |
}
|
sl@0
|
9528 |
|
sl@0
|
9529 |
|
sl@0
|
9530 |
/**
|
sl@0
|
9531 |
*
|
sl@0
|
9532 |
* @SYMTestCaseID GRAPHICS-SYSLIB-GDI-CT-0219
|
sl@0
|
9533 |
* @SYMTestCaseDesc Test the operation of TBidiText::SetText()
|
sl@0
|
9534 |
* @SYMTestPriority low
|
sl@0
|
9535 |
* @SYMTestActions Step 1: Verify that RRunInfoArray will panic if OpenL()
|
sl@0
|
9536 |
* has not been called
|
sl@0
|
9537 |
* Step 2: Verify that SetText() does change the text and
|
sl@0
|
9538 |
* string length
|
sl@0
|
9539 |
* Step 3: Verify that SetText() will return the number of
|
sl@0
|
9540 |
* characters truncated if the string is too big for
|
sl@0
|
9541 |
* the object.
|
sl@0
|
9542 |
* Step 4: Also checks that the text is changed and the
|
sl@0
|
9543 |
* length is updated.
|
sl@0
|
9544 |
* Step 5: Verify that RRunInfoArray will panic if it's
|
sl@0
|
9545 |
* buffer overflows
|
sl@0
|
9546 |
* @SYMTestExpectedResults The test must pass
|
sl@0
|
9547 |
* @SYMREQ APOS-69QD7N - Change TBidiText to make it useable and easier to port
|
sl@0
|
9548 |
* code to it
|
sl@0
|
9549 |
* @SYMDevelopedForRelease Mike
|
sl@0
|
9550 |
* @SYMTestType CT
|
sl@0
|
9551 |
*
|
sl@0
|
9552 |
*/
|
sl@0
|
9553 |
void CTBiDi::DoTestTBidiTextSetTextL()
|
sl@0
|
9554 |
{
|
sl@0
|
9555 |
INFO_PRINTF1(_L("TBidiText::SetText()..."));
|
sl@0
|
9556 |
|
sl@0
|
9557 |
|
sl@0
|
9558 |
INFO_PRINTF1(_L(" Run Array not initialised (will panic!)"));
|
sl@0
|
9559 |
TEST(EBidiPanic_RunArrayNull == TestPanic(TestPanicSetTextL));
|
sl@0
|
9560 |
|
sl@0
|
9561 |
|
sl@0
|
9562 |
// Rest of the tests will make use of these resources
|
sl@0
|
9563 |
_LIT(KLine1, "Mary had a little lamb");
|
sl@0
|
9564 |
_LIT(KLine2, "and she had a bear");
|
sl@0
|
9565 |
_LIT(KLine3, "I've often seen her little lamb");
|
sl@0
|
9566 |
const TInt KExpectedDiff = KLine3.iTypeLength - KLine1.iTypeLength;
|
sl@0
|
9567 |
|
sl@0
|
9568 |
|
sl@0
|
9569 |
RRunInfoArray runArray;
|
sl@0
|
9570 |
runArray.OpenL();
|
sl@0
|
9571 |
|
sl@0
|
9572 |
|
sl@0
|
9573 |
INFO_PRINTF1(_L(" Change text..."));
|
sl@0
|
9574 |
TBidiText* bidiText = TBidiText::NewL(KLine1, 1);
|
sl@0
|
9575 |
CleanupStack::PushL(bidiText);
|
sl@0
|
9576 |
TEST(KLine1.iTypeLength == bidiText->Text().Length());
|
sl@0
|
9577 |
|
sl@0
|
9578 |
|
sl@0
|
9579 |
// Will fit. Expect an overflow of 0 characters.
|
sl@0
|
9580 |
TInt overFlow = bidiText->SetText(KLine2, runArray);
|
sl@0
|
9581 |
TEST(0 == overFlow);
|
sl@0
|
9582 |
TEST(KLine2.iTypeLength == bidiText->Text().Length());
|
sl@0
|
9583 |
TEST(!bidiText->Text().Compare(KLine2));
|
sl@0
|
9584 |
|
sl@0
|
9585 |
|
sl@0
|
9586 |
// Too long. Expect an overflow for this string. The number of
|
sl@0
|
9587 |
// characters we have exceeded the buffer by is determined from
|
sl@0
|
9588 |
// the lengths of the two strings: KLine1 (used to set the initial
|
sl@0
|
9589 |
// length of the buffer) and KLine3 (used to change the text in the
|
sl@0
|
9590 |
// buffer
|
sl@0
|
9591 |
INFO_PRINTF1(_L(" Text overflow..."));
|
sl@0
|
9592 |
overFlow = bidiText->SetText(KLine3, runArray);
|
sl@0
|
9593 |
TEST(KExpectedDiff == overFlow);
|
sl@0
|
9594 |
TEST(KLine1.iTypeLength == bidiText->Text().Length());
|
sl@0
|
9595 |
TPtrC line3(KLine3);
|
sl@0
|
9596 |
TEST(!bidiText->Text().Compare(line3.Left(KLine1.iTypeLength)));
|
sl@0
|
9597 |
|
sl@0
|
9598 |
|
sl@0
|
9599 |
// If the Run Info Array is too small, the text will be truncated
|
sl@0
|
9600 |
// and the excess characters returned to the client application as
|
sl@0
|
9601 |
// a negative integer. (i.e. can be distinguished from simple
|
sl@0
|
9602 |
// truncation)
|
sl@0
|
9603 |
TBidiText* bidiText2 = TBidiText::NewL(512, 1);
|
sl@0
|
9604 |
CleanupStack::PushL(bidiText2);
|
sl@0
|
9605 |
|
sl@0
|
9606 |
// KManyRuns is too long for RRunArray
|
sl@0
|
9607 |
_LIT(KManyRuns, "1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a");
|
sl@0
|
9608 |
TInt excessChars = bidiText2->SetText(KManyRuns, runArray);
|
sl@0
|
9609 |
TEST (52 == excessChars);
|
sl@0
|
9610 |
|
sl@0
|
9611 |
|
sl@0
|
9612 |
// Tidy up
|
sl@0
|
9613 |
CleanupStack::PopAndDestroy(bidiText2);
|
sl@0
|
9614 |
CleanupStack::PopAndDestroy(bidiText);
|
sl@0
|
9615 |
runArray.Close();
|
sl@0
|
9616 |
}
|
sl@0
|
9617 |
|
sl@0
|
9618 |
|
sl@0
|
9619 |
/**
|
sl@0
|
9620 |
*
|
sl@0
|
9621 |
* @SYMTestCaseID GRAPHICS-SYSLIB-GDI-CT-0220
|
sl@0
|
9622 |
* @SYMTestCaseDesc Test the operation of TBidiText::MinimumSize()
|
sl@0
|
9623 |
* @SYMTestPriority low
|
sl@0
|
9624 |
* @SYMTestActions Step 1: Verify that MinimumSize() returns the correct
|
sl@0
|
9625 |
* size in pixels both with and without the aMaxLines
|
sl@0
|
9626 |
* parameter specified
|
sl@0
|
9627 |
* Step 2: Verify that MinimumSize() will panic if an invalid
|
sl@0
|
9628 |
* parameter is specified.
|
sl@0
|
9629 |
* @SYMTestExpectedResults The test must pass
|
sl@0
|
9630 |
* @SYMREQ APOS-69QD7N - Change TBidiText to make it useable and easier to port
|
sl@0
|
9631 |
* code to it
|
sl@0
|
9632 |
* @SYMDevelopedForRelease Mike
|
sl@0
|
9633 |
* @SYMTestType CT
|
sl@0
|
9634 |
*
|
sl@0
|
9635 |
*/
|
sl@0
|
9636 |
void CTBiDi::DoTestTBidiTextMinimumSizeL()
|
sl@0
|
9637 |
{
|
sl@0
|
9638 |
INFO_PRINTF1(_L("TBidiText::MinimumSize()..."));
|
sl@0
|
9639 |
|
sl@0
|
9640 |
|
sl@0
|
9641 |
CFont* testFont = new (ELeave) CTestFont;
|
sl@0
|
9642 |
CleanupStack::PushL(testFont);
|
sl@0
|
9643 |
|
sl@0
|
9644 |
|
sl@0
|
9645 |
// Create and populate the buffer that holds the test data
|
sl@0
|
9646 |
// for this test.
|
sl@0
|
9647 |
HBufC* oldTextBufPtr = HBufC::NewLC(KBufferSize);
|
sl@0
|
9648 |
TextIterator rIterator(KRightToLeftArabic, KRightToLeftArabicLength);
|
sl@0
|
9649 |
MLineBreaker breaker;
|
sl@0
|
9650 |
for (TInt i = 0; i < KBufferSize; ++i)
|
sl@0
|
9651 |
{
|
sl@0
|
9652 |
TUint s, e;
|
sl@0
|
9653 |
TText16 ch = rIterator.NextChar();
|
sl@0
|
9654 |
if (breaker.LineBreakClass(ch, s, e) == MLineBreaker::EAlLineBreakClass)
|
sl@0
|
9655 |
oldTextBufPtr->Des().Append(ch);
|
sl@0
|
9656 |
}
|
sl@0
|
9657 |
TPtr oldText(oldTextBufPtr->Des());
|
sl@0
|
9658 |
|
sl@0
|
9659 |
|
sl@0
|
9660 |
TBidiText* bidiText = TBidiText::NewL(oldText, 50);
|
sl@0
|
9661 |
CleanupStack::PushL(bidiText);
|
sl@0
|
9662 |
|
sl@0
|
9663 |
|
sl@0
|
9664 |
const TUint KWrapWidth = 400;
|
sl@0
|
9665 |
const TUint KLineGap = 2;
|
sl@0
|
9666 |
TSize result = bidiText->MinimumSize(KWrapWidth, *testFont, KLineGap);
|
sl@0
|
9667 |
|
sl@0
|
9668 |
|
sl@0
|
9669 |
// For a fixed width font where each character is 10 pixels wide, we
|
sl@0
|
9670 |
// should expect that we will have 40 characters per line for a wrapping
|
sl@0
|
9671 |
// width of 400.
|
sl@0
|
9672 |
const TUint KExpectedWidth = KWrapWidth;
|
sl@0
|
9673 |
const TUint KExpectedCharsPerLine = KWrapWidth/testFont->CharWidthInPixels('a');
|
sl@0
|
9674 |
const TUint KExpectedLines = (oldText.Length() + KExpectedCharsPerLine - 1)/KExpectedCharsPerLine;
|
sl@0
|
9675 |
const TUint KExpectedHeight = (testFont->HeightInPixels() + KLineGap) * KExpectedLines - KLineGap;
|
sl@0
|
9676 |
TEST(KExpectedWidth == result.iWidth);
|
sl@0
|
9677 |
TEST(KExpectedHeight == result.iHeight);
|
sl@0
|
9678 |
|
sl@0
|
9679 |
|
sl@0
|
9680 |
// Repeat the above, but this time specify the maximum number of lines
|
sl@0
|
9681 |
// we're interested in.
|
sl@0
|
9682 |
const TUint KMaxLines = 14;
|
sl@0
|
9683 |
result = bidiText->MinimumSize(KWrapWidth, *testFont, KLineGap, KMaxLines);
|
sl@0
|
9684 |
const TUint KExpectedHeight2 = (testFont->HeightInPixels() + KLineGap) * KMaxLines - KLineGap;;
|
sl@0
|
9685 |
TEST(KExpectedWidth == result.iWidth);
|
sl@0
|
9686 |
TEST(KExpectedHeight2 == result.iHeight);
|
sl@0
|
9687 |
|
sl@0
|
9688 |
|
sl@0
|
9689 |
CleanupStack::PopAndDestroy(bidiText);
|
sl@0
|
9690 |
CleanupStack::PopAndDestroy(oldTextBufPtr);
|
sl@0
|
9691 |
CleanupStack::PopAndDestroy(testFont);
|
sl@0
|
9692 |
}
|
sl@0
|
9693 |
|
sl@0
|
9694 |
|
sl@0
|
9695 |
/**
|
sl@0
|
9696 |
*
|
sl@0
|
9697 |
* Check that TBidiText will panic if MinimumSize is called
|
sl@0
|
9698 |
* with an invalid wrapping width
|
sl@0
|
9699 |
*
|
sl@0
|
9700 |
* Note: This function will generate a panic and should therefore
|
sl@0
|
9701 |
* be called from within a separate worker thread.
|
sl@0
|
9702 |
*
|
sl@0
|
9703 |
*/
|
sl@0
|
9704 |
TInt CTBiDi::DoTestPanicMinimumSizeWidth()
|
sl@0
|
9705 |
{
|
sl@0
|
9706 |
CFont* testFont = new (ELeave) CTestFont;
|
sl@0
|
9707 |
CleanupStack::PushL(testFont);
|
sl@0
|
9708 |
|
sl@0
|
9709 |
_LIT(KDummyText, "Hello World");
|
sl@0
|
9710 |
const TInt KMaxLines = 50;
|
sl@0
|
9711 |
TBidiText* bidiText = TBidiText::NewL(KDummyText, KMaxLines);
|
sl@0
|
9712 |
CleanupStack::PushL(bidiText);
|
sl@0
|
9713 |
|
sl@0
|
9714 |
|
sl@0
|
9715 |
RRunInfoArray runArray;
|
sl@0
|
9716 |
runArray.OpenL();
|
sl@0
|
9717 |
|
sl@0
|
9718 |
|
sl@0
|
9719 |
// Should panic - KWrappingWidth is negative
|
sl@0
|
9720 |
const TInt KWrappingWidth = -1;
|
sl@0
|
9721 |
const TUint KLineGap = 1;
|
sl@0
|
9722 |
bidiText->MinimumSize(KWrappingWidth, *testFont, KLineGap);
|
sl@0
|
9723 |
|
sl@0
|
9724 |
|
sl@0
|
9725 |
CleanupStack::PopAndDestroy(bidiText);
|
sl@0
|
9726 |
CleanupStack::PopAndDestroy(testFont);
|
sl@0
|
9727 |
|
sl@0
|
9728 |
|
sl@0
|
9729 |
return KErrNone;
|
sl@0
|
9730 |
}
|
sl@0
|
9731 |
|
sl@0
|
9732 |
|
sl@0
|
9733 |
/**
|
sl@0
|
9734 |
*
|
sl@0
|
9735 |
* Entry point for the DoTestPanicMinimumSizeWidth test's worker
|
sl@0
|
9736 |
* thread
|
sl@0
|
9737 |
*
|
sl@0
|
9738 |
* Provides cleanup stack for the test function
|
sl@0
|
9739 |
*
|
sl@0
|
9740 |
*/
|
sl@0
|
9741 |
static TInt TestPanicMinimumSizeWidth(TAny* aData)
|
sl@0
|
9742 |
{
|
sl@0
|
9743 |
CTBiDi* theTest = static_cast<CTBiDi*> (aData);
|
sl@0
|
9744 |
CTrapCleanup* trap = CTrapCleanup::New();
|
sl@0
|
9745 |
if (!trap)
|
sl@0
|
9746 |
return KErrNoMemory;
|
sl@0
|
9747 |
|
sl@0
|
9748 |
TInt result = KErrNone;
|
sl@0
|
9749 |
TRAP_IGNORE(result = theTest->DoTestPanicMinimumSizeWidth());
|
sl@0
|
9750 |
|
sl@0
|
9751 |
delete trap;
|
sl@0
|
9752 |
return result;
|
sl@0
|
9753 |
}
|
sl@0
|
9754 |
|
sl@0
|
9755 |
|
sl@0
|
9756 |
/**
|
sl@0
|
9757 |
*
|
sl@0
|
9758 |
* Check that TBidiText will panic if MinimumSize is called
|
sl@0
|
9759 |
* with an invalid line gap
|
sl@0
|
9760 |
*
|
sl@0
|
9761 |
* Note: This function will generate a panic and should therefore
|
sl@0
|
9762 |
* be called from within a separate worker thread.
|
sl@0
|
9763 |
*
|
sl@0
|
9764 |
*/
|
sl@0
|
9765 |
TInt CTBiDi::DoTestPanicMinimumSizeLineGap()
|
sl@0
|
9766 |
{
|
sl@0
|
9767 |
CFont* testFont = new (ELeave) CTestFont;
|
sl@0
|
9768 |
CleanupStack::PushL(testFont);
|
sl@0
|
9769 |
|
sl@0
|
9770 |
_LIT(KDummyText, "Hello World");
|
sl@0
|
9771 |
const TInt KMaxLines = 50;
|
sl@0
|
9772 |
TBidiText* bidiText = TBidiText::NewL(KDummyText, KMaxLines);
|
sl@0
|
9773 |
CleanupStack::PushL(bidiText);
|
sl@0
|
9774 |
|
sl@0
|
9775 |
|
sl@0
|
9776 |
RRunInfoArray runArray;
|
sl@0
|
9777 |
runArray.OpenL();
|
sl@0
|
9778 |
|
sl@0
|
9779 |
|
sl@0
|
9780 |
// Should panic - KLineGap is negative
|
sl@0
|
9781 |
const TUint KWrappingWidth = 400;
|
sl@0
|
9782 |
const TInt KLineGap = -1;
|
sl@0
|
9783 |
bidiText->MinimumSize(KWrappingWidth, *testFont, KLineGap);
|
sl@0
|
9784 |
|
sl@0
|
9785 |
|
sl@0
|
9786 |
CleanupStack::PopAndDestroy(bidiText);
|
sl@0
|
9787 |
CleanupStack::PopAndDestroy(testFont);
|
sl@0
|
9788 |
|
sl@0
|
9789 |
|
sl@0
|
9790 |
return KErrNone;
|
sl@0
|
9791 |
}
|
sl@0
|
9792 |
|
sl@0
|
9793 |
|
sl@0
|
9794 |
/**
|
sl@0
|
9795 |
*
|
sl@0
|
9796 |
* Entry point for the DoTestPanicMinimumSizeLineGap test's worker
|
sl@0
|
9797 |
* thread
|
sl@0
|
9798 |
*
|
sl@0
|
9799 |
* Provides cleanup stack for the test function
|
sl@0
|
9800 |
*
|
sl@0
|
9801 |
*/
|
sl@0
|
9802 |
static TInt TestPanicMinimumSizeLineGap(TAny* aData)
|
sl@0
|
9803 |
{
|
sl@0
|
9804 |
CTBiDi* theTest = static_cast <CTBiDi*> (aData);
|
sl@0
|
9805 |
CTrapCleanup* trap = CTrapCleanup::New();
|
sl@0
|
9806 |
if (!trap)
|
sl@0
|
9807 |
return KErrNoMemory;
|
sl@0
|
9808 |
|
sl@0
|
9809 |
TInt result = KErrNone;;
|
sl@0
|
9810 |
TRAP_IGNORE(result = theTest->DoTestPanicMinimumSizeLineGap());
|
sl@0
|
9811 |
|
sl@0
|
9812 |
delete trap;
|
sl@0
|
9813 |
return result;
|
sl@0
|
9814 |
}
|
sl@0
|
9815 |
|
sl@0
|
9816 |
|
sl@0
|
9817 |
/**
|
sl@0
|
9818 |
*
|
sl@0
|
9819 |
* Check that TBidiText will panic if MinimumSize is called
|
sl@0
|
9820 |
* with an invalid maximum number of lines
|
sl@0
|
9821 |
*
|
sl@0
|
9822 |
* Note: This function will generate a panic and should therefore
|
sl@0
|
9823 |
* be called from within a separate worker thread.
|
sl@0
|
9824 |
*
|
sl@0
|
9825 |
*/
|
sl@0
|
9826 |
TInt CTBiDi::DoTestPanicMinimumSizeMaxLines()
|
sl@0
|
9827 |
{
|
sl@0
|
9828 |
CFont* testFont = new (ELeave) CTestFont;
|
sl@0
|
9829 |
CleanupStack::PushL(testFont);
|
sl@0
|
9830 |
|
sl@0
|
9831 |
_LIT(KDummyText, "Hello World");
|
sl@0
|
9832 |
TBidiText* bidiText = TBidiText::NewL(KDummyText, 50);
|
sl@0
|
9833 |
CleanupStack::PushL(bidiText);
|
sl@0
|
9834 |
|
sl@0
|
9835 |
|
sl@0
|
9836 |
RRunInfoArray runArray;
|
sl@0
|
9837 |
runArray.OpenL();
|
sl@0
|
9838 |
|
sl@0
|
9839 |
|
sl@0
|
9840 |
// Should panic - KMaxLines is invalid
|
sl@0
|
9841 |
const TUint KWrappingWidth = 400;
|
sl@0
|
9842 |
const TUint KLineGap = 1;
|
sl@0
|
9843 |
const TInt KMaxLines = -2;
|
sl@0
|
9844 |
bidiText->MinimumSize(KWrappingWidth, *testFont, KLineGap, KMaxLines);
|
sl@0
|
9845 |
|
sl@0
|
9846 |
|
sl@0
|
9847 |
CleanupStack::PopAndDestroy(bidiText);
|
sl@0
|
9848 |
CleanupStack::PopAndDestroy(testFont);
|
sl@0
|
9849 |
|
sl@0
|
9850 |
|
sl@0
|
9851 |
return KErrNone;
|
sl@0
|
9852 |
}
|
sl@0
|
9853 |
|
sl@0
|
9854 |
|
sl@0
|
9855 |
/**
|
sl@0
|
9856 |
*
|
sl@0
|
9857 |
* Entry point for the DoTestPanicMinimumSizeMaxLines test's worker
|
sl@0
|
9858 |
* thread
|
sl@0
|
9859 |
*
|
sl@0
|
9860 |
* Provides cleanup stack for the test function
|
sl@0
|
9861 |
*
|
sl@0
|
9862 |
*/
|
sl@0
|
9863 |
static TInt TestPanicMinimumSizeMaxLines(TAny* aData)
|
sl@0
|
9864 |
{
|
sl@0
|
9865 |
CTBiDi* theTest = static_cast <CTBiDi*> (aData);
|
sl@0
|
9866 |
CTrapCleanup* trap = CTrapCleanup::New();
|
sl@0
|
9867 |
if (!trap)
|
sl@0
|
9868 |
return KErrNoMemory;
|
sl@0
|
9869 |
|
sl@0
|
9870 |
TInt result = KErrNone;;
|
sl@0
|
9871 |
TRAP_IGNORE(result = theTest->DoTestPanicMinimumSizeMaxLines());
|
sl@0
|
9872 |
|
sl@0
|
9873 |
delete trap;
|
sl@0
|
9874 |
return result;
|
sl@0
|
9875 |
}
|
sl@0
|
9876 |
|
sl@0
|
9877 |
|
sl@0
|
9878 |
/**
|
sl@0
|
9879 |
*
|
sl@0
|
9880 |
* Check that TBidiText will panic if LineOfDisplayText is called
|
sl@0
|
9881 |
* with an invalid number of lines.
|
sl@0
|
9882 |
*
|
sl@0
|
9883 |
* Note: This function will generate a panic and should therefore
|
sl@0
|
9884 |
* be called from within a separate worker thread.
|
sl@0
|
9885 |
*
|
sl@0
|
9886 |
*/
|
sl@0
|
9887 |
TInt CTBiDi::DoTestPanicMinimumNumberOfLinesL()
|
sl@0
|
9888 |
{
|
sl@0
|
9889 |
CFont* testFont = new (ELeave) CTestFont;
|
sl@0
|
9890 |
CleanupStack::PushL(testFont);
|
sl@0
|
9891 |
|
sl@0
|
9892 |
_LIT(KDummyText, "Hello World");
|
sl@0
|
9893 |
TBidiText* bidiText = TBidiText::NewL(KDummyText, 50);
|
sl@0
|
9894 |
CleanupStack::PushL(bidiText);
|
sl@0
|
9895 |
|
sl@0
|
9896 |
TInt width = 400;
|
sl@0
|
9897 |
bidiText->LineOfDisplayText(-2, width);
|
sl@0
|
9898 |
|
sl@0
|
9899 |
CleanupStack::PopAndDestroy(2,testFont);
|
sl@0
|
9900 |
|
sl@0
|
9901 |
return KErrNone;
|
sl@0
|
9902 |
}
|
sl@0
|
9903 |
/**
|
sl@0
|
9904 |
*
|
sl@0
|
9905 |
* Entry point for the DoTestPanicMinimumNumberOfLinesL test's worker
|
sl@0
|
9906 |
* thread
|
sl@0
|
9907 |
*
|
sl@0
|
9908 |
* Provides cleanup stack for the test function
|
sl@0
|
9909 |
*
|
sl@0
|
9910 |
*/
|
sl@0
|
9911 |
static TInt TestPanicMinimumNumberOfLines(TAny* aData)
|
sl@0
|
9912 |
{
|
sl@0
|
9913 |
CTBiDi* theTest = static_cast <CTBiDi*> (aData);
|
sl@0
|
9914 |
CTrapCleanup* trap = CTrapCleanup::New();
|
sl@0
|
9915 |
if (!trap)
|
sl@0
|
9916 |
{
|
sl@0
|
9917 |
return KErrNoMemory;
|
sl@0
|
9918 |
}
|
sl@0
|
9919 |
TRAP_IGNORE(theTest->DoTestPanicMinimumNumberOfLinesL());
|
sl@0
|
9920 |
|
sl@0
|
9921 |
delete trap;
|
sl@0
|
9922 |
return KErrNone;
|
sl@0
|
9923 |
}
|
sl@0
|
9924 |
|
sl@0
|
9925 |
/**
|
sl@0
|
9926 |
*
|
sl@0
|
9927 |
* Test that TBidiText::MinimumSize() will panic in the following
|
sl@0
|
9928 |
* circumstances:
|
sl@0
|
9929 |
*
|
sl@0
|
9930 |
* o Wrapping width is invalid (i.e. <= 0)
|
sl@0
|
9931 |
* o Line gap is invalid (i.e. < 0)
|
sl@0
|
9932 |
* o Max. lines is invalid (i.e. < -1)
|
sl@0
|
9933 |
*
|
sl@0
|
9934 |
*/
|
sl@0
|
9935 |
void CTBiDi::DoTestTBidiTextMinimumSizePanics()
|
sl@0
|
9936 |
{
|
sl@0
|
9937 |
INFO_PRINTF1(_L(" Invalid wrapping width (will panic!)"));
|
sl@0
|
9938 |
TEST(EBidiPanic_InvalidWrappingWidth == TestPanic(TestPanicMinimumSizeWidth));
|
sl@0
|
9939 |
|
sl@0
|
9940 |
INFO_PRINTF1(_L(" Invalid line gap (will panic!)"));
|
sl@0
|
9941 |
TEST(EBidiPanic_InvalidLineGap == TestPanic(TestPanicMinimumSizeLineGap));
|
sl@0
|
9942 |
|
sl@0
|
9943 |
INFO_PRINTF1(_L(" Invalid max lines (will panic!)"));
|
sl@0
|
9944 |
TEST(EBidiPanic_InvalidMaxline == TestPanic(TestPanicMinimumSizeMaxLines));
|
sl@0
|
9945 |
|
sl@0
|
9946 |
INFO_PRINTF1(_L(" Invalid minimum number of lines (will panic!)"));
|
sl@0
|
9947 |
TEST(EBidiPanic_InvalidVisualOrderedTextLength == TestPanic(TestPanicMinimumNumberOfLines));
|
sl@0
|
9948 |
}
|
sl@0
|
9949 |
|
sl@0
|
9950 |
|
sl@0
|
9951 |
/**
|
sl@0
|
9952 |
@SYMTestCaseID GRAPHICS-GDI-BiDi-0009
|
sl@0
|
9953 |
|
sl@0
|
9954 |
@SYMDEF Change Request APOS-69QD7N
|
sl@0
|
9955 |
|
sl@0
|
9956 |
@SYMTestCaseDesc Test TBidirectionalState functionality (Unicode Bidirectional Algorithm impmentation withing SymbianOS)
|
sl@0
|
9957 |
|
sl@0
|
9958 |
@SYMTestPriority High
|
sl@0
|
9959 |
|
sl@0
|
9960 |
@SYMTestStatus Implemented
|
sl@0
|
9961 |
|
sl@0
|
9962 |
@SYMTestActions Test detection of 'overall' directionality of a given language/script
|
sl@0
|
9963 |
|
sl@0
|
9964 |
@SYMTestExpectedResults Confirmation the implementation conforms to the Unicode Birdirection Algorithm standard
|
sl@0
|
9965 |
*/
|
sl@0
|
9966 |
void CTBiDi::TestCrApos69qd7nL()
|
sl@0
|
9967 |
{
|
sl@0
|
9968 |
INFO_PRINTF1(_L("CR APOS-69QD7N - TBidiText"));
|
sl@0
|
9969 |
((CTBiDiStep*)iStep)->SetTestStepID(_L("GRAPHICS-SYSLIB-GDI-CT-0217"));
|
sl@0
|
9970 |
DoTestRRunInfoArrayInternalsL();
|
sl@0
|
9971 |
((CTBiDiStep*)iStep)->RecordTestResultL();
|
sl@0
|
9972 |
((CTBiDiStep*)iStep)->SetTestStepID(_L("GRAPHICS-SYSLIB-GDI-CT-0218"));
|
sl@0
|
9973 |
DoTestTBidiTextNewL();
|
sl@0
|
9974 |
((CTBiDiStep*)iStep)->RecordTestResultL();
|
sl@0
|
9975 |
((CTBiDiStep*)iStep)->SetTestStepID(_L("GRAPHICS-SYSLIB-GDI-CT-0219"));
|
sl@0
|
9976 |
DoTestTBidiTextSetTextL();
|
sl@0
|
9977 |
((CTBiDiStep*)iStep)->RecordTestResultL();
|
sl@0
|
9978 |
((CTBiDiStep*)iStep)->SetTestStepID(_L("GRAPHICS-SYSLIB-GDI-CT-0220"));
|
sl@0
|
9979 |
DoTestTBidiTextMinimumSizeL();
|
sl@0
|
9980 |
((CTBiDiStep*)iStep)->RecordTestResultL();
|
sl@0
|
9981 |
((CTBiDiStep*)iStep)->SetTestStepID(_L("GRAPHICS-GDI-BiDi-0009"));
|
sl@0
|
9982 |
DoTestTBidiTextMinimumSizePanics();
|
sl@0
|
9983 |
}
|
sl@0
|
9984 |
|
sl@0
|
9985 |
/**
|
sl@0
|
9986 |
*
|
sl@0
|
9987 |
* Test for English Strings inserted into Arabic text with brackets interspersed.
|
sl@0
|
9988 |
*
|
sl@0
|
9989 |
*/
|
sl@0
|
9990 |
|
sl@0
|
9991 |
void CTBiDi::INC086135TestL()
|
sl@0
|
9992 |
{
|
sl@0
|
9993 |
// originalText: "<ALEF><LAM> ([h]o{m}e(r)):"
|
sl@0
|
9994 |
const TText* originalText = _S("\x627\x644 ([h]o{m}e(r)):");
|
sl@0
|
9995 |
// expected text: ":((h]o{m}e(r]) <LAM><ALEF>
|
sl@0
|
9996 |
const TText* expectedText = _S(":((h]o{m}e(r]) \x644\x627");
|
sl@0
|
9997 |
|
sl@0
|
9998 |
TPtrC ptrOriginal(originalText);
|
sl@0
|
9999 |
TPtrC ptrExpected(expectedText);
|
sl@0
|
10000 |
|
sl@0
|
10001 |
// Construct the bidirectional text
|
sl@0
|
10002 |
TBidiText* bidiText = TBidiText::NewL(ptrOriginal, 16);
|
sl@0
|
10003 |
CleanupStack::PushL(bidiText);
|
sl@0
|
10004 |
|
sl@0
|
10005 |
// Call wrap text to prepare the text
|
sl@0
|
10006 |
CFont* testFont = new(ELeave) CTestFont;
|
sl@0
|
10007 |
CleanupStack::PushL(testFont);
|
sl@0
|
10008 |
const TInt KLineLength = 192;
|
sl@0
|
10009 |
const TInt KNumLines = 1;
|
sl@0
|
10010 |
bidiText->WrapText(KLineLength , *testFont, NULL, KNumLines);
|
sl@0
|
10011 |
|
sl@0
|
10012 |
// Return the text that would be displayed
|
sl@0
|
10013 |
TPtrC displayText = bidiText->DisplayText();
|
sl@0
|
10014 |
|
sl@0
|
10015 |
// Check the result
|
sl@0
|
10016 |
if(displayText.Compare(ptrExpected) != 0)
|
sl@0
|
10017 |
{
|
sl@0
|
10018 |
INFO_PRINTF1(_L("INC086135Test Failed\r\n"));
|
sl@0
|
10019 |
PrintTestData(_L("Result "), displayText);
|
sl@0
|
10020 |
PrintTestData(_L("Expected "), ptrExpected);
|
sl@0
|
10021 |
TEST(EFalse);
|
sl@0
|
10022 |
}
|
sl@0
|
10023 |
else
|
sl@0
|
10024 |
{
|
sl@0
|
10025 |
INFO_PRINTF1(_L("INC086135Test Passed\r\n"));
|
sl@0
|
10026 |
}
|
sl@0
|
10027 |
CleanupStack::PopAndDestroy(2, bidiText);
|
sl@0
|
10028 |
}
|
sl@0
|
10029 |
|
sl@0
|
10030 |
|
sl@0
|
10031 |
CTBiDi::CTBiDi(CTestStep* aStep) :
|
sl@0
|
10032 |
CTGraphicsBase(aStep)
|
sl@0
|
10033 |
{
|
sl@0
|
10034 |
iTestThreadCounter = 0;
|
sl@0
|
10035 |
INFO_PRINTF1(_L("TBidirectionalState::ReorderText"));
|
sl@0
|
10036 |
}
|
sl@0
|
10037 |
|
sl@0
|
10038 |
|
sl@0
|
10039 |
void CTBiDi::RunTestCaseL(TInt aCurTestCase)
|
sl@0
|
10040 |
{
|
sl@0
|
10041 |
((CTBiDiStep*)iStep)->SetTestStepID(KUnknownSYMTestCaseIDName);
|
sl@0
|
10042 |
switch(aCurTestCase)
|
sl@0
|
10043 |
{
|
sl@0
|
10044 |
case 1:
|
sl@0
|
10045 |
((CTBiDiStep*)iStep)->SetTestStepID(_L("GRAPHICS-GDI-BiDi-0001"));
|
sl@0
|
10046 |
TRAPD(err, TestTBidirectionalStateInternalsL());
|
sl@0
|
10047 |
TEST(err == KErrNone);
|
sl@0
|
10048 |
break;
|
sl@0
|
10049 |
case 2:
|
sl@0
|
10050 |
/**
|
sl@0
|
10051 |
@SYMTestCaseID GRAPHICS-GDI-BiDi-0002
|
sl@0
|
10052 |
*/
|
sl@0
|
10053 |
((CTBiDiStep*)iStep)->SetTestStepID(_L("GRAPHICS-GDI-BiDi-0002"));
|
sl@0
|
10054 |
TRAP(err, TestTBidirectionalState::TestAPIL(this));
|
sl@0
|
10055 |
TEST(err == KErrNone);
|
sl@0
|
10056 |
break;
|
sl@0
|
10057 |
case 3:
|
sl@0
|
10058 |
((CTBiDiStep*)iStep)->SetTestStepID(_L("GRAPHICS-GDI-BiDi-0003"));
|
sl@0
|
10059 |
TRAP(err, TestTBidirectionalState::TestReorderTextL(this));
|
sl@0
|
10060 |
TEST(err == KErrNone);
|
sl@0
|
10061 |
break;
|
sl@0
|
10062 |
case 4:
|
sl@0
|
10063 |
((CTBiDiStep*)iStep)->SetTestStepID(_L("GRAPHICS-GDI-BiDi-0004"));
|
sl@0
|
10064 |
TRAP(err, TestReorderTextL());
|
sl@0
|
10065 |
TEST(err == KErrNone);
|
sl@0
|
10066 |
break;
|
sl@0
|
10067 |
case 5:
|
sl@0
|
10068 |
((CTBiDiStep*)iStep)->SetTestStepID(_L("GRAPHICS-GDI-BiDi-0005"));
|
sl@0
|
10069 |
TRAP(err, TUnicodeExampleTestL());
|
sl@0
|
10070 |
TEST(err == KErrNone);
|
sl@0
|
10071 |
break;
|
sl@0
|
10072 |
case 6:
|
sl@0
|
10073 |
((CTBiDiStep*)iStep)->SetTestStepID(_L("GRAPHICS-GDI-BiDi-0006"));
|
sl@0
|
10074 |
INFO_PRINTF1(_L("Script directionality"));
|
sl@0
|
10075 |
TestScriptDirectionality();
|
sl@0
|
10076 |
break;
|
sl@0
|
10077 |
case 7:
|
sl@0
|
10078 |
{
|
sl@0
|
10079 |
((CTBiDiStep*)iStep)->SetTestStepID(_L("GRAPHICS-GDI-BiDi-0007"));
|
sl@0
|
10080 |
INFO_PRINTF1(_L("TBidiText"));
|
sl@0
|
10081 |
TRAPD(err, TestBidiTextClassL());
|
sl@0
|
10082 |
TEST(err == KErrNone);
|
sl@0
|
10083 |
}
|
sl@0
|
10084 |
break;
|
sl@0
|
10085 |
case 8:
|
sl@0
|
10086 |
{
|
sl@0
|
10087 |
((CTBiDiStep*)iStep)->SetTestStepID(_L("GRAPHICS-GDI-BiDi-0008"));
|
sl@0
|
10088 |
INFO_PRINTF1(_L("TBidiLogicalToVisual"));
|
sl@0
|
10089 |
TRAPD(err, TestBidiLogicalToVisualClassL());
|
sl@0
|
10090 |
TEST(err == KErrNone);
|
sl@0
|
10091 |
}
|
sl@0
|
10092 |
break;
|
sl@0
|
10093 |
case 9:
|
sl@0
|
10094 |
{
|
sl@0
|
10095 |
__UHEAP_MARK;
|
sl@0
|
10096 |
((CTBiDiStep*)iStep)->SetTestStepID(_L("GRAPHICS-GDI-BiDi-0009"));
|
sl@0
|
10097 |
TRAPD(err, TestCrApos69qd7nL());
|
sl@0
|
10098 |
TEST(err == KErrNone);
|
sl@0
|
10099 |
((CTBiDiStep*)iStep)->CloseTMSGraphicsStep();
|
sl@0
|
10100 |
__UHEAP_MARKEND;
|
sl@0
|
10101 |
}
|
sl@0
|
10102 |
break;
|
sl@0
|
10103 |
case 10:
|
sl@0
|
10104 |
{
|
sl@0
|
10105 |
/**
|
sl@0
|
10106 |
@SYMTestCaseID GRAPHICS-GDI-BiDi-0010
|
sl@0
|
10107 |
*/
|
sl@0
|
10108 |
((CTBiDiStep*)iStep)->SetTestStepID(_L("GRAPHICS-GDI-BiDi-0010"));
|
sl@0
|
10109 |
INFO_PRINTF1(_L("INC086135Test"));
|
sl@0
|
10110 |
TRAPD(err, INC086135TestL());
|
sl@0
|
10111 |
TEST(err == KErrNone);
|
sl@0
|
10112 |
break;
|
sl@0
|
10113 |
}
|
sl@0
|
10114 |
case 11:
|
sl@0
|
10115 |
((CTBiDiStep*)iStep)->SetTestStepID(KNotATestSYMTestCaseIDName);
|
sl@0
|
10116 |
((CTBiDiStep*)iStep)->CloseTMSGraphicsStep();
|
sl@0
|
10117 |
TestComplete();
|
sl@0
|
10118 |
break;
|
sl@0
|
10119 |
}
|
sl@0
|
10120 |
((CTBiDiStep*)iStep)->RecordTestResultL();
|
sl@0
|
10121 |
}
|
sl@0
|
10122 |
|
sl@0
|
10123 |
//--------------
|
sl@0
|
10124 |
__CONSTRUCT_STEP__(BiDi)
|