Package com.adobe.xfa.font
Class FontItem
java.lang.Object
com.adobe.xfa.font.FontInfo
com.adobe.xfa.font.FontItem
- All Implemented Interfaces:
Comparable<FontInfo>
-
Field Summary
Fields inherited from class com.adobe.xfa.font.FontInfo
STYLE_ITALIC, STYLE_UNKNOWN, STYLE_UPRIGHT, WEIGHT_BOLD, WEIGHT_NORMAL, WEIGHT_UNKNOWN -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSubsettedGlyphs(int glyph, int chr) static doublectLegacyScale(double emScale, double advance) booleandoubledoublegetCharWidth(int c, boolean useHorizontalGlyphs) doubleintgetGlyphID(int c) doublegetGlyphWidth(int glyphID, boolean useHorizontalGlyphs) doubledoubledoubleintdoubleinthashCode()booleanvoidmapGlyph(int c, int glyphID) static booleanbooleanvalidateChar(int c, boolean useHorizontalGlyphs) Methods inherited from class com.adobe.xfa.font.FontInfo
compareTo, createFromAFEDescription, getItalic, getLegacySizeDiff, getStretchDiff, getTypeface, getWeight, match, toString
-
Method Details
-
ctLegacyScale
public static double ctLegacyScale(double emScale, double advance) -
getAFEFont
-
getAscent
public double getAscent() -
getLegacyAscent
public double getLegacyAscent() -
getDescent
public double getDescent() -
getLineGap
public double getLineGap() -
getLegacyLineGap
public double getLegacyLineGap() -
getSpacing
public double getSpacing() -
getCharWidth
public double getCharWidth(int c, boolean useHorizontalGlyphs) -
getNotDefGlyphID
public int getNotDefGlyphID() -
getGlyphID
public int getGlyphID(int c) -
getGlyphWidth
public double getGlyphWidth(int glyphID, boolean useHorizontalGlyphs) -
validateChar
public boolean validateChar(int c, boolean useHorizontalGlyphs) -
reconcile
-
reconcile
-
equals
-
hashCode
public int hashCode() -
match
-
addSubsettedGlyphs
public void addSubsettedGlyphs(int glyph, int chr) -
getUnicodeFont
-
isPWIDApplied
public boolean isPWIDApplied() -
mapGlyph
public void mapGlyph(int c, int glyphID)
-