Package org.apache.pdfbox.pdmodel.font
Class PDPanose
- java.lang.Object
-
- org.apache.pdfbox.pdmodel.font.PDPanose
-
public class PDPanose extends java.lang.ObjectRepresents 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
Fields Modifier and Type Field Description static intLENGTHLength.
-
Constructor Summary
Constructors Constructor Description PDPanose(byte[] bytes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetFamilyClass()The font family class and subclass ID bytes, given in the sFamilyClass field of the ?OS/2? table in a TrueType font.PDPanoseClassificationgetPanose()Ten bytes for the PANOSE classification number for the font.
-
-
-
Field Detail
-
LENGTH
public static final int LENGTH
Length.- See Also:
- Constant Field Values
-
-
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
-
-