pub type FontFeatureSettings = FontSettings<FeatureTagValue<Integer>>;Expand description
This property provides low-level control over OpenType or TrueType font features.
Aliased Type§
#[repr(transparent)]pub struct FontFeatureSettings(pub ThinVec<FeatureTagValue<Integer>>);Tuple Fields§
§0: ThinVec<FeatureTagValue<Integer>>Implementations§
Source§impl FontFeatureSettings
impl FontFeatureSettings
Sourcepub fn parse_for_font_face_rule(
context: &ParserContext<'_>,
input: &mut Parser<'_>,
) -> Result<Self, ParseError>
pub fn parse_for_font_face_rule( context: &ParserContext<'_>, input: &mut Parser<'_>, ) -> Result<Self, ParseError>
Like parse, but rejects calc expressions that cannot be resolved at parse time,
since @font-face descriptors require concrete values.