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 -
-
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. additionalprivate java.util.Map<FontInfo,FontProgram>FontSet. fontProgramsprotected java.util.List<FontInfo>FontSelector. fontsprivate java.util.Set<FontInfo>FontSet. fontsprotected java.util.Map<FontInfo,PdfFont>FontProvider. pdfFontsprivate java.util.Collection<FontInfo>FontSetCollection. primaryMethods in com.itextpdf.layout.font that return FontInfo Modifier and Type Method Description FontInfoFontSelector. bestMatch()The best font match.(package private) static FontInfoFontInfo. create(byte[] fontProgram, java.lang.String encoding, java.lang.String alias, Range range)static FontInfoFontInfo. create(FontProgram fontProgram, java.lang.String encoding, java.lang.String alias)static FontInfoFontInfo. create(FontProgram fontProgram, java.lang.String encoding, java.lang.String alias, Range range)static FontInfoFontInfo. create(FontInfo fontInfo, java.lang.String alias)static FontInfoFontInfo. create(FontInfo fontInfo, java.lang.String alias, Range range)(package private) static FontInfoFontInfo. 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 booleanFontSet. addFont(FontInfo fontInfo)AddsFontInfo.booleanFontSet. addFont(FontInfo fontInfo, java.lang.String alias)AddsFontInfowith alias.booleanFontSet. addFont(FontInfo fontInfo, java.lang.String alias, Range unicodeRange)AddsFontInfowith alias.private static intFontSelector.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.intFontSelector.PdfFontComparator. compare(FontInfo o1, FontInfo o2)static FontInfoFontInfo. create(FontInfo fontInfo, java.lang.String alias)static FontInfoFontInfo. create(FontInfo fontInfo, java.lang.String alias, Range range)private static intFontSelector.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) FontProgramFontSet. getFontProgram(FontInfo fontInfo)PdfFontFontProvider. getPdfFont(FontInfo fontInfo)Get from cache or create a new instance ofPdfFont.PdfFontFontProvider. getPdfFont(FontInfo fontInfo, FontSet additionalFonts)Get from cache or create a new instance ofPdfFont.Method parameters in com.itextpdf.layout.font with type arguments of type FontInfo Modifier and Type Method Description protected FontSelectorFontProvider. 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 PdfFontAbstractFontSelectorStrategy. 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 voidSvgProcessorContext. addTemporaryFont(FontInfo fontInfo, java.lang.String alias)Add temporary font from @font-face.
-