Class BestMatchFontSelectorStrategy
- Namespace
- iText.Layout.Font.Selectorstrategy
- Assembly
- itext.layout.dll
The class implements strategy where the best font for each symbol is used if possible.
public class BestMatchFontSelectorStrategy : AbstractFontSelectorStrategy, IFontSelectorStrategy
- Inheritance
-
BestMatchFontSelectorStrategy
- Implements
- Inherited Members
Constructors
BestMatchFontSelectorStrategy(FontProvider, FontSelector, FontSet)
Creates a new instance of BestMatchFontSelectorStrategy.
public BestMatchFontSelectorStrategy(FontProvider fontProvider, FontSelector fontSelector, FontSet additionalFonts)
Parameters
fontProvider
FontProviderthe font provider
fontSelector
FontSelectorthe font selector
additionalFonts
FontSetthe set of fonts to be used additionally to the fonts added to font provider.
Methods
IsCurrentFontCheckRequired()
protected override bool IsCurrentFontCheckRequired()