Uses of Class
com.itextpdf.layout.font.FontInfo
-
Packages that use FontInfo Package Description com.itextpdf.layout.font com.itextpdf.layout.font.selectorstrategy com.itextpdf.svg.processors.impl com.itextpdf.svg.renderers.impl -
-
Uses of FontInfo in com.itextpdf.layout.font
Fields in com.itextpdf.layout.font with type parameters of type FontInfo Modifier and Type Field Description private java.util.Collection<FontInfo>
FontSetCollection. additional
private java.util.Map<FontInfo,FontProgram>
FontSet. fontPrograms
protected java.util.List<FontInfo>
FontSelector. fonts
private java.util.Set<FontInfo>
FontSet. fonts
protected java.util.Map<FontInfo,PdfFont>
FontProvider. pdfFonts
private java.util.Collection<FontInfo>
FontSetCollection. primary
Methods in com.itextpdf.layout.font that return FontInfo Modifier and Type Method Description FontInfo
FontSelector. bestMatch()
The best font match.(package private) static FontInfo
FontInfo. create(byte[] fontProgram, java.lang.String encoding, java.lang.String alias, Range range)
static FontInfo
FontInfo. create(FontProgram fontProgram, java.lang.String encoding, java.lang.String alias)
static FontInfo
FontInfo. create(FontProgram fontProgram, java.lang.String encoding, java.lang.String alias, Range range)
static FontInfo
FontInfo. create(FontInfo fontInfo, java.lang.String alias)
static FontInfo
FontInfo. create(FontInfo fontInfo, java.lang.String alias, Range range)
(package private) static FontInfo
FontInfo. create(java.lang.String fontName, java.lang.String encoding, java.lang.String alias, Range range)
Methods in com.itextpdf.layout.font that return types with arguments of type FontInfo Modifier and Type Method Description java.util.Collection<FontInfo>
FontSet. get(java.lang.String fontName)
Search in existed fonts for PostScript name or full font name.protected java.util.Comparator<FontInfo>
FontSelector. getComparator(java.util.List<java.lang.String> fontFamilies, FontCharacteristics fc)
java.lang.Iterable<FontInfo>
FontSelector. getFonts()
Sorted set of fonts.java.util.Collection<FontInfo>
FontSet. getFonts()
Gets available fonts.java.util.Collection<FontInfo>
FontSet. getFonts(FontSet additionalFonts)
Gets union of available and temporary fonts.java.util.Iterator<FontInfo>
FontSetCollection. iterator()
Methods in com.itextpdf.layout.font with parameters of type FontInfo Modifier and Type Method Description boolean
FontSet. addFont(FontInfo fontInfo)
AddsFontInfo
.boolean
FontSet. addFont(FontInfo fontInfo, java.lang.String alias)
AddsFontInfo
with alias.boolean
FontSet. addFont(FontInfo fontInfo, java.lang.String alias, Range unicodeRange)
AddsFontInfo
with alias.private static int
FontSelector.PdfFontComparator. characteristicsSimilarity(java.lang.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
FontSelector.PdfFontComparator. compare(FontInfo o1, FontInfo o2)
static FontInfo
FontInfo. create(FontInfo fontInfo, java.lang.String alias)
static FontInfo
FontInfo. create(FontInfo fontInfo, java.lang.String alias, Range range)
private static int
FontSelector.PdfFontComparator. family2Similarity(java.lang.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)
PdfFont
FontProvider. getPdfFont(FontInfo fontInfo)
Get from cache or create a new instance ofPdfFont
.PdfFont
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 FontInfo Modifier and Type Method Description protected FontSelector
FontProvider. createFontSelector(java.util.Collection<FontInfo> fonts, java.util.List<java.lang.String> fontFamilies, FontCharacteristics fc)
Create a new instance ofFontSelector
.Constructor parameters in com.itextpdf.layout.font with type arguments of type FontInfo Constructor Description FontSelector(java.util.Collection<FontInfo> allFonts, java.util.List<java.lang.String> fontFamilies, FontCharacteristics fc)
Create new FontSelector instance.FontSetCollection(java.util.Collection<FontInfo> primary, java.util.Collection<FontInfo> additional)
-
Uses of FontInfo in com.itextpdf.layout.font.selectorstrategy
Methods in com.itextpdf.layout.font.selectorstrategy with parameters of type FontInfo Modifier and Type Method Description private 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 FontInfo Modifier and Type Method Description void
SvgProcessorContext. addTemporaryFont(FontInfo fontInfo, java.lang.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 FontInfo Modifier and Type Method Description private FontInfo
TextSvgBranchRenderer. resolveFontName(java.lang.String fontFamily, java.lang.String fontWeight, java.lang.String fontStyle, FontProvider provider, FontSet tempFonts)
-