Package com.adobe.fontengine.font.type1
Class MetricFile
java.lang.Object
com.adobe.fontengine.font.type1.MetricFile
Represents the secondary file needed by type1 fonts to access kerning data, etc.
Possible examples of metric files are .pfm, .afm, and suitcase files.
Synchronization
This class is immutable after contruction and contains no mutable static data. It is therefore threadsafe.-
Method Summary
Modifier and TypeMethodDescriptionabstract StringFetch the platform name for the font associated with this file.abstract StringFetch the postscript name for the font associated with this file.abstract doublegetKernValue(String leftGlyphName, String rightGlyphName) Fetch the kern value for 2 glyphIDs.final URLabstract intFetch the weight for this font.
-
Method Details
-
getKernValue
Fetch the kern value for 2 glyphIDs. -
getFamilyName
Fetch the platform name for the font associated with this file. Returns null if the file does not contain this information. -
getFontName
Fetch the postscript name for the font associated with this file. -
getWeight
public abstract int getWeight()Fetch the weight for this font. Returns 0 if the file does not contain this information . -
getLocation
-