sl@0: /* sl@0: * sl@0: * (C) Copyright IBM Corp. 1998-2005 - All Rights Reserved sl@0: * sl@0: */ sl@0: sl@0: #ifndef __ATTACHMENTPOSITIONINGSUBTABLES_H sl@0: #define __ATTACHMENTPOSITIONINGSUBTABLES_H sl@0: sl@0: /** sl@0: * \file sl@0: * \internal sl@0: */ sl@0: sl@0: #include "LETypes.h" sl@0: #include "OpenTypeTables.h" sl@0: #include "GlyphPositioningTables.h" sl@0: #include "ValueRecords.h" sl@0: #include "GlyphIterator.h" sl@0: sl@0: U_NAMESPACE_BEGIN sl@0: sl@0: struct AttachmentPositioningSubtable : GlyphPositioningSubtable sl@0: { sl@0: Offset baseCoverageTableOffset; sl@0: le_uint16 classCount; sl@0: Offset markArrayOffset; sl@0: Offset baseArrayOffset; sl@0: sl@0: inline le_int32 getBaseCoverage(LEGlyphID baseGlyphId) const; sl@0: sl@0: le_uint32 process(GlyphIterator *glyphIterator) const; sl@0: }; sl@0: sl@0: inline le_int32 AttachmentPositioningSubtable::getBaseCoverage(LEGlyphID baseGlyphID) const sl@0: { sl@0: return getGlyphCoverage(baseCoverageTableOffset, baseGlyphID); sl@0: } sl@0: sl@0: U_NAMESPACE_END sl@0: #endif sl@0: