Class FontInfo
java.lang.Object
com.itextpdf.layout.font.FontInfo
Contains all font related data to create
FontProgram and PdfFont.
FontProgramDescriptor fetches with FontProgramDescriptorFactory.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic FontInfocreate(FontProgram fontProgram, String encoding, String alias) static FontInfocreate(FontProgram fontProgram, String encoding, String alias, Range range) static FontInfostatic FontInfobooleangetAlias()Gets font alias.byte[]Gets font data, ifFontInfowas created withbyte[].Gets path to font, ifFontInfowas created by String.inthashCode()toString()
-
Method Details
-
create
-
create
-
create
-
create
-
getDescriptor
-
getFontUnicodeRange
-
getFontName
Gets path to font, ifFontInfowas created by String. Note, to get PostScript or full name, usegetDescriptor().- Returns:
- the font name
-
getFontData
-
getEncoding
-
getAlias
-
equals
-
hashCode
-
toString
-