Class AFMFormatter


  • public class AFMFormatter
    extends java.lang.Object
    Deprecated.
    will be removed in 2.0. The CFFParse will create the font metrics itself.
    This class creates all needed AFM font metric data from a CFFFont ready to be read from a AFMPaser.
    Version:
    $Revision$
    Author:
    Villu Ruusmann
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static byte[] format​(CFFFont font)
      Deprecated.
      Create font metric data for the given CFFFont.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • format

        public static byte[] format​(CFFFont font)
                             throws java.io.IOException
        Deprecated.
        Create font metric data for the given CFFFont.
        Parameters:
        font - the CFFFont
        Returns:
        the created font metric data
        Throws:
        java.io.IOException - if an error occurs during reading