Aspose::Pdf::Text::SystemFontsSubstitution class

SystemFontsSubstitution class

Represents a class for font substitution strategy that substitutes fonts with system fonts.

class SystemFontsSubstitution : public Aspose::Pdf::Text::FontSubstitution

Methods

MethodDescription
get_DefaultFont()Gets default substitution font. The font is used when no other valid substitution were found but initial font belongs to target substitution category (FontCategories).
get_FontCategories() constGets substitution font categories that should be substituted with system fonts.
set_DefaultFont(System::SharedPtr<Font>)Sets default substitution font. The font is used when no other valid substitution were found but initial font belongs to target substitution category (FontCategories).
set_FontCategories(SubstitutionFontCategories)Sets substitution font categories that should be substituted with system fonts.
SystemFontsSubstitution(SubstitutionFontCategories)Initializes a new instance of SystemFontsSubstitution class.

See Also