public final class FontHeaders extends Object
FileSystemFontProvider.scanFonts(...),
this class is used both as a marker (to skip unused data) and as a storage for collected data.
Tables it needs:
| Constructor and Description |
|---|
FontHeaders() |
| Modifier and Type | Method and Description |
|---|---|
String |
getError() |
String |
getFontFamily() |
String |
getFontSubFamily() |
Integer |
getHeaderMacStyle()
null == no HeaderTable,
ttf.getHeader().getMacStyle() |
String |
getName() |
byte[] |
getNonOtfTableGCID142() |
OS2WindowsMetricsTable |
getOS2Windows() |
String |
getOtfOrdering() |
String |
getOtfRegistry() |
int |
getOtfSupplement() |
boolean |
isOpenTypePostScript() |
void |
setError(String exception) |
void |
setOtfROS(String otfRegistry,
String otfOrdering,
int otfSupplement) |
public String getError()
public String getName()
public Integer getHeaderMacStyle()
ttf.getHeader().getMacStyle()public OS2WindowsMetricsTable getOS2Windows()
public String getFontFamily()
public String getFontSubFamily()
public boolean isOpenTypePostScript()
public byte[] getNonOtfTableGCID142()
public String getOtfRegistry()
public String getOtfOrdering()
public int getOtfSupplement()
public void setError(String exception)
Copyright © 2008–2025 The Apache Software Foundation. All rights reserved.