com.aspose.words

Class FontConfigSubstitutionRule

public class FontConfigSubstitutionRule 
extends FontSubstitutionRule

Font config substitution rule.

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.

Property Getters/Setters Summary
voidsetEnabled(boolean value)
Specifies whether the rule is enabled or not.
 
Method Summary
booleanisFontConfigAvailable()
Check if fontconfig utility is available or not.
voidresetCache()
Resets the cache of fontconfig calling results.
 

    • Property Getters/Setters Detail

      • setEnabled

        public void setEnabled(boolean value)
        
        Specifies whether the rule is enabled or not.
    • Method Detail

      • isFontConfigAvailable

        public boolean isFontConfigAvailable()
        Check if fontconfig utility is available or not.
      • resetCache

        public void resetCache()
        Resets the cache of fontconfig calling results.