Table of Contents

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 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