Uses of Class
com.itextpdf.layout.font.FontCharacteristics
Packages that use FontCharacteristics
-
Uses of FontCharacteristics in com.itextpdf.layout.font
Fields in com.itextpdf.layout.font declared as FontCharacteristicsFields in com.itextpdf.layout.font with type parameters of type FontCharacteristicsModifier and TypeFieldDescription(package private) List
<FontCharacteristics> FontSelector.PdfFontComparator.fontStyles
Methods in com.itextpdf.layout.font that return FontCharacteristicsModifier and TypeMethodDescriptionprivate static FontCharacteristics
FontSelector.PdfFontComparator.parseFontStyle
(String fontFamily, FontCharacteristics fc) FontCharacteristics.setBoldFlag
(boolean isBold) FontCharacteristics.setFontStyle
(String fs) Set font styleFontCharacteristics.setFontWeight
(short fw) Sets preferred font weightFontCharacteristics.setFontWeight
(String fw) FontCharacteristics.setItalicFlag
(boolean isItalic) FontCharacteristics.setMonospaceFlag
(boolean isMonospace) Methods in com.itextpdf.layout.font with parameters of type FontCharacteristicsModifier and TypeMethodDescriptionprivate static int
FontSelector.PdfFontComparator.characteristicsSimilarity
(String fontFamily, FontCharacteristics fc, FontInfo fontInfo, boolean isLastFontFamilyToBeProcessed) This method is used to compare two fonts (the required one which is described by fontInfo and the one to be examined which is described by fc and fontFamily) and measure their similarity.protected FontSelector
FontProvider.createFontSelector
(Collection<FontInfo> fonts, List<String> fontFamilies, FontCharacteristics fc) Create a new instance ofFontSelector
.FontProvider.createFontSelectorStrategy
(List<String> fontFamilies, FontCharacteristics fc, FontSet additionalFonts) Creates theIFontSelectorStrategy
to split text into sequences of glyphs, already tied to the fonts which contain them.private static int
FontSelector.PdfFontComparator.family2Similarity
(String fontFamily, FontCharacteristics fc, FontInfo fontInfo) This method is a fallback to compare family2 field if the main method wasn't able to prioritize the fonts.protected Comparator
<FontInfo> FontSelector.getComparator
(List<String> fontFamilies, FontCharacteristics fc) final FontSelector
FontProvider.getFontSelector
(List<String> fontFamilies, FontCharacteristics fc) CreateFontSelector
or get from cache.final FontSelector
FontProvider.getFontSelector
(List<String> fontFamilies, FontCharacteristics fc, FontSet additionalFonts) CreateFontSelector
or get from cache.FontProvider.getStrategy
(String text, List<String> fontFamilies, FontCharacteristics fc) Deprecated.FontProvider.getStrategy
(String text, List<String> fontFamilies, FontCharacteristics fc, FontSet additionalFonts) private static FontCharacteristics
FontSelector.PdfFontComparator.parseFontStyle
(String fontFamily, FontCharacteristics fc) Constructors in com.itextpdf.layout.font with parameters of type FontCharacteristicsModifierConstructorDescriptionFontSelector
(Collection<FontInfo> allFonts, List<String> fontFamilies, FontCharacteristics fc) Create new FontSelector instance.(package private)
FontSelectorKey
(List<String> fontFamilies, FontCharacteristics fc) (package private)
PdfFontComparator
(List<String> fontFamilies, FontCharacteristics fc) -
Uses of FontCharacteristics in com.itextpdf.layout.renderer
Methods in com.itextpdf.layout.renderer that return FontCharacteristicsModifier and TypeMethodDescription(package private) FontCharacteristics
AbstractRenderer.createFontCharacteristics()
Methods in com.itextpdf.layout.renderer with parameters of type FontCharacteristicsModifier and TypeMethodDescription(package private) PdfFont
AbstractRenderer.resolveFirstPdfFont
(String[] font, FontProvider provider, FontCharacteristics fc, FontSet additionalFonts) Get first validPdfFont
for this renderer, based on given font-families, font provider and font characteristics.(package private) PdfFont
TextRenderer.resolveFirstPdfFont
(String[] font, FontProvider provider, FontCharacteristics fc, FontSet additionalFonts)
FontProvider.createFontSelectorStrategy(List, FontCharacteristics, FontSet)