Uses of Class
com.itextpdf.layout.font.FontInfo
Packages that use FontInfo
Package
Description
-
Uses of FontInfo in com.itextpdf.layout.font
Fields in com.itextpdf.layout.font with type parameters of type FontInfoModifier and TypeFieldDescriptionprivate final Collection
<FontInfo> FontSetCollection.additional
private final Map
<FontInfo, FontProgram> FontSet.fontPrograms
FontSelector.fonts
FontSet.fonts
FontProvider.pdfFonts
private final Collection
<FontInfo> FontSetCollection.primary
Methods in com.itextpdf.layout.font that return FontInfoModifier and TypeMethodDescriptionfinal FontInfo
FontSelector.bestMatch()
The best font match.(package private) static FontInfo
static FontInfo
FontInfo.create
(FontProgram fontProgram, String encoding, String alias) static FontInfo
FontInfo.create
(FontProgram fontProgram, String encoding, String alias, Range range) static FontInfo
static FontInfo
(package private) static FontInfo
Methods in com.itextpdf.layout.font that return types with arguments of type FontInfoModifier and TypeMethodDescriptionSearch in existed fonts for PostScript name or full font name.protected Comparator
<FontInfo> FontSelector.getComparator
(List<String> fontFamilies, FontCharacteristics fc) FontSelector.getFonts()
Sorted set of fonts.FontSet.getFonts()
Gets available fonts.Gets union of available and temporary fonts.FontSetCollection.iterator()
Methods in com.itextpdf.layout.font with parameters of type FontInfoModifier and TypeMethodDescriptionfinal boolean
AddsFontInfo
.boolean
AddsFontInfo
with alias.boolean
AddsFontInfo
with alias.private 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.int
static FontInfo
static FontInfo
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.(package private) FontProgram
FontSet.getFontProgram
(FontInfo fontInfo) FontProvider.getPdfFont
(FontInfo fontInfo) Get from cache or create a new instance ofPdfFont
.FontProvider.getPdfFont
(FontInfo fontInfo, FontSet additionalFonts) Get from cache or create a new instance ofPdfFont
.protected PdfFont
FontSelectorStrategy.getPdfFont
(FontInfo fontInfo) Deprecated.Utility method to create PdfFont.Method parameters in com.itextpdf.layout.font with type arguments of type FontInfoModifier and TypeMethodDescriptionprotected FontSelector
FontProvider.createFontSelector
(Collection<FontInfo> fonts, List<String> fontFamilies, FontCharacteristics fc) Create a new instance ofFontSelector
.Constructor parameters in com.itextpdf.layout.font with type arguments of type FontInfoModifierConstructorDescriptionFontSelector
(Collection<FontInfo> allFonts, List<String> fontFamilies, FontCharacteristics fc) Create new FontSelector instance.(package private)
FontSetCollection
(Collection<FontInfo> primary, Collection<FontInfo> additional) -
Uses of FontInfo in com.itextpdf.layout.font.selectorstrategy
Methods in com.itextpdf.layout.font.selectorstrategy with parameters of type FontInfoModifier and TypeMethodDescriptionprivate static PdfFont
AbstractFontSelectorStrategy.getPdfFont
(FontInfo fontInfo, FontProvider fontProvider, FontSet additionalFonts) Utility method to create PdfFont. -
Uses of FontInfo in com.itextpdf.svg.processors.impl
Methods in com.itextpdf.svg.processors.impl with parameters of type FontInfoModifier and TypeMethodDescriptionvoid
SvgProcessorContext.addTemporaryFont
(FontInfo fontInfo, String alias) Add temporary font from @font-face. -
Uses of FontInfo in com.itextpdf.svg.renderers.impl
Methods in com.itextpdf.svg.renderers.impl that return FontInfoModifier and TypeMethodDescriptionprivate FontInfo
TextSvgBranchRenderer.resolveFontName
(String fontFamily, String fontWeight, String fontStyle, FontProvider provider, FontSet tempFonts)