com.aspose.words
Class FontSubstitutionSettings

java.lang.Object
    extended by com.aspose.words.FontSubstitutionSettings

public class FontSubstitutionSettings 
extends java.lang.Object

Specifies font substitution mechanism settings.

Font substitution process consists of several rules which are checked one by one in specific order. If the first rule can't resolve the font then second rule is checked and so on.

The order of the rules is following: 1. Font config substitution rule (disabled by default) 2. Table substitution rule (enabled by default) 3. Font info substitution rule (enabled by default) 4. Default font rule (enabled by default)

Note that font info substitution rule will always resolve the font if FontInfo is available and will override the default font rule. If you want to use the default font rule then you should disable the font info substitution rule.

Note that font config substitution rule will resolve the font in most cases and thus overrides all other rules.


Property Getters/Setters Summary
DefaultFontSubstitutionRulegetDefaultFontSubstitution()
           Settings related to default font substitution rule.
FontConfigSubstitutionRulegetFontConfigSubstitution()
           Settings related to font config substitution rule.
FontInfoSubstitutionRulegetFontInfoSubstitution()
           Settings related to font info substitution rule.
TableSubstitutionRulegetTableSubstitution()
           Settings related to table substitution rule.
 

Property Getters/Setters Detail

getDefaultFontSubstitution

public DefaultFontSubstitutionRule getDefaultFontSubstitution()
Settings related to default font substitution rule.

getFontConfigSubstitution

public FontConfigSubstitutionRule getFontConfigSubstitution()
Settings related to font config substitution rule.

getFontInfoSubstitution

public FontInfoSubstitutionRule getFontInfoSubstitution()
Settings related to font info substitution rule.

getTableSubstitution

public TableSubstitutionRule getTableSubstitution()
Settings related to table substitution rule.

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