a5bf589acd
EUnicodeScript X-SVN-Rev: 6201
43 lines
813 B
C
43 lines
813 B
C
/*
|
|
*******************************************************************************
|
|
*
|
|
* Copyright (C) 1999-2000, International Business Machines
|
|
* Corporation and others. All Rights Reserved.
|
|
*
|
|
*******************************************************************************
|
|
* file name: letest.h
|
|
*
|
|
* created on: 11/06/2000
|
|
* created by: Eric R. Mader
|
|
*/
|
|
|
|
#include "unicode/utypes.h"
|
|
#include "unicode/uscript.h"
|
|
|
|
#define ARRAY_LENGTH(array) (sizeof array / sizeof array[0])
|
|
|
|
struct TestInput
|
|
{
|
|
char *fontName;
|
|
UChar *text;
|
|
int32_t textLength;
|
|
UScriptCode scriptCode;
|
|
UBool rightToLeft;
|
|
};
|
|
|
|
extern int32_t testCount;
|
|
|
|
extern TestInput testInputs[];
|
|
|
|
struct TestResult
|
|
{
|
|
int32_t glyphCount;
|
|
uint16_t *glyphs;
|
|
int32_t *indices;
|
|
float *positions;
|
|
};
|
|
|
|
extern TestResult testResults[];
|
|
|
|
|