public class ComplexFontSelectorStrategy extends FontSelectorStrategy
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.
index, provider, tempFonts, text
Constructor and Description |
---|
ComplexFontSelectorStrategy(String text, FontSelector selector, FontProvider provider) |
ComplexFontSelectorStrategy(String text, FontSelector selector, FontProvider provider, FontSet additionalFonts) |
Modifier and Type | Method and Description |
---|---|
PdfFont |
getCurrentFont() |
List<Glyph> |
nextGlyphs() |
endOfText, getPdfFont
public ComplexFontSelectorStrategy(String text, FontSelector selector, FontProvider provider, FontSet additionalFonts)
public ComplexFontSelectorStrategy(String text, FontSelector selector, FontProvider provider)
public PdfFont getCurrentFont()
getCurrentFont
in class FontSelectorStrategy
public List<Glyph> nextGlyphs()
nextGlyphs
in class FontSelectorStrategy
Copyright © 1998–2023 iText Group NV. All rights reserved.