Feature

The #hb_feature_t is the structure that holds information about requested feature application. The feature will be applied with the given value to all glyphs which are in clusters between @start (inclusive) and @end (exclusive). Setting start to #HB_FEATURE_GLOBAL_START and end to #HB_FEATURE_GLOBAL_END specifies that the feature always applies to the entire buffer.

Members

Properties

_gType
GType _gType [@property getter]

Static functions

_getGType
GType _getGType()

Variables

end
uint end;

the cluster to end applying this feature setting (exclusive).

start
uint start;

the cluster to start applying this feature setting (inclusive).

tag
Tag tag;

The #hb_tag_t tag of the feature

value
uint value;

The value of the feature. 0 disables the feature, non-zero (usually 1) enables the feature. For features implemented as lookup type 3 (like 'salt') the @value is a one based index into the alternates.