OpenType Layout Features - LookupFlags

Previous  Next

The lookupflags keyword is used to modify several flags (properties) of a lookup. The current supported flags are:

RightToLeft

This bit relates only to the correct processing of the cursive attachment lookup type (GPOS lookup type 3). When this bit is set, the last glyph in a given sequence to which the cursive attachment lookup is applied, will be positioned on the baseline.

IgnoreBaseGlyphs

Skips over base glyphs

IgnoreLigatures

Skips over ligatures

IgnoreMarks

Skips over combining marks

UseMarkFilteringSet

Indicates that the lookup table structure is followed by a MarkFilteringSet field. The layout engine skips over all mark glyphs not in the mark filtering set indicated.

Applying lookupflags to a lookup:

lookup MyLookupTable {

 lookupflags <flags>;

}

 

When you want to apply more than one flag to a lookup, simply separate them by spaces.

Note: Lookup flag names are case sensitive.