3 * (C) Copyright IBM Corp. 1998-2004 - All Rights Reserved
16 #include "OpenTypeTables.h"
22 lfBaselineIsLogicalEnd
= 0x0001, // The MS spec. calls this flag "RightToLeft" but this name is more accurate
23 lfIgnoreBaseGlyphs
= 0x0002,
24 lfIgnoreLigatures
= 0x0004,
25 lfIgnoreMarks
= 0x0008,
26 lfReservedMask
= 0x00F0,
27 lfMarkAttachTypeMask
= 0xFF00,
28 lfMarkAttachTypeShift
= 8
33 le_uint16 subtableFormat
;
34 Offset coverageTableOffset
;
36 le_int32
getGlyphCoverage(LEGlyphID glyphID
) const;
37 le_int32
getGlyphCoverage(Offset tableOffset
, LEGlyphID glyphID
) const;
43 le_uint16 lookupFlags
;
44 le_uint16 subTableCount
;
45 Offset subTableOffsetArray
[ANY_NUMBER
];
47 const LookupSubtable
*getLookupSubtable(le_uint16 subtableIndex
) const;
50 struct LookupListTable
52 le_uint16 lookupCount
;
53 Offset lookupTableOffsetArray
[ANY_NUMBER
];
55 const LookupTable
*getLookupTable(le_uint16 lookupTableIndex
) const;
58 inline le_int32
LookupSubtable::getGlyphCoverage(LEGlyphID glyphID
) const
60 return getGlyphCoverage(coverageTableOffset
, glyphID
);