PgAttribute.fallbackNew

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.

class PgAttribute
static
fallbackNew

Parameters

enableFallback bool

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

Return Value

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

Meta