com.openpcl.pclrenderimage.softfont
Class PriFontHeaderFactory
java.lang.Object
com.openpcl.pclrenderimage.softfont.PriFontHeaderFactory
public class PriFontHeaderFactory
- extends Object
Creates appropriate font header format.
- Version:
- 1.0
- Author:
- BrainCoders.com
Method Summary |
static PriFontHeader |
getFontHeader(byte[] data)
Creates an appropriate instance of one of derived by PriFontHeader classes
using binary data containing header info. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getFontHeader
public static PriFontHeader getFontHeader(byte[] data)
- Creates an appropriate instance of one of derived by PriFontHeader classes
using binary data containing header info.
Different header formats can be found in PCL Tecnical Reference
Soft Font Creation
- Parameters:
data
- array of binary data containing font header
- Returns:
- Approriate font header format.
OpenPCL http://www.openpcl.com