Package com.itextpdf.layout.font
Class FontSelectorStrategy
java.lang.Object
com.itextpdf.layout.font.FontSelectorStrategy
- Direct Known Subclasses:
-
ComplexFontSelectorStrategy
Deprecated.
FontSelectorStrategy
is responsible for splitting text into sub texts with one particular font. nextGlyphs()
will create next sub text and set current font.
-
Field Summary
Modifier and TypeFieldDescriptionprotected final FontSet
Deprecated.protected int
Deprecated.protected final FontProvider
Deprecated.protected String
Deprecated. -
Constructor Summary
ModifierConstructorDescriptionprotected
FontSelectorStrategy
(String text, FontProvider provider, FontSet additionalFonts) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.abstract PdfFont
Deprecated.protected PdfFont
getPdfFont
(FontInfo fontInfo) Deprecated.Utility method to create PdfFont.Deprecated.
-
Field Details
-
text
Deprecated. -
index
protected int indexDeprecated. -
provider
Deprecated. -
additionalFonts
Deprecated.
-
-
Constructor Details
-
FontSelectorStrategy
Deprecated.
-
-
Method Details
-
endOfText
public boolean endOfText()Deprecated. -
getCurrentFont
Deprecated. -
nextGlyphs
Deprecated. -
getPdfFont
Deprecated.Utility method to create PdfFont.- Parameters:
-
fontInfo
- instance of FontInfo. - Returns:
- cached or just created PdfFont on success, otherwise null.
- See Also:
-
IFontSelectorStrategy
.