Class OFTableName
java.lang.Object
org.docx4j.fonts.fop.fonts.truetype.OFTableName
public final class OFTableName
extends java.lang.Object
Represents 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
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()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Field Details
-
TABLE_DIRECTORY
The first table in a TrueType font file containing metadata about other tables. -
BASE
Baseline data -
CFF
CFF data/ -
EBDT
Embedded bitmap data. -
EBLC
Embedded bitmap location data. -
EBSC
Embedded bitmap scaling data. -
FFTM
A FontForge specific table. -
GDEF
Divides glyphs into various classes that make using the GPOS/GSUB tables easier. -
GPOS
Provides kerning information, mark-to-base, etc. for opentype fonts. -
GSUB
Provides ligature information, swash, etc. for opentype fonts. -
LTSH
Linear threshold table. -
OS2
OS/2 and Windows specific metrics. -
PCLT
PCL 5 data. -
VDMX
Vertical Device Metrics table. -
CMAP
Character to glyph mapping. -
CVT
Control Value Table. -
FPGM
Font program. -
GASP
Grid-fitting and scan conversion procedure (grayscale). -
GLYF
Glyph data. -
HDMX
Horizontal device metrics. -
HEAD
Font header. -
HHEA
Horizontal header. -
HMTX
Horizontal metrics. -
KERN
Kerning. -
LOCA
Index to location. -
MAXP
Maximum profile. -
NAME
Naming table. -
POST
PostScript information. -
PREP
CVT Program. -
VHEA
Vertical Metrics header. -
VMTX
Vertical Metrics.
-
-
Method Details
-
getName
public java.lang.String getName()Returns the name of the table as it should be in the Directory Table. -
getValue
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
-