scuffed-code/icu4c/source/layout/ContextualGlyphSubstitution.h
2001-10-16 00:39:01 +00:00

38 lines
714 B
C

/*
* @(#)ContextualGlyphSubstitution.h 1.4 00/03/15
*
* (C) Copyright IBM Corp. 1998, 1999, 2000 - All Rights Reserved
*
*/
#ifndef __CONTEXTUALGLYPHSUBSTITUTION_H
#define __CONTEXTUALGLYPHSUBSTITUTION_H
#include "LETypes.h"
#include "LayoutTables.h"
#include "StateTables.h"
#include "MorphTables.h"
U_NAMESPACE_BEGIN
struct ContextualGlyphSubstitutionHeader : MorphStateTableHeader
{
ByteOffset substitutionTableOffset;
};
enum ContextualGlyphSubstitutionFlags
{
cgsSetMark = 0x8000,
cgsDontAdvance = 0x4000,
cgsReserved = 0x3FFF
};
struct ContextualGlyphSubstitutionStateEntry : StateEntry
{
WordOffset markOffset;
WordOffset currOffset;
};
U_NAMESPACE_END
#endif