Table of Contents

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 FontProvider

the font provider

fontSelector FontSelector

the font selector

additionalFonts FontSet

the set of fonts to be used additionally to the fonts added to font provider.

Methods

IsCurrentFontCheckRequired()

protected override bool IsCurrentFontCheckRequired()

Returns

bool