org.apache.fontbox.cff

Class 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 Russmann

Method Summary
static byte[]format(CFFFont font)
Create font metric data for the given CFFFont.

Method Detail

format

public static byte[] format(CFFFont font)
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 © 2008-2010 Apache Software Foundation. All Rights Reserved.