| Modifier and Type | Class and Description |
|---|---|
class |
PdfSimpleFont<T extends FontProgram> |
class |
PdfTrueTypeFont
Note.
|
class |
PdfType0Font |
class |
PdfType1Font |
class |
PdfType3Font
Low-level API class for Type 3 fonts.
|
| Modifier and Type | Method and Description |
|---|---|
static PdfFont |
PdfFontFactory.createFont()
Creates a default font, namely
FontConstants.HELVETICA standard font with PdfEncodings.WINANSI encoding. |
static PdfFont |
PdfFontFactory.createFont(byte[] fontProgram,
boolean embedded)
Created a
PdfFont instance by the bytes of the underlying font program. |
static PdfFont |
PdfFontFactory.createFont(byte[] fontProgram,
String encoding)
Created a
PdfFont instance by the bytes of the underlying font program. |
static PdfFont |
PdfFontFactory.createFont(byte[] fontProgram,
String encoding,
boolean embedded)
Created a
PdfFont instance by the bytes of the underlying font program. |
static PdfFont |
PdfFontFactory.createFont(byte[] fontProgram,
String encoding,
boolean embedded,
boolean cached)
Created a
PdfFont instance by the bytes of the underlying font program. |
static PdfFont |
PdfFontFactory.createFont(FontProgram fontProgram)
Created a
PdfFont instance given the given underlying FontProgram instance. |
static PdfFont |
PdfFontFactory.createFont(FontProgram fontProgram,
String encoding)
Created a
PdfFont instance given the given underlying FontProgram instance. |
static PdfFont |
PdfFontFactory.createFont(FontProgram fontProgram,
String encoding,
boolean embedded)
Created a
PdfFont instance given the given underlying FontProgram instance. |
static PdfFont |
PdfFontFactory.createFont(PdfDictionary fontDictionary)
Creates a
PdfFont by existing font dictionary. |
static PdfFont |
PdfFontFactory.createFont(String fontProgram)
Creates a
PdfFont instance by the path of the font program file |
static PdfFont |
PdfFontFactory.createFont(String fontProgram,
boolean embedded)
Created a
PdfFont instance given the path to the font file. |
static PdfFont |
PdfFontFactory.createFont(String fontProgram,
String encoding)
Creates a
PdfFont instance by the path of the font program file and given encoding. |
static PdfFont |
PdfFontFactory.createFont(String fontProgram,
String encoding,
boolean embedded)
Created a
PdfFont instance given the path to the font file. |
static PdfFont |
PdfFontFactory.createFont(String fontProgram,
String encoding,
boolean embedded,
boolean cached)
Created a
PdfFont instance given the path to the font file. |
static PdfFont |
PdfFontFactory.createRegisteredFont(String fontName)
Creates
PdfFont based on registered FontProgram's. |
static PdfFont |
PdfFontFactory.createRegisteredFont(String fontName,
String encoding)
Creates
PdfFont based on registered FontProgram's. |
static PdfFont |
PdfFontFactory.createRegisteredFont(String fontName,
String encoding,
boolean embedded)
Creates
PdfFont based on registered FontProgram's. |
static PdfFont |
PdfFontFactory.createRegisteredFont(String fontName,
String encoding,
boolean embedded,
boolean cached)
Creates
PdfFont based on registered FontProgram's. |
static PdfFont |
PdfFontFactory.createRegisteredFont(String fontName,
String encoding,
boolean embedded,
int style)
Creates
PdfFont based on registered FontProgram's. |
static PdfFont |
PdfFontFactory.createRegisteredFont(String fontName,
String encoding,
boolean embedded,
int style,
boolean cached)
Creates
PdfFont based on registered FontProgram's. |
static PdfFont |
PdfFontFactory.createTtcFont(byte[] ttc,
int ttcIndex,
String encoding,
boolean embedded,
boolean cached)
Creates a
PdfFont instance from the TrueTypeCollection represented by its byte contents. |
static PdfFont |
PdfFontFactory.createTtcFont(String ttc,
int ttcIndex,
String encoding,
boolean embedded,
boolean cached)
Creates a
PdfFont instance from the TrueTypeCollection given by the path to the .ttc file. |
| Modifier and Type | Field and Description |
|---|---|
protected Set<PdfFont> |
PdfDocument.documentFonts |
| Modifier and Type | Method and Description |
|---|---|
protected Set<PdfFont> |
PdfDocument.getDocumentFonts()
List all newly added or loaded fonts
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
PdfTextArray.add(String text,
PdfFont font) |
PdfName |
PdfResources.addFont(PdfDocument pdfDocument,
PdfFont font)
Adds font to resources and register PdfFont in the document for further flushing.
|
| Modifier and Type | Method and Description |
|---|---|
PdfTrapNetworkAnnotation |
PdfTrapNetworkAnnotation.setFauxedFonts(List<PdfFont> fauxedFonts) |
| Modifier and Type | Method and Description |
|---|---|
PdfFont |
CanvasGraphicsState.getFont() |
| Modifier and Type | Method and Description |
|---|---|
void |
CanvasGraphicsState.setFont(PdfFont font) |
PdfCanvas |
PdfCanvas.setFontAndSize(PdfFont font,
float size)
Sets font and size (PDF Tf operator).
|
| Modifier and Type | Method and Description |
|---|---|
protected PdfFont |
PdfCanvasProcessor.getFont(PdfDictionary fontDict)
Gets the font pointed to by the indirect reference.
|
| Modifier and Type | Method and Description |
|---|---|
PdfFont |
TextRenderInfo.getFont()
Getter for the font
|
Copyright © 1998–2016 iText Group NV. All rights reserved.