Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
hb_feature_t Struct Reference

#include <hb-common.h>

Data Fields

hb_tag_t tag
 
uint32_t value
 
unsigned int start
 
unsigned int end
 

Detailed Description

hb_feature_t: @tag: The hb_tag_t tag of the feature @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. @start: the cluster to start applying this feature setting (inclusive). @end: the cluster to end applying this feature setting (exclusive).

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.

Definition at line 847 of file hb-common.h.

Field Documentation

◆ end

unsigned int hb_feature_t::end

Definition at line 851 of file hb-common.h.

◆ start

unsigned int hb_feature_t::start

Definition at line 850 of file hb-common.h.

◆ tag

hb_tag_t hb_feature_t::tag

Definition at line 848 of file hb-common.h.

◆ value

uint32_t hb_feature_t::value

Definition at line 849 of file hb-common.h.


The documentation for this struct was generated from the following file: