Package org.apache.fop.fonts.truetype
Class OFTableName
- java.lang.Object
-
- org.apache.fop.fonts.truetype.OFTableName
-
public final class OFTableName extends java.lang.ObjectRepresents table names as found in a TrueType font's Table Directory. TrueType fonts may have custom tables so we cannot use an enum.
-
-
Field Summary
Fields Modifier and Type Field Description static OFTableNameBASEBaseline datastatic OFTableNameCFFCFF data/static OFTableNameCMAPCharacter to glyph mapping.static OFTableNameCVTControl Value Table.static OFTableNameEBDTEmbedded bitmap data.static OFTableNameEBLCEmbedded bitmap location data.static OFTableNameEBSCEmbedded bitmap scaling data.static OFTableNameFFTMA FontForge specific table.static OFTableNameFPGMFont program.static OFTableNameGASPGrid-fitting and scan conversion procedure (grayscale).static OFTableNameGDEFDivides glyphs into various classes that make using the GPOS/GSUB tables easier.static OFTableNameGLYFGlyph data.static OFTableNameGPOSProvides kerning information, mark-to-base, etc.static OFTableNameGSUBProvides ligature information, swash, etc.static OFTableNameHDMXHorizontal device metrics.static OFTableNameHEADFont header.static OFTableNameHHEAHorizontal header.static OFTableNameHMTXHorizontal metrics.static OFTableNameKERNKerning.static OFTableNameLOCAIndex to location.static OFTableNameLTSHLinear threshold table.static OFTableNameMAXPMaximum profile.static OFTableNameNAMENaming table.static OFTableNameOS2OS/2 and Windows specific metrics.static OFTableNamePCLTPCL 5 data.static OFTableNamePOSTPostScript information.static OFTableNamePREPCVT Program.static OFTableNameTABLE_DIRECTORYThe first table in a TrueType font file containing metadata about other tables.static OFTableNameVDMXVertical Device Metrics table.static OFTableNameVHEAVertical Metrics header.static OFTableNameVMTXVertical Metrics.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetName()Returns the name of the table as it should be in the Directory Table.static OFTableNamegetValue(java.lang.String tableName)Returns an instance of this class corresponding to the given string representation.inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
TABLE_DIRECTORY
public static final OFTableName TABLE_DIRECTORY
The first table in a TrueType font file containing metadata about other tables.
-
BASE
public static final OFTableName BASE
Baseline data
-
CFF
public static final OFTableName CFF
CFF data/
-
EBDT
public static final OFTableName EBDT
Embedded bitmap data.
-
EBLC
public static final OFTableName EBLC
Embedded bitmap location data.
-
EBSC
public static final OFTableName EBSC
Embedded bitmap scaling data.
-
FFTM
public static final OFTableName FFTM
A FontForge specific table.
-
GDEF
public static final OFTableName GDEF
Divides glyphs into various classes that make using the GPOS/GSUB tables easier.
-
GPOS
public static final OFTableName GPOS
Provides kerning information, mark-to-base, etc. for opentype fonts.
-
GSUB
public static final OFTableName GSUB
Provides ligature information, swash, etc. for opentype fonts.
-
LTSH
public static final OFTableName LTSH
Linear threshold table.
-
OS2
public static final OFTableName OS2
OS/2 and Windows specific metrics.
-
PCLT
public static final OFTableName PCLT
PCL 5 data.
-
VDMX
public static final OFTableName VDMX
Vertical Device Metrics table.
-
CMAP
public static final OFTableName CMAP
Character to glyph mapping.
-
CVT
public static final OFTableName CVT
Control Value Table.
-
FPGM
public static final OFTableName FPGM
Font program.
-
GASP
public static final OFTableName GASP
Grid-fitting and scan conversion procedure (grayscale).
-
GLYF
public static final OFTableName GLYF
Glyph data.
-
HDMX
public static final OFTableName HDMX
Horizontal device metrics.
-
HEAD
public static final OFTableName HEAD
Font header.
-
HHEA
public static final OFTableName HHEA
Horizontal header.
-
HMTX
public static final OFTableName HMTX
Horizontal metrics.
-
KERN
public static final OFTableName KERN
Kerning.
-
LOCA
public static final OFTableName LOCA
Index to location.
-
MAXP
public static final OFTableName MAXP
Maximum profile.
-
NAME
public static final OFTableName NAME
Naming table.
-
POST
public static final OFTableName POST
PostScript information.
-
PREP
public static final OFTableName PREP
CVT Program.
-
VHEA
public static final OFTableName VHEA
Vertical Metrics header.
-
VMTX
public static final OFTableName VMTX
Vertical Metrics.
-
-
Method Detail
-
getName
public java.lang.String getName()
Returns the name of the table as it should be in the Directory Table.
-
getValue
public static OFTableName getValue(java.lang.String tableName)
Returns an instance of this class corresponding to the given string representation.- Parameters:
tableName- table name as in the Table Directory- Returns:
- TTFTableName
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-