Package org.apache.pdfbox.pdmodel.font
Class PDPanose
- java.lang.Object
-
- org.apache.pdfbox.pdmodel.font.PDPanose
-
public class PDPanose extends java.lang.Object
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.
-
-
Field Summary
Fields Modifier and Type Field Description private byte[]
bytes
-
Constructor Summary
Constructors Constructor Description PDPanose(byte[] bytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getFamilyClass()
The font family class and subclass ID bytes, given in the sFamilyClass field of the “OS/2” table in a TrueType font.PDPanoseClassification
getPanose()
Ten bytes for the PANOSE classification number for the font.
-
-
-
Method Detail
-
getFamilyClass
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.
-
getPanose
public PDPanoseClassification getPanose()
Ten bytes for the PANOSE classification number for the font.- See Also:
- http://www.monotype.com/services/pan1
-
-