]> git.saurik.com Git - apple/icu.git/blame - icuSources/layout/LigatureSubstitution.h
ICU-8.11.tar.gz
[apple/icu.git] / icuSources / layout / LigatureSubstitution.h
CommitLineData
b75a7d8f 1/*
b75a7d8f 2 *
374ca955 3 * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved
b75a7d8f
A
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
21U_NAMESPACE_BEGIN
22
23struct LigatureSubstitutionHeader : MorphStateTableHeader
24{
25 ByteOffset ligatureActionTableOffset;
26 ByteOffset componentTableOffset;
27 ByteOffset ligatureTableOffset;
28};
29
30enum LigatureSubstitutionFlags
31{
32 lsfSetComponent = 0x8000,
33 lsfDontAdvance = 0x4000,
34 lsfActionOffsetMask = 0x3FFF
35};
36
37struct LigatureSubstitutionStateEntry : StateEntry
38{
39};
40
41typedef le_uint32 LigatureActionEntry;
42
43enum LigatureActionFlags
44{
45 lafLast = 0x80000000,
46 lafStore = 0x40000000,
47 lafComponentOffsetMask = 0x3FFFFFFF
48};
49
50U_NAMESPACE_END
51#endif