45 lines
895 B
C
45 lines
895 B
C
|
/*
|
||
|
* @(#)LigatureSubstitution.h 1.5 00/03/15
|
||
|
*
|
||
|
* (C) Copyright IBM Corp. 1998, 1999, 2000 - All Rights Reserved
|
||
|
*
|
||
|
*/
|
||
|
|
||
|
#ifndef __LIGATURESUBSTITUTION_H
|
||
|
#define __LIGATURESUBSTITUTION_H
|
||
|
|
||
|
#include "LETypes.h"
|
||
|
#include "LayoutTables.h"
|
||
|
#include "StateTables.h"
|
||
|
#include "MorphTables.h"
|
||
|
#include "MorphStateTables.h"
|
||
|
|
||
|
struct LigatureSubstitutionHeader : MorphStateTableHeader
|
||
|
{
|
||
|
ByteOffset ligatureActionTableOffset;
|
||
|
ByteOffset componentTableOffset;
|
||
|
ByteOffset ligatureTableOffset;
|
||
|
};
|
||
|
|
||
|
enum LigatureSubstitutionFlags
|
||
|
{
|
||
|
lsfSetComponent = 0x8000,
|
||
|
lsfDontAdvance = 0x4000,
|
||
|
lsfActionOffsetMask = 0x3FFF
|
||
|
};
|
||
|
|
||
|
struct LigatureSubstitutionStateEntry : StateEntry
|
||
|
{
|
||
|
};
|
||
|
|
||
|
typedef le_uint32 LigatureActionEntry;
|
||
|
|
||
|
enum LigatureActionFlags
|
||
|
{
|
||
|
lafLast = 0x80000000,
|
||
|
lafStore = 0x40000000,
|
||
|
lafComponentOffsetMask = 0x3FFFFFFF
|
||
|
};
|
||
|
|
||
|
#endif
|