os/textandloc/fontservices/textshaperplugin/IcuSource/layout/ContextualGlyphSubstitution.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/textandloc/fontservices/textshaperplugin/IcuSource/layout/ContextualGlyphSubstitution.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,41 @@
     1.4 +/*
     1.5 + *
     1.6 + * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved
     1.7 + *
     1.8 + */
     1.9 +
    1.10 +#ifndef __CONTEXTUALGLYPHSUBSTITUTION_H
    1.11 +#define __CONTEXTUALGLYPHSUBSTITUTION_H
    1.12 +
    1.13 +/**
    1.14 + * \file
    1.15 + * \internal
    1.16 + */
    1.17 +
    1.18 +#include "LETypes.h"
    1.19 +#include "LayoutTables.h"
    1.20 +#include "StateTables.h"
    1.21 +#include "MorphTables.h"
    1.22 +
    1.23 +U_NAMESPACE_BEGIN
    1.24 +
    1.25 +struct ContextualGlyphSubstitutionHeader : MorphStateTableHeader
    1.26 +{
    1.27 +    ByteOffset  substitutionTableOffset;
    1.28 +};
    1.29 +
    1.30 +enum ContextualGlyphSubstitutionFlags
    1.31 +{
    1.32 +    cgsSetMark      = 0x8000,
    1.33 +    cgsDontAdvance  = 0x4000,
    1.34 +    cgsReserved     = 0x3FFF
    1.35 +};
    1.36 +
    1.37 +struct ContextualGlyphSubstitutionStateEntry : StateEntry
    1.38 +{
    1.39 +    WordOffset markOffset;
    1.40 +    WordOffset currOffset;
    1.41 +};
    1.42 +
    1.43 +U_NAMESPACE_END
    1.44 +#endif