Package | Description |
---|---|
org.apache.fontbox.type1 |
This package holds classes used to parse Type1-Fonts.
|
org.apache.pdfbox.pdmodel.font |
Classes to deal with font functionality in a PDF Document.
|
Modifier and Type | Field and Description |
---|---|
private Type1Font |
Type1Parser.font |
Modifier and Type | Method and Description |
---|---|
static Type1Font |
Type1Font.createWithPFB(byte[] pfbBytes)
Constructs a new Type1Font object from a .pfb stream.
|
static Type1Font |
Type1Font.createWithPFB(java.io.InputStream pfbStream)
Constructs a new Type1Font object from a .pfb stream.
|
static Type1Font |
Type1Font.createWithSegments(byte[] segment1,
byte[] segment2)
Constructs a new Type1Font object from two header-less .pfb segments.
|
Type1Font |
Type1Parser.parse(byte[] segment1,
byte[] segment2)
Parses a Type 1 font and returns a Type1Font class which represents it.
|
Modifier and Type | Field and Description |
---|---|
private Type1Font |
PDType1FontEmbedder.type1 |
private Type1Font |
PDType1Font.type1font
embedded font.
|
Modifier and Type | Method and Description |
---|---|
Type1Font |
PDType1FontEmbedder.getType1Font()
Returns the Type 1 font.
|
Type1Font |
PDType1Font.getType1Font()
Returns the embedded or substituted Type 1 font, or null if there is none.
|
private Type1Font |
FileSystemFontProvider.FSFontInfo.getType1Font(java.lang.String postScriptName,
java.io.File file) |
Modifier and Type | Method and Description |
---|---|
(package private) static PDFontDescriptor |
PDType1FontEmbedder.buildFontDescriptor(Type1Font type1)
Returns a PDFontDescriptor for the given PFB.
|