2000-11-28 20:56:52 +00:00
|
|
|
/*
|
|
|
|
*
|
2004-05-07 23:29:16 +00:00
|
|
|
* (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved
|
2000-11-28 20:56:52 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __LIGATURESUBSTITUTION_H
|
|
|
|
#define __LIGATURESUBSTITUTION_H
|
|
|
|
|
2003-01-13 23:15:11 +00:00
|
|
|
/**
|
|
|
|
* \file
|
|
|
|
* \internal
|
|
|
|
*/
|
|
|
|
|
2000-11-28 20:56:52 +00:00
|
|
|
#include "LETypes.h"
|
|
|
|
#include "LayoutTables.h"
|
|
|
|
#include "StateTables.h"
|
|
|
|
#include "MorphTables.h"
|
|
|
|
#include "MorphStateTables.h"
|
|
|
|
|
2001-10-16 00:39:01 +00:00
|
|
|
U_NAMESPACE_BEGIN
|
|
|
|
|
2000-11-28 20:56:52 +00:00
|
|
|
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
|
|
|
|
};
|
|
|
|
|
2001-10-16 00:39:01 +00:00
|
|
|
U_NAMESPACE_END
|
2000-11-28 20:56:52 +00:00
|
|
|
#endif
|