]> git.saurik.com Git - apple/icu.git/blame - icuSources/layout/ContextualGlyphSubstitution.h
ICU-461.12.tar.gz
[apple/icu.git] / icuSources / layout / ContextualGlyphSubstitution.h
CommitLineData
b75a7d8f 1/*
b75a7d8f 2 *
374ca955 3 * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved
b75a7d8f
A
4 *
5 */
6
7#ifndef __CONTEXTUALGLYPHSUBSTITUTION_H
8#define __CONTEXTUALGLYPHSUBSTITUTION_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
20U_NAMESPACE_BEGIN
21
22struct ContextualGlyphSubstitutionHeader : MorphStateTableHeader
23{
24 ByteOffset substitutionTableOffset;
25};
26
27enum ContextualGlyphSubstitutionFlags
28{
29 cgsSetMark = 0x8000,
30 cgsDontAdvance = 0x4000,
31 cgsReserved = 0x3FFF
32};
33
34struct ContextualGlyphSubstitutionStateEntry : StateEntry
35{
36 WordOffset markOffset;
37 WordOffset currOffset;
38};
39
40U_NAMESPACE_END
41#endif