HarfBuzz.feature_t¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
end |
r/w |
the cluster to end applying this feature setting (exclusive). |
|
start |
r/w |
the cluster to start applying this feature setting (inclusive). |
|
tag |
r/w |
The #hb_tag_t tag of the feature |
|
value |
r/w |
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. |
Methods¶
None
Details¶
- class HarfBuzz.feature_t¶
The
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 toHarfBuzz.FEATURE_GLOBAL_START
and end to #HB_FEATURE_GLOBAL_END specifies that the feature always applies to the entire buffer.