FontConfigSubstitutionRule class

FontConfigSubstitutionRule class

Font config substitution rule. To learn more, visit the Working with Fonts documentation article.

Remarks

This rule uses fontconfig utility on Linux (and other Unix-like) platforms to get the substitution if the original font is not available.

If fontconfig utility is not available then this rule will be ignored.

Inheritance: FontConfigSubstitutionRuleFontSubstitutionRule

Properties

NameDescription
enabledSpecifies whether the rule is enabled or not.

Methods

NameDescription
isFontConfigAvailable()Check if fontconfig utility is available or not.
resetCache()Resets the cache of fontconfig calling results.

See Also