public class FontSubstitutionSettings
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 name substitution rule (enabled by default)
2. Font config substitution rule (disabled by default)
3. Table substitution rule (enabled by default)
4. Font info substitution rule (enabled by default)
5. Default font rule (enabled by default)
Note that font info substitution rule will always resolve the font if
Note that font config substitution rule will resolve the font in most cases and thus overrides all other rules.
Property Getters/Setters Summary | ||
---|---|---|
DefaultFontSubstitutionRule | getDefaultFontSubstitution() | |
Settings related to default font substitution rule.
|
||
FontConfigSubstitutionRule | getFontConfigSubstitution() | |
Settings related to font config substitution rule.
|
||
FontInfoSubstitutionRule | getFontInfoSubstitution() | |
Settings related to font info substitution rule.
|
||
FontNameSubstitutionRule | getFontNameSubstitution() | |
Settings related to font name substitution rule.
|
||
TableSubstitutionRule | getTableSubstitution() | |
Settings related to table substitution rule.
|
public DefaultFontSubstitutionRule getDefaultFontSubstitution()
public FontConfigSubstitutionRule getFontConfigSubstitution()
public FontInfoSubstitutionRule getFontInfoSubstitution()
public FontNameSubstitutionRule getFontNameSubstitution()
public TableSubstitutionRule getTableSubstitution()