attrFallbackNew

fnpango.attribute.Attribute attrFallbackNew(bool enableFallback)

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.

Parameters

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

Returns

the newly allocated

[pango.attribute.Attribute], which should be freed with [pango.attribute.Attribute.destroy]