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.fontStylesMethods in com.itextpdf.layout.font that return FontCharacteristicsModifier and TypeMethodDescriptionprivate static FontCharacteristicsFontSelector.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 intFontSelector.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 FontSelectorFontProvider.createFontSelector(Collection<FontInfo> fonts, List<String> fontFamilies, FontCharacteristics fc) Create a new instance ofFontSelector.FontProvider.createFontSelectorStrategy(List<String> fontFamilies, FontCharacteristics fc, FontSet additionalFonts) Creates theIFontSelectorStrategyto split text into sequences of glyphs, already tied to the fonts which contain them.private static intFontSelector.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 FontSelectorFontProvider.getFontSelector(List<String> fontFamilies, FontCharacteristics fc) CreateFontSelectoror get from cache.final FontSelectorFontProvider.getFontSelector(List<String> fontFamilies, FontCharacteristics fc, FontSet additionalFonts) CreateFontSelectoror get from cache.private static FontCharacteristicsFontSelector.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) FontCharacteristicsAbstractRenderer.createFontCharacteristics()Methods in com.itextpdf.layout.renderer with parameters of type FontCharacteristicsModifier and TypeMethodDescription(package private) PdfFontAbstractRenderer.resolveFirstPdfFont(String[] font, FontProvider provider, FontCharacteristics fc, FontSet additionalFonts) Get first validPdfFontfor this renderer, based on given font-families, font provider and font characteristics.(package private) PdfFontTextRenderer.resolveFirstPdfFont(String[] font, FontProvider provider, FontCharacteristics fc, FontSet additionalFonts)