Class BestMatchFontSelectorStrategy.BestMatchFontSelectorStrategyFactory
java.lang.Object
com.itextpdf.layout.font.selectorstrategy.BestMatchFontSelectorStrategy.BestMatchFontSelectorStrategyFactory
- All Implemented Interfaces:
-
IFontSelectorStrategyFactory
- Enclosing class:
- BestMatchFontSelectorStrategy
public static final class BestMatchFontSelectorStrategy.BestMatchFontSelectorStrategyFactory extends Object implements IFontSelectorStrategyFactory
The factory for
BestMatchFontSelectorStrategy
.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateFontSelectorStrategy
(FontProvider fontProvider, FontSelector fontSelector, FontSet additionalFonts) Creates a new instance ofIFontSelectorStrategy
.
-
Constructor Details
-
BestMatchFontSelectorStrategyFactory
public BestMatchFontSelectorStrategyFactory()
-
-
Method Details
-
createFontSelectorStrategy
public IFontSelectorStrategy createFontSelectorStrategy(FontProvider fontProvider, FontSelector fontSelector, FontSet additionalFonts) Creates a new instance ofIFontSelectorStrategy
.- Specified by:
-
createFontSelectorStrategy
in interfaceIFontSelectorStrategyFactory
- Parameters:
-
fontProvider
- the font provider -
fontSelector
- the font selector -
additionalFonts
- the set of fonts to be used additionally to the fonts added to font provider. - Returns:
-
new instance of
IFontSelectorStrategy
-