Function
Pango.AttrFontFeatures.new
Declaration [src]
PangoAttribute*
pango_attr_font_features_new (
const gchar* features
)
Description [src]
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.
Parameters
features |
const gchar* |
a string with OpenType font features, with the syntax of the CSS font-feature-settings property |
|
Ownership is not transferred to the callee | |
The string is a NUL terminated UTF-8 string |
Return value
Returns: PangoAttribute |
|
the newly allocated
|
|
Ownership of the data is transferred to the caller |