Type Definition read_fonts::layout::CharacterVariantParams
source · [−]pub type CharacterVariantParams<'a> = TableRef<'a, CharacterVariantParamsMarker>;Expand description
featureParams for ‘cv01’-‘cv99’
Implementations
sourceimpl<'a> CharacterVariantParams<'a>
impl<'a> CharacterVariantParams<'a>
sourcepub fn feat_ui_label_name_id(&self) -> u16
pub fn feat_ui_label_name_id(&self) -> u16
The ‘name’ table name ID that specifies a string (or strings, for multiple languages) for a user-interface label for this feature. (May be NULL.)
sourcepub fn feat_ui_tooltip_text_name_id(&self) -> u16
pub fn feat_ui_tooltip_text_name_id(&self) -> u16
The ‘name’ table name ID that specifies a string (or strings, for multiple languages) that an application can use for tooltip text for this feature. (May be NULL.)
sourcepub fn sample_text_name_id(&self) -> u16
pub fn sample_text_name_id(&self) -> u16
The ‘name’ table name ID that specifies sample text that illustrates the effect of this feature. (May be NULL.)
sourcepub fn num_named_parameters(&self) -> u16
pub fn num_named_parameters(&self) -> u16
Number of named parameters. (May be zero.)
sourcepub fn first_param_ui_label_name_id(&self) -> u16
pub fn first_param_ui_label_name_id(&self) -> u16
The first ‘name’ table name ID used to specify strings for user-interface labels for the feature parameters. (Must be zero if numParameters is zero.)
sourcepub fn char_count(&self) -> u16
pub fn char_count(&self) -> u16
The count of characters for which this feature provides glyph variants. (May be zero.)