equal
deleted
inserted
replaced
|
1 /* |
|
2 ******************************************************************************* |
|
3 * |
|
4 * Copyright (C) 1999-2003, International Business Machines |
|
5 * Corporation and others. All Rights Reserved. |
|
6 * |
|
7 ******************************************************************************* |
|
8 * file name: letest.h |
|
9 * |
|
10 * created on: 11/06/2000 |
|
11 * created by: Eric R. Mader |
|
12 */ |
|
13 |
|
14 #include "LETypes.h" |
|
15 |
|
16 #define ARRAY_LENGTH(array) (sizeof array / sizeof array[0]) |
|
17 |
|
18 struct TestInput |
|
19 { |
|
20 char *fontName; |
|
21 LEUnicode *text; |
|
22 le_int32 textLength; |
|
23 le_int32 scriptCode; |
|
24 le_bool rightToLeft; |
|
25 }; |
|
26 |
|
27 extern le_int32 testCount; |
|
28 |
|
29 extern TestInput testInputs[]; |
|
30 |
|
31 struct TestResult |
|
32 { |
|
33 le_int32 glyphCount; |
|
34 LEGlyphID *glyphs; |
|
35 le_int32 *indices; |
|
36 float *positions; |
|
37 }; |
|
38 |
|
39 extern TestResult testResults[]; |
|
40 |
|
41 int main_entry(); |
|
42 |
|
43 |