diff -r 000000000000 -r bde4ae8d615e os/textandloc/fontservices/textshaperplugin/IcuSource/layout/CanonShaping.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/os/textandloc/fontservices/textshaperplugin/IcuSource/layout/CanonShaping.h Fri Jun 15 03:10:57 2012 +0200 @@ -0,0 +1,30 @@ +/* + * + * (C) Copyright IBM Corp. 1998-2005 - All Rights Reserved + * + */ + +#ifndef __CANONSHAPING_H +#define __CANONSHAPING_H + +#include "LETypes.h" + +U_NAMESPACE_BEGIN + +class LEGlyphStorage; + +class CanonShaping /* not : public UObject because all members are static */ +{ +public: + static const le_uint8 glyphSubstitutionTable[]; + static const le_uint8 glyphDefinitionTable[]; + + 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); +}; + +U_NAMESPACE_END +#endif