Class Base14Font

java.lang.Object
org.apache.fop.fonts.Typeface
org.apache.fop.fonts.Base14Font
All Implemented Interfaces:
FontMetrics
Direct Known Subclasses:
Courier, CourierBold, CourierBoldOblique, CourierOblique, Helvetica, HelveticaBold, HelveticaBoldOblique, HelveticaOblique, Symbol, TimesBold, TimesBoldItalic, TimesItalic, TimesRoman, ZapfDingbats

public abstract class Base14Font extends Typeface
Base class for all Base 14 fonts.
  • Constructor Details

    • Base14Font

      public Base14Font()
  • Method Details

    • getStrikeoutPosition

      public int getStrikeoutPosition(int size)
      Description copied from interface: FontMetrics
      Returns the distance from the baseline to the center of the strikeout line (negative value indicates below baseline).
      Parameters:
      size - font size
      Returns:
      the position in 1/1000ths of the font size
    • getStrikeoutThickness

      public int getStrikeoutThickness(int size)
      Description copied from interface: FontMetrics
      Returns the thickness of the strikeout line.
      Parameters:
      size - font size
      Returns:
      the thickness in 1/1000ths of the font size