Home | History | Annotate | Download | only in layout
      1 /*
      2  *
      3  * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved
      4  *
      5  */
      6 
      7 #ifndef __LIGATURESUBSTITUTION_H
      8 #define __LIGATURESUBSTITUTION_H
      9 
     10 /**
     11  * \file
     12  * \internal
     13  */
     14 
     15 #include "LETypes.h"
     16 #include "LayoutTables.h"
     17 #include "StateTables.h"
     18 #include "MorphTables.h"
     19 #include "MorphStateTables.h"
     20 
     21 U_NAMESPACE_BEGIN
     22 
     23 struct LigatureSubstitutionHeader : MorphStateTableHeader
     24 {
     25     ByteOffset ligatureActionTableOffset;
     26     ByteOffset componentTableOffset;
     27     ByteOffset ligatureTableOffset;
     28 };
     29 
     30 enum LigatureSubstitutionFlags
     31 {
     32     lsfSetComponent     = 0x8000,
     33     lsfDontAdvance      = 0x4000,
     34     lsfActionOffsetMask = 0x3FFF
     35 };
     36 
     37 struct LigatureSubstitutionStateEntry : StateEntry
     38 {
     39 };
     40 
     41 typedef le_uint32 LigatureActionEntry;
     42 
     43 enum LigatureActionFlags
     44 {
     45     lafLast                 = 0x80000000,
     46     lafStore                = 0x40000000,
     47     lafComponentOffsetMask  = 0x3FFFFFFF
     48 };
     49 
     50 U_NAMESPACE_END
     51 #endif
     52