fontservices/textshaperplugin/IcuSource/layout/MultipleSubstSubtables.h
changeset 0 1fb32624e06b
equal deleted inserted replaced
-1:000000000000 0:1fb32624e06b
       
     1 /*
       
     2  *
       
     3  * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved
       
     4  *
       
     5  */
       
     6 
       
     7 #ifndef __MULTIPLESUBSTITUTIONSUBTABLES_H
       
     8 #define __MULTIPLESUBSTITUTIONSUBTABLES_H
       
     9 
       
    10 /**
       
    11  * \file
       
    12  * \internal
       
    13  */
       
    14 
       
    15 #include "LETypes.h"
       
    16 #include "LEGlyphFilter.h"
       
    17 #include "OpenTypeTables.h"
       
    18 #include "GlyphSubstitutionTables.h"
       
    19 #include "GlyphIterator.h"
       
    20 
       
    21 U_NAMESPACE_BEGIN
       
    22 
       
    23 struct SequenceTable
       
    24 {
       
    25     le_uint16 glyphCount;
       
    26     TTGlyphID substituteArray[ANY_NUMBER];
       
    27 };
       
    28 
       
    29 struct MultipleSubstitutionSubtable : GlyphSubstitutionSubtable
       
    30 {
       
    31     le_uint16 sequenceCount;
       
    32     Offset    sequenceTableOffsetArray[ANY_NUMBER];
       
    33 
       
    34     le_uint32 process(GlyphIterator *glyphIterator, LEErrorCode& success,
       
    35         const LEGlyphFilter *filter = NULL) const;
       
    36 };
       
    37 
       
    38 U_NAMESPACE_END
       
    39 #endif