Class FirstMatchFontSelectorStrategy
- Namespace
- iText.Layout.Font.Selectorstrategy
- Assembly
- itext.layout.dll
The class implements strategy where the first matched font is used to render as many glyphs as possible.
public class FirstMatchFontSelectorStrategy : AbstractFontSelectorStrategy, IFontSelectorStrategy
- Inheritance
-
FirstMatchFontSelectorStrategy
- Implements
- Inherited Members
Constructors
FirstMatchFontSelectorStrategy(FontProvider, FontSelector, FontSet)
Creates a new instance of FirstMatchFontSelectorStrategy.
public FirstMatchFontSelectorStrategy(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()