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