os/textandloc/fontservices/textshaperplugin/IcuSource/layout/SubstitutionLookups.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/SubstitutionLookups.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,44 @@
     1.4 +/*
     1.5 + *
     1.6 + * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved
     1.7 + *
     1.8 + */
     1.9 +
    1.10 +#ifndef __SUBSTITUTIONLOOKUPS_H
    1.11 +#define __SUBSTITUTIONLOOKUPS_H
    1.12 +
    1.13 +/**
    1.14 + * \file
    1.15 + * \internal
    1.16 + */
    1.17 +
    1.18 +#include "LETypes.h"
    1.19 +#include "LEFontInstance.h"
    1.20 +#include "OpenTypeTables.h"
    1.21 +#include "GlyphSubstitutionTables.h"
    1.22 +#include "GlyphIterator.h"
    1.23 +#include "LookupProcessor.h"
    1.24 +
    1.25 +U_NAMESPACE_BEGIN
    1.26 +
    1.27 +struct SubstitutionLookupRecord
    1.28 +{
    1.29 +    le_uint16  sequenceIndex;
    1.30 +    le_uint16  lookupListIndex;
    1.31 +};
    1.32 +
    1.33 +struct SubstitutionLookup
    1.34 +{
    1.35 +    static void applySubstitutionLookups(
    1.36 +        LookupProcessor *lookupProcessor, 
    1.37 +        SubstitutionLookupRecord *substLookupRecordArray,
    1.38 +        le_uint16 substCount,
    1.39 +        GlyphIterator *glyphIterator,
    1.40 +        const LEFontInstance *fontInstance,
    1.41 +        le_int32 position,
    1.42 +        LEErrorCode& success);
    1.43 +};
    1.44 +
    1.45 +U_NAMESPACE_END
    1.46 +#endif
    1.47 +