Package com.itextpdf.layout.font
Class ComplexFontSelectorStrategy
java.lang.Object
com.itextpdf.layout.font.FontSelectorStrategy
com.itextpdf.layout.font.ComplexFontSelectorStrategy
Complex FontSelectorStrategy split text based on
Character.UnicodeScript
. If unicode script changes, a new font will be found. If there is no suitable font, only one notdef glyph from FontSelector.bestMatch()
will be added.
-
Field Summary
Fields inherited from class com.itextpdf.layout.font.FontSelectorStrategy
additionalFonts, index, provider, text
-
Constructor Summary
ConstructorDescriptionComplexFontSelectorStrategy
(String text, FontSelector selector, FontProvider provider) ComplexFontSelectorStrategy
(String text, FontSelector selector, FontProvider provider, FontSet additionalFonts) -
Method Summary
Methods inherited from class com.itextpdf.layout.font.FontSelectorStrategy
endOfText, getPdfFont
-
Constructor Details
-
ComplexFontSelectorStrategy
public ComplexFontSelectorStrategy(String text, FontSelector selector, FontProvider provider, FontSet additionalFonts) -
ComplexFontSelectorStrategy
-
-
Method Details
-
getCurrentFont
- Specified by:
-
getCurrentFont
in classFontSelectorStrategy
-
nextGlyphs
- Specified by:
-
nextGlyphs
in classFontSelectorStrategy
-