Class (GI Struct)

HarfBuzz-0.0HarfBuzzfeature_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 to #HB_FEATURE_GLOBAL_START and end to #HB_FEATURE_GLOBAL_END specifies that the feature always applies to the entire buffer.

Index

Constructors

Properties

Methods

Constructors

Properties

end: number
start: number
tag: number
value: number
$gtype: GType<feature_t>

Methods

  • Converts a HarfBuzz.feature_t into a NULL-terminated string in the format understood by hb_feature_from_string(). The client in responsible for allocating big enough size for buf, 128 bytes is more than enough.

    Note that the feature value will be omitted if it is '1', but the string won't include any whitespace.

    Returns string[]