2001-10-03 21:48:10 +00:00
|
|
|
/*
|
|
|
|
*******************************************************************************
|
|
|
|
*
|
2003-06-03 20:58:22 +00:00
|
|
|
* Copyright (C) 1999-2003, International Business Machines
|
2001-10-03 21:48:10 +00:00
|
|
|
* Corporation and others. All Rights Reserved.
|
|
|
|
*
|
|
|
|
*******************************************************************************
|
|
|
|
* file name: letest.h
|
|
|
|
*
|
|
|
|
* created on: 11/06/2000
|
|
|
|
* created by: Eric R. Mader
|
|
|
|
*/
|
|
|
|
|
2003-02-05 00:12:26 +00:00
|
|
|
#include "LETypes.h"
|
2001-10-03 21:48:10 +00:00
|
|
|
|
|
|
|
#define ARRAY_LENGTH(array) (sizeof array / sizeof array[0])
|
|
|
|
|
|
|
|
struct TestInput
|
|
|
|
{
|
2003-02-05 00:12:26 +00:00
|
|
|
char *fontName;
|
|
|
|
LEUnicode *text;
|
|
|
|
le_int32 textLength;
|
|
|
|
le_int32 scriptCode;
|
|
|
|
le_bool rightToLeft;
|
2001-10-03 21:48:10 +00:00
|
|
|
};
|
|
|
|
|
2003-02-05 00:12:26 +00:00
|
|
|
extern le_int32 testCount;
|
2001-10-03 21:48:10 +00:00
|
|
|
|
|
|
|
extern TestInput testInputs[];
|
|
|
|
|
|
|
|
struct TestResult
|
|
|
|
{
|
2003-02-05 00:12:26 +00:00
|
|
|
le_int32 glyphCount;
|
|
|
|
LEGlyphID *glyphs;
|
|
|
|
le_int32 *indices;
|
|
|
|
float *positions;
|
2001-10-03 21:48:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
extern TestResult testResults[];
|
|
|
|
|
|
|
|
|