IFontSelectorStrategy.@Deprecated public abstract class FontSelectorStrategy extends Object
FontSelectorStrategy is responsible for splitting text into sub texts with one particular font.
nextGlyphs() will create next sub text and set current font.| Modifier and Type | Field and Description |
|---|---|
protected FontSet |
additionalFonts
Deprecated.
|
protected int |
index
Deprecated.
|
protected FontProvider |
provider
Deprecated.
|
protected String |
text
Deprecated.
|
| Modifier | Constructor and Description |
|---|---|
protected |
FontSelectorStrategy(String text,
FontProvider provider,
FontSet additionalFonts)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
endOfText()
Deprecated.
|
abstract PdfFont |
getCurrentFont()
Deprecated.
|
protected PdfFont |
getPdfFont(FontInfo fontInfo)
Deprecated.
Utility method to create PdfFont.
|
abstract List<com.itextpdf.io.font.otf.Glyph> |
nextGlyphs()
Deprecated.
|
protected String text
protected int index
protected final FontProvider provider
protected final FontSet additionalFonts
protected FontSelectorStrategy(String text, FontProvider provider, FontSet additionalFonts)
public boolean endOfText()
public abstract PdfFont getCurrentFont()
public abstract List<com.itextpdf.io.font.otf.Glyph> nextGlyphs()
protected PdfFont getPdfFont(FontInfo fontInfo)
fontInfo - instance of FontInfo.FontProvider.getPdfFont(FontInfo, FontSet)Copyright © 1998–2024 Apryse Group NV. All rights reserved.