X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/374ca955a76ecab1204ca8bfa63ff9238d998416..ef6cf650f4a75c3f97de06b51fa104f2069b9ea2:/icuSources/layout/OpenTypeTables.h diff --git a/icuSources/layout/OpenTypeTables.h b/icuSources/layout/OpenTypeTables.h index c94a5cbd..17803291 100644 --- a/icuSources/layout/OpenTypeTables.h +++ b/icuSources/layout/OpenTypeTables.h @@ -1,6 +1,6 @@ /* * - * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved + * (C) Copyright IBM Corp. 1998-2013 - All Rights Reserved * */ @@ -13,6 +13,7 @@ */ #include "LETypes.h" +#include "LETableReference.h" U_NAMESPACE_BEGIN @@ -22,12 +23,15 @@ typedef le_uint16 Offset; typedef le_uint8 ATag[4]; typedef le_uint32 fixed32; -#define SWAPT(atag) ((LETag) ((atag[0] << 24) + (atag[1] << 16) + (atag[2] << 8) + atag[3])) +#define LE_GLYPH_GROUP_MASK 0x00000001UL +typedef le_uint32 FeatureMask; + +#define SWAPT(atag) ((LETag) (((atag[0]) << 24) + ((atag[1]) << 16) + ((atag[2]) << 8) + (atag[3]))) struct TagAndOffsetRecord { - ATag tag; - Offset offset; + ATag tag; + Offset offset; }; struct GlyphRangeRecord @@ -37,5 +41,11 @@ struct GlyphRangeRecord le_int16 rangeValue; }; +struct FeatureMap +{ + LETag tag; + FeatureMask mask; +}; + U_NAMESPACE_END #endif