org.apache.fontbox.cff
Class AFMFormatter
java.lang.Object
org.apache.fontbox.cff.AFMFormatter
public class AFMFormatter
- extends 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 |
format
public static byte[] format(CFFFont font)
throws IOException
- 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
Copyright © 2002-2012 Apache Software Foundation. All Rights Reserved.