2004-05-03 21:13:13 +00:00
|
|
|
/*
|
|
|
|
*
|
2005-02-24 00:55:30 +00:00
|
|
|
* (C) Copyright IBM Corp. 1998-2005 - All Rights Reserved
|
2004-05-03 21:13:13 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __CANONSHAPING_H
|
|
|
|
#define __CANONSHAPING_H
|
|
|
|
|
|
|
|
#include "LETypes.h"
|
|
|
|
|
|
|
|
U_NAMESPACE_BEGIN
|
|
|
|
|
2005-02-24 00:55:30 +00:00
|
|
|
class LEGlyphStorage;
|
|
|
|
|
2004-05-03 21:13:13 +00:00
|
|
|
class CanonShaping /* not : public UObject because all members are static */
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
static const le_uint8 glyphSubstitutionTable[];
|
2004-08-19 23:51:11 +00:00
|
|
|
static const le_uint8 glyphDefinitionTable[];
|
2005-02-24 00:55:30 +00:00
|
|
|
|
|
|
|
static void reorderMarks(const LEUnicode *inChars, le_int32 charCount, le_bool rightToLeft,
|
|
|
|
LEUnicode *outChars, LEGlyphStorage &glyphStorage);
|
|
|
|
|
|
|
|
private:
|
|
|
|
static void sortMarks(le_int32 *indices, const le_int32 *combiningClasses, le_int32 index, le_int32 limit);
|
2004-05-03 21:13:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
U_NAMESPACE_END
|
|
|
|
#endif
|