Uses of Class
org.apache.fontbox.afm.FontMetrics
Packages that use FontMetrics
Package
Description
This package holds classes used to parse AFM(Adobe Font Metrics) files.
Classes to deal with font functionality in a PDF Document.
-
Uses of FontMetrics in org.apache.fontbox.afm
Methods in org.apache.fontbox.afm that return FontMetricsModifier and TypeMethodDescriptionAFMParser.parse()
This will parse the AFM document.AFMParser.parse
(boolean reducedDataset) This will parse the AFM document.private FontMetrics
AFMParser.parseFontMetric
(boolean reducedDataset) This will parse a font metrics item.Methods in org.apache.fontbox.afm with parameters of type FontMetricsModifier and TypeMethodDescriptionprivate void
AFMParser.parseKernData
(FontMetrics fontMetrics) This will parse the kern data. -
Uses of FontMetrics in org.apache.pdfbox.pdmodel.font
Fields in org.apache.pdfbox.pdmodel.font declared as FontMetricsModifier and TypeFieldDescriptionprivate final FontMetrics
PDFont.afmStandard14
AFM for standard 14 fontsFields in org.apache.pdfbox.pdmodel.font with type parameters of type FontMetricsModifier and TypeFieldDescriptionprivate static final Map<String,
FontMetrics> Standard14Fonts.FONTS
Contains the font metrics for the base fonts.Methods in org.apache.pdfbox.pdmodel.font that return FontMetricsModifier and TypeMethodDescriptionstatic FontMetrics
Returns the metrics for font specified by fontName.protected final FontMetrics
PDFont.getStandard14AFM()
Returns the AFM if this is a Standard 14 font.Methods in org.apache.pdfbox.pdmodel.font with parameters of type FontMetricsModifier and TypeMethodDescription(package private) static PDFontDescriptor
PDType1FontEmbedder.buildFontDescriptor
(FontMetrics metrics) Returns a PDFontDescriptor for the given AFM. -
Uses of FontMetrics in org.apache.pdfbox.pdmodel.font.encoding
Constructors in org.apache.pdfbox.pdmodel.font.encoding with parameters of type FontMetricsModifierConstructorDescriptionType1Encoding
(FontMetrics fontMetrics) Creates an encoding from the given AFM font metrics.