AttrFontFeatures
Added in version 1.38.
- class AttrFontFeatures(*args, **kwargs)
- Constructors:
AttrFontFeatures()
Methods
- class AttrFontFeatures
- new(features: str) Attribute
Create a new font features tag attribute.
You can use this attribute to select OpenType font features like small-caps, alternative glyphs, ligatures, etc. for fonts that support them.
Added in version 1.38.
- Parameters:
features – a string with OpenType font features, with the syntax of the [CSS font-feature-settings property](https://www.w3.org/TR/css-fonts-4/
font
-rend-desc)