com.aspose.words
Class FontConfigSubstitutionRule

java.lang.Object
  extended by FontSubstitutionRule
      extended by com.aspose.words.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.

See Also:
          Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
          Aspose.Words Support Forum - our preferred method of support.