Package org.apache.fontbox.ttf
Class FontHeaders
java.lang.Object
org.apache.fontbox.ttf.FontHeaders
To improve performance of
FileSystemFontProvider.scanFonts(...),
this class is used both as a marker (to skip unused data) and as a storage for collected data.
Tables it needs:
- NamingTable.TAG
- HeaderTable.TAG
- OS2WindowsMetricsTable.TAG
- CFFTable.TAG (for OTF)
- "gcid" (for non-OTF)
- Author:
- Mykola Bohdiuk
-
Constructor Details
-
FontHeaders
public FontHeaders()
-
-
Method Details
-
getError
-
getName
-
getHeaderMacStyle
null == no HeaderTable,ttf.getHeader().getMacStyle() -
getOS2Windows
-
getFontFamily
-
getFontSubFamily
-
isOpenTypePostScript
public boolean isOpenTypePostScript() -
getNonOtfTableGCID142
public byte[] getNonOtfTableGCID142() -
getOtfRegistry
-
getOtfOrdering
-
getOtfSupplement
public int getOtfSupplement() -
setError
-
setOtfROS
-