| Modifier and Type | Method and Description |
|---|---|
static FontInfo |
create(FontInfo fontInfo,
String alias) |
static FontInfo |
create(com.itextpdf.io.font.FontProgram fontProgram,
String encoding,
String alias) |
boolean |
equals(Object o) |
String |
getAlias()
Gets font alias.
|
com.itextpdf.io.font.FontProgramDescriptor |
getDescriptor() |
String |
getEncoding() |
byte[] |
getFontData()
Gets font data, if
FontInfo was created with byte[]. |
String |
getFontName()
Gets path to font, if
FontInfo was created by String. |
int |
hashCode() |
String |
toString() |
public static FontInfo create(com.itextpdf.io.font.FontProgram fontProgram, String encoding, String alias)
public com.itextpdf.io.font.FontProgramDescriptor getDescriptor()
public String getFontName()
FontInfo was created by String.
Note, to get PostScript or full name, use getDescriptor().public byte[] getFontData()
FontInfo was created with byte[].public String getEncoding()
public String getAlias()
Copyright © 1998–2018 iText Group NV. All rights reserved.