| 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(FontInfo fontInfo,
String alias,
Range range) |
static FontInfo |
FontInfo.create(com.itextpdf.io.font.FontProgram fontProgram,
String encoding,
String alias) |
static FontInfo |
FontInfo.create(com.itextpdf.io.font.FontProgram fontProgram,
String encoding,
String alias,
Range range) |
| 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 additionalFonts)
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. |
boolean |
FontSet.addFont(FontInfo fontInfo,
String alias,
Range unicodeRange)
Adds
FontInfo with alias. |
static FontInfo |
FontInfo.create(FontInfo fontInfo,
String alias) |
static FontInfo |
FontInfo.create(FontInfo fontInfo,
String alias,
Range range) |
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 additionalFonts)
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–2020 iText Group NV. All rights reserved.