Class Font

java.lang.Object
org.apache.maven.doxia.module.rtf.Font

class Font extends Object
A basic font descriptor using standard PostScript font metrics to compute text extents. All dimensions returned are in twips.
  • Field Details

    • size

      private int size
    • metrics

      private FontMetrics metrics
  • Constructor Details

  • Method Details

    • ascent

      int ascent()
    • descent

      int descent()
    • textExtents

      Font.TextExtents textExtents(String text)
    • toTwips

      private int toTwips(int length)