author | sl@SLION-WIN7.fritz.box |
Fri, 15 Jun 2012 03:10:57 +0200 | |
changeset 0 | bde4ae8d615e |
permissions | -rw-r--r-- |
sl@0 | 1 |
/* |
sl@0 | 2 |
* |
sl@0 | 3 |
* (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved |
sl@0 | 4 |
* |
sl@0 | 5 |
*/ |
sl@0 | 6 |
|
sl@0 | 7 |
#ifndef __CONTEXTUALGLYPHSUBSTITUTION_H |
sl@0 | 8 |
#define __CONTEXTUALGLYPHSUBSTITUTION_H |
sl@0 | 9 |
|
sl@0 | 10 |
/** |
sl@0 | 11 |
* \file |
sl@0 | 12 |
* \internal |
sl@0 | 13 |
*/ |
sl@0 | 14 |
|
sl@0 | 15 |
#include "LETypes.h" |
sl@0 | 16 |
#include "LayoutTables.h" |
sl@0 | 17 |
#include "StateTables.h" |
sl@0 | 18 |
#include "MorphTables.h" |
sl@0 | 19 |
|
sl@0 | 20 |
U_NAMESPACE_BEGIN |
sl@0 | 21 |
|
sl@0 | 22 |
struct ContextualGlyphSubstitutionHeader : MorphStateTableHeader |
sl@0 | 23 |
{ |
sl@0 | 24 |
ByteOffset substitutionTableOffset; |
sl@0 | 25 |
}; |
sl@0 | 26 |
|
sl@0 | 27 |
enum ContextualGlyphSubstitutionFlags |
sl@0 | 28 |
{ |
sl@0 | 29 |
cgsSetMark = 0x8000, |
sl@0 | 30 |
cgsDontAdvance = 0x4000, |
sl@0 | 31 |
cgsReserved = 0x3FFF |
sl@0 | 32 |
}; |
sl@0 | 33 |
|
sl@0 | 34 |
struct ContextualGlyphSubstitutionStateEntry : StateEntry |
sl@0 | 35 |
{ |
sl@0 | 36 |
WordOffset markOffset; |
sl@0 | 37 |
WordOffset currOffset; |
sl@0 | 38 |
}; |
sl@0 | 39 |
|
sl@0 | 40 |
U_NAMESPACE_END |
sl@0 | 41 |
#endif |