os/textandloc/fontservices/textshaperplugin/IcuSource/layout/CanonShaping.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
sl@0
     1
/*
sl@0
     2
 *
sl@0
     3
 * (C) Copyright IBM Corp. 1998-2005 - All Rights Reserved
sl@0
     4
 *
sl@0
     5
 */
sl@0
     6
sl@0
     7
#ifndef __CANONSHAPING_H
sl@0
     8
#define __CANONSHAPING_H
sl@0
     9
sl@0
    10
#include "LETypes.h"
sl@0
    11
sl@0
    12
U_NAMESPACE_BEGIN
sl@0
    13
sl@0
    14
class LEGlyphStorage;
sl@0
    15
sl@0
    16
class CanonShaping /* not : public UObject because all members are static */
sl@0
    17
{
sl@0
    18
public:
sl@0
    19
    static const le_uint8 glyphSubstitutionTable[];
sl@0
    20
    static const le_uint8 glyphDefinitionTable[];
sl@0
    21
sl@0
    22
    static void reorderMarks(const LEUnicode *inChars, le_int32 charCount, le_bool rightToLeft,
sl@0
    23
                                   LEUnicode *outChars, LEGlyphStorage &glyphStorage);
sl@0
    24
sl@0
    25
private:
sl@0
    26
    static void sortMarks(le_int32 *indices, const le_int32 *combiningClasses, le_int32 index, le_int32 limit);
sl@0
    27
};
sl@0
    28
sl@0
    29
U_NAMESPACE_END
sl@0
    30
#endif