Package | Description |
---|---|
com.itextpdf.layout.font |
Modifier and Type | Method and Description |
---|---|
FontCharacteristics |
FontCharacteristics.setBoldFlag(boolean isBold) |
FontCharacteristics |
FontCharacteristics.setFontStyle(String fs)
Set font style
|
FontCharacteristics |
FontCharacteristics.setFontWeight(short fw)
Sets preferred font weight
|
FontCharacteristics |
FontCharacteristics.setFontWeight(String fw) |
FontCharacteristics |
FontCharacteristics.setItalicFlag(boolean isItalic) |
FontCharacteristics |
FontCharacteristics.setMonospaceFlag(boolean isMonospace) |
Modifier and Type | Method and Description |
---|---|
protected FontSelector |
FontProvider.createFontSelector(Collection<FontInfo> fonts, List<String> fontFamilies, FontCharacteristics fc)
Create a new instance of FontSelector .
|
protected Comparator<FontInfo> |
FontSelector.getComparator(List<String> fontFamilies, FontCharacteristics fc) |
FontSelector |
FontProvider.getFontSelector(List<String> fontFamilies, FontCharacteristics fc)
Create FontSelector or get from cache.
|
FontSelector |
FontProvider.getFontSelector(List<String> fontFamilies, FontCharacteristics fc, FontSet additionalFonts)
Create FontSelector or get from cache.
|
FontSelectorStrategy |
FontProvider.getStrategy(String text, List<String> fontFamilies, FontCharacteristics fc)
Gets the FontSelectorStrategy to split specified text into sequences of glyphs, already tied to the fonts which contain them.
|
FontSelectorStrategy |
FontProvider.getStrategy(String text, List<String> fontFamilies, FontCharacteristics fc, FontSet additionalFonts)
Gets the FontSelectorStrategy to split specified text into sequences of glyphs, already tied to the fonts which contain them.
|
Constructor and Description |
---|
FontCharacteristics(FontCharacteristics other) |
FontSelector(Collection<FontInfo> allFonts, List<String> fontFamilies, FontCharacteristics fc)
Create new FontSelector instance.
|
Copyright © 1998–2021 iText Group NV. All rights reserved.