:right-sidebar: True AttrFontFeatures =================================================================== .. currentmodule:: gi.repository.Pango .. versionadded:: 1.38 .. class:: AttrFontFeatures(*args, **kwargs) :no-contents-entry: :Constructors: :: AttrFontFeatures() Methods ------- .. rst-class:: interim-class .. class:: AttrFontFeatures :no-index: .. method:: new(features: str) -> ~gi.repository.Pango.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. .. versionadded:: 1.38 :param 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) Fields ------ .. rst-class:: interim-class .. class:: AttrFontFeatures :no-index: .. attribute:: attr The common portion of the attribute .. attribute:: features The features, as a string in CSS syntax