Package | Description |
---|---|
org.apache.fontbox.afm |
This package holds classes used to parse AFM(Adobe Font Metrics) files.
|
org.apache.pdfbox.pdmodel.font |
Classes to deal with font functionality in a PDF Document.
|
org.apache.pdfbox.pdmodel.font.encoding |
Modifier and Type | Method and Description |
---|---|
FontMetrics |
AFMParser.parse()
This will parse the AFM document.
|
FontMetrics |
AFMParser.parse(boolean reducedDataset)
This will parse the AFM document.
|
private FontMetrics |
AFMParser.parseFontMetric(boolean reducedDataset)
This will parse a font metrics item.
|
Modifier and Type | Method and Description |
---|---|
private void |
AFMParser.parseKernData(FontMetrics fontMetrics)
This will parse the kern data.
|
Modifier and Type | Field and Description |
---|---|
private FontMetrics |
PDFont.afmStandard14
AFM for standard 14 fonts
|
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.String,FontMetrics> |
Standard14Fonts.STANDARD14_AFM_MAP |
Modifier and Type | Method and Description |
---|---|
static FontMetrics |
Standard14Fonts.getAFM(java.lang.String baseName)
Returns the AFM for the given font.
|
protected FontMetrics |
PDFont.getStandard14AFM()
Returns the AFM if this is a Standard 14 font.
|
Modifier and Type | Method and Description |
---|---|
(package private) static PDFontDescriptor |
PDType1FontEmbedder.buildFontDescriptor(FontMetrics metrics)
Returns a PDFontDescriptor for the given AFM.
|
Constructor and Description |
---|
Type1Encoding(FontMetrics fontMetrics)
Creates an encoding from the given AFM font metrics.
|