os/textandloc/fontservices/textshaperplugin/IcuSource/layout/GlyphPositioningTables.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/GlyphPositioningTables.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,53 @@
     1.4 +/*
     1.5 + *
     1.6 + * (C) Copyright IBM Corp. 1998-2005 - All Rights Reserved
     1.7 + *
     1.8 + */
     1.9 +
    1.10 +#ifndef __GLYPHPOSITIONINGTABLES_H
    1.11 +#define __GLYPHPOSITIONINGTABLES_H
    1.12 +
    1.13 +/**
    1.14 + * \file
    1.15 + * \internal
    1.16 + */
    1.17 +
    1.18 +#include "LETypes.h"
    1.19 +#include "OpenTypeTables.h"
    1.20 +#include "Lookups.h"
    1.21 +#include "GlyphLookupTables.h"
    1.22 +
    1.23 +U_NAMESPACE_BEGIN
    1.24 +
    1.25 +class  LEFontInstance;
    1.26 +class  LEGlyphStorage;
    1.27 +class  LEGlyphFilter;
    1.28 +class  GlyphPositionAdjustments;
    1.29 +struct GlyphDefinitionTableHeader;
    1.30 +
    1.31 +struct GlyphPositioningTableHeader : public GlyphLookupTableHeader
    1.32 +{
    1.33 +    void    process(LEGlyphStorage &glyphStorage, GlyphPositionAdjustments *glyphPositionAdjustments,
    1.34 +                le_bool rightToLeft, LETag scriptTag, LETag languageTag,
    1.35 +                const GlyphDefinitionTableHeader *glyphDefinitionTableHeader,
    1.36 +                LEErrorCode &success,
    1.37 +                const LEFontInstance *fontInstance, const LETag *featureOrder) const;
    1.38 +};
    1.39 +
    1.40 +enum GlyphPositioningSubtableTypes
    1.41 +{
    1.42 +    gpstSingle          = 1,
    1.43 +    gpstPair            = 2,
    1.44 +    gpstCursive         = 3,
    1.45 +    gpstMarkToBase      = 4,
    1.46 +    gpstMarkToLigature  = 5,
    1.47 +    gpstMarkToMark      = 6,
    1.48 +    gpstContext         = 7,
    1.49 +    gpstChainedContext  = 8,
    1.50 +    gpstExtension       = 9
    1.51 +};
    1.52 +
    1.53 +typedef LookupSubtable GlyphPositioningSubtable;
    1.54 +
    1.55 +U_NAMESPACE_END
    1.56 +#endif