:right-sidebar: True feature_t =================================================================== .. currentmodule:: gi.repository.HarfBuzz .. class:: feature_t(*args, **kwargs) :no-contents-entry: The :obj:`~gi.repository.HarfBuzz.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. Fields ------ .. rst-class:: interim-class .. class:: feature_t :no-index: .. attribute:: end The cluster to end applying this feature setting (exclusive). .. attribute:: start The cluster to start applying this feature setting (inclusive). .. attribute:: tag The :obj:`~gi.repository.HarfBuzz.tag_t` tag of the feature .. attribute:: 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.