Class FontItem

java.lang.Object
com.adobe.xfa.font.FontInfo
com.adobe.xfa.font.FontItem
All Implemented Interfaces:
Comparable<FontInfo>

public class FontItem extends FontInfo
  • Method Details

    • ctLegacyScale

      public static double ctLegacyScale(double emScale, double advance)
    • getAFEFont

      public Font 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

      public FontInstance reconcile(UnitSpan size)
    • reconcile

      public FontInstance reconcile(UnitSpan size, double horizontalScale, double verticalScale)
    • equals

      public boolean equals(Object object)
      Overrides:
      equals in class FontInfo
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class FontInfo
    • match

      public static boolean match(FontItem o1, FontItem o2)
    • addSubsettedGlyphs

      public void addSubsettedGlyphs(int glyph, int chr)
    • getUnicodeFont

      public FontItem getUnicodeFont()
    • isPWIDApplied

      public boolean isPWIDApplied()
    • mapGlyph

      public void mapGlyph(int c, int glyphID)