TTFDUMP(1)
NAME
ttfdump - Dumping the contents of a TrueType Font file
SYNOPSIS
ttfdump [-h] [-t tablename] [-g glyphnumber] [-c collection] [-i] ttfile [-o dumpfile]
DESCRIPTION
- ttfdump dumps the contents of a TrueType font file in ASCII form. A
TrueType font file is consist of various tables. Those table are
divided into two categories - Required Tables and Optional Tables.
Mulitiple TrueType fonts and be merged to a TrueType Collection.
- Options
- -h Print a help message on standard output and exit.
- -t tablename
If this option is specified then dump the table "tablename", otherwise dump every tables in ttfile. Tablename can be one of the following:Required Tablescmap character to glhph mapping tableglyf glyph datahead font headerhhea horizontal headerhmtx horizontal metricsloca index to locationmaxp maximum profilename naming tablepost PostScript informationOS/2 OS/2 and windows specific metricsOptional Tablescvt control value tablefpgm font program; not implemented yet.gasp grid-fitting and scan conversion procedure (grayscale)hdmx horizontal device metricskern kerning tableLTSH Linear threshold tableprep CVT program; not implemented yetPCLT PCL5 tableVDMX Vertical Device Metrics tablevhea vertical metrics headervmtx vertical metrics
- -g glyphnumber
If this option is specified then dump the glyph with index glyphnumber, otherwise dump all glyphs in ttfile.
- -c collection
Select a TrueType font in a TrueType Collection.
- -i ttfile
TrueType font file to be dumped.
- -o dumpfile
Output of the dump. If this option is not specified, dump to stdout.
EXAMPLE
- To dump all information in the TrueType font file times.ttf:
- ttfdump times.ttf
- To dump the required table cmap in the file:
- ttfdump -t cmap times.ttf
- To dump a single glyph with index 50:
- ttfdump -g 50 times.ttf
SEE ALSO
TrueType 1.0 Font Files, Technical Specification Revision 1.66 November 1995
NOTE
Instruction disassembler in not implemented.
AOTHOR
- Li-Da Lho, ollie@ms1.hinet.net