Introduction
A TeX Font Metric file holds only what typesetting needs to know about a font, such as the width, height and depth of each character. The shapes of the characters are kept elsewhere, for instance in PK files.
Structure
The file is binary, with big-endian numbers. It opens with a set of 16-bit lengths,
beginning with the length of the file and of the header and the first and last
character codes. A header with a checksum and the design size follows, then a table
of information for each character and tables of widths, heights, depths and other
values. The tftopl program converts a TFM file into a readable property
list, and pltotf converts back.
Not described
This page is a first outline. The tables are not yet described here.
Known, not yet covered
- Reference: every length, table and number format, including ligature and kerning programs.
- Viewer: the site has no viewer for this format.
Links
Software
- TeXware: tftopl and pltotf – convert metric files to and from text; in TeX Live and MiKTeX
Reference
- The TFtoPL processor – the program source with the format described