public final class SystemFontsSubstitution extends FontSubstitution
Represents a class for font substitution strategy that substitutes fonts with system fonts.
Constructor and Description |
---|
SystemFontsSubstitution(int fontCategories)
Initializes a new instance of
SystemFontsSubstitution class. |
Modifier and Type | Method and Description |
---|---|
Font |
getDefaultFont()
Gets or sets default substitution font.
|
int |
getFontCategories()
Gets or sets substitution font categories that should be substituted with system fonts.
|
void |
setDefaultFont(Font value) |
void |
setFontCategories(int value) |
getSubstitutedUnicode, getSubstitutionFontDefinition
public SystemFontsSubstitution(int fontCategories)
Initializes a new instance of SystemFontsSubstitution
class.
fontCategories
- Target font categories to substitute with system fontspublic int getFontCategories()
Gets or sets substitution font categories that should be substituted with system fonts.
public void setFontCategories(int value)
public Font getDefaultFont()
Gets or sets default substitution font.
The font is used when no other valid substitution were found but initial font belongs to target substitution category (FontCategories
).
public void setDefaultFont(Font value)
Copyright © 2018 Aspose. All Rights Reserved.