X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/b75a7d8f3b4adbae880cab104ce2c6a50eee4db2..ef6cf650f4a75c3f97de06b51fa104f2069b9ea2:/icuSources/layout/OpenTypeTables.h diff --git a/icuSources/layout/OpenTypeTables.h b/icuSources/layout/OpenTypeTables.h index ea58b7f8..17803291 100644 --- a/icuSources/layout/OpenTypeTables.h +++ b/icuSources/layout/OpenTypeTables.h @@ -1,7 +1,6 @@ /* - * @(#)OpenTypeTables.h 1.7 00/03/15 * - * (C) Copyright IBM Corp. 1998-2003 - All Rights Reserved + * (C) Copyright IBM Corp. 1998-2013 - All Rights Reserved * */ @@ -14,6 +13,7 @@ */ #include "LETypes.h" +#include "LETableReference.h" U_NAMESPACE_BEGIN @@ -23,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 @@ -38,5 +41,11 @@ struct GlyphRangeRecord le_int16 rangeValue; }; +struct FeatureMap +{ + LETag tag; + FeatureMask mask; +}; + U_NAMESPACE_END #endif