Package org.apache.fontbox.cff
Class AFMFormatter
- java.lang.Object
-
- org.apache.fontbox.cff.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.
-
-
-
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
-
-