sl@0: /* sl@0: ******************************************************************************* sl@0: * sl@0: * Copyright (C) 1999-2003, International Business Machines sl@0: * Corporation and others. All Rights Reserved. sl@0: * sl@0: ******************************************************************************* sl@0: * file name: letest.h sl@0: * sl@0: * created on: 11/06/2000 sl@0: * created by: Eric R. Mader sl@0: */ sl@0: sl@0: #include "LETypes.h" sl@0: sl@0: #define ARRAY_LENGTH(array) (sizeof array / sizeof array[0]) sl@0: sl@0: struct TestInput sl@0: { sl@0: char *fontName; sl@0: LEUnicode *text; sl@0: le_int32 textLength; sl@0: le_int32 scriptCode; sl@0: le_bool rightToLeft; sl@0: }; sl@0: sl@0: extern le_int32 testCount; sl@0: sl@0: extern TestInput testInputs[]; sl@0: sl@0: struct TestResult sl@0: { sl@0: le_int32 glyphCount; sl@0: LEGlyphID *glyphs; sl@0: le_int32 *indices; sl@0: float *positions; sl@0: }; sl@0: sl@0: extern TestResult testResults[]; sl@0: sl@0: int main_entry(); sl@0: sl@0: