Package | Description |
---|---|
com.itextpdf.layout.font |
Modifier and Type | Field and Description |
---|---|
protected List<FontInfo> |
FontSelector.fonts |
protected Map<FontInfo,PdfFont> |
FontProvider.pdfFonts |
Modifier and Type | Method and Description |
---|---|
FontInfo |
FontSelector.bestMatch()
The best font match.
|
static FontInfo |
FontInfo.create(FontInfo fontInfo, String alias) |
static FontInfo |
FontInfo.create(FontProgram fontProgram, String encoding, String alias) |
Modifier and Type | Method and Description |
---|---|
Collection<FontInfo> |
FontSet.get(String fontName)
Search in existed fonts for PostScript name or full font name.
|
protected Comparator<FontInfo> |
FontSelector.getComparator(List<String> fontFamilies, FontCharacteristics fc) |
Iterable<FontInfo> |
FontSelector.getFonts()
Sorted set of fonts.
|
Collection<FontInfo> |
FontSet.getFonts()
Gets available fonts.
|
Collection<FontInfo> |
FontSet.getFonts(FontSet tempFonts)
Gets union of available and temporary fonts.
|
Modifier and Type | Method and Description |
---|---|
boolean |
FontSet.addFont(FontInfo fontInfo)
Adds FontInfo .
|
boolean |
FontSet.addFont(FontInfo fontInfo, String alias)
Adds FontInfo with alias.
|
static FontInfo |
FontInfo.create(FontInfo fontInfo, String alias) |
protected PdfFont |
FontSelectorStrategy.getPdfFont(FontInfo fontInfo)
Utility method to create PdfFont.
|
PdfFont |
FontProvider.getPdfFont(FontInfo fontInfo)
Get from cache or create a new instance of PdfFont .
|
PdfFont |
FontProvider.getPdfFont(FontInfo fontInfo, FontSet tempFonts)
Get from cache or create a new instance of PdfFont .
|
Modifier and Type | Method and Description |
---|---|
protected FontSelector |
FontProvider.createFontSelector(Collection<FontInfo> fonts, List<String> fontFamilies, FontCharacteristics fc)
Create a new instance of FontSelector .
|
Constructor and Description |
---|
FontSelector(Collection<FontInfo> allFonts, List<String> fontFamilies, FontCharacteristics fc)
Create new FontSelector instance.
|
Copyright © 1998–2018 iText Group NV. All rights reserved.