X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/b75a7d8f3b4adbae880cab104ce2c6a50eee4db2..2be6500137966bba13903b24204a44804f9e133a:/icuSources/layout/GlyphPositioningTables.h diff --git a/icuSources/layout/GlyphPositioningTables.h b/icuSources/layout/GlyphPositioningTables.h index 7b0ace9e..590488cd 100644 --- a/icuSources/layout/GlyphPositioningTables.h +++ b/icuSources/layout/GlyphPositioningTables.h @@ -1,7 +1,5 @@ /* - * @(#)GlyphPositioningTables.h 1.7 00/03/15 - * - * (C) Copyright IBM Corp. 1998-2003 - All Rights Reserved + * (C) Copyright IBM Corp. 1998-2008 - All Rights Reserved * */ @@ -14,26 +12,24 @@ */ #include "LETypes.h" -#include "LEFontInstance.h" #include "OpenTypeTables.h" #include "Lookups.h" -#include "GlyphDefinitionTables.h" -#include "GlyphPositionAdjustments.h" +#include "GlyphLookupTables.h" U_NAMESPACE_BEGIN -struct GlyphPositioningTableHeader -{ - fixed32 version; - Offset scriptListOffset; - Offset featureListOffset; - Offset lookupListOffset; +class LEFontInstance; +class LEGlyphStorage; +class LEGlyphFilter; +class GlyphPositionAdjustments; +struct GlyphDefinitionTableHeader; - void process(LEGlyphID *glyphs, GlyphPositionAdjustment *glyphPositionAdjustments, - const LETag **glyphTags, le_int32 glyphCount, +struct GlyphPositioningTableHeader : public GlyphLookupTableHeader +{ + void process(LEGlyphStorage &glyphStorage, GlyphPositionAdjustments *glyphPositionAdjustments, le_bool rightToLeft, LETag scriptTag, LETag languageTag, - const GlyphDefinitionTableHeader *glyphDefinitionTableHeader, - const LEFontInstance *fontInstance, const LETag *featureOrder) const; + const GlyphDefinitionTableHeader *glyphDefinitionTableHeader, LEErrorCode &success, + const LEFontInstance *fontInstance, const FeatureMap *featureMap, le_int32 featureMapCount, le_bool featureOrder) const; }; enum GlyphPositioningSubtableTypes