Class AFMFormatter

java.lang.Object
org.apache.fontbox.cff.AFMFormatter

public class AFMFormatter extends 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 Details

    • format

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