Top Description Fields Constructors Methods
org.apache.pdfbox.pdmodel.font

public Class PDPanose

extends Object
Class Inheritance
Imports
java.util.Arrays

Represents the "Panose" entry of a FontDescriptor's Style dictionary. This is a sequence of 12 bytes which contain both the TTF sFamilyClass and PANOSE classification bytes.
Author
John Hewson

Field Summary

Modifier and TypeField and Description
private final byte[]
public static final int
LENGTH

Length.

Constructor Summary

AccessConstructor and Description
public
PDPanose(byte[] bytes)

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

font family class and subclass ID bytes
getFamilyClass
()

The font family class and subclass ID bytes, given in the sFamilyClass field of the “OS/2” table in a TrueType font.

public PDPanoseClassification

Returns:

the PANOSE classification number
getPanose
()

Ten bytes for the PANOSE classification number for the font.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

bytesback to summary
private final byte[] bytes
LENGTHback to summary
public static final int LENGTH

Length.

Constructor Detail

PDPanoseback to summary
public PDPanose(byte[] bytes)

Method Detail

getFamilyClassback to summary
public int getFamilyClass()

The font family class and subclass ID bytes, given in the sFamilyClass field of the “OS/2” table in a TrueType font.

Returns:int

font family class and subclass ID bytes

See Also
http://www.microsoft.com/typography/otspec/ibmfc.htm
getPanoseback to summary
public PDPanoseClassification getPanose()

Ten bytes for the PANOSE classification number for the font.

Returns:PDPanoseClassification

the PANOSE classification number

See Also
http://www.monotype.com/services/pan1