Function

Pango.attr_fallback_new

Declaration [src]

PangoAttribute*
pango_attr_fallback_new (
  gboolean enable_fallback
)

Description [src]

Create a new font fallback attribute.

If fallback is disabled, characters will only be used from the closest matching font on the system. No fallback will be done to other fonts on the system that might contain the characters in the text.

Available since:1.4

Parameters

enable_fallback gboolean
 

TRUE if we should fall back on other fonts for characters the active font is missing.

Return value

Returns: PangoAttribute

the newly allocated PangoAttribute, which should be freed with pango_attribute_destroy().

The caller of the function takes ownership of the data, and is responsible for freeing it