Method

PangoFontDescriptionset_features_static

since: 1.56

Declaration [src]

void
pango_font_description_set_features_static (
  PangoFontDescription* desc,
  const char* features
)

Description [src]

Sets the features field of a font description.

This is like pango_font_description_set_features(), except that no copy of featuresis made. The caller must make sure that the string passed in stays around until desc has been freed or the name is set again. This function can be used if features is a static string such as a C string literal, or if desc is only needed temporarily.

Available since: 1.56

Parameters

features

Type: const char*

A string representing the features.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.