org.apache.fontbox.cff
Class AFMFormatter

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

public class AFMFormatter
extends java.lang.Object

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
static byte[] format(CFFFont font)
          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
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