Linux Commands Examples

A great documentation place for Linux commands


convert TeX font metric (tfm) files to property lists

see also : pltotf


tftopl [OPTIONS] tfm_name[.tfm] [pl_name[.pl]]

add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!


mktextfm MnSymbolF$s
tftopl MnSymbolF$s.tfm MnSymbolF$
if [ ! -e MnSymbolF-Bold$ ]
mktextfm MnSymbolF-Bold$s
tftopl MnSymbolF-Bold$s.tfm MnSymbolF-Bold$
tftopl "../tfm/$font-It-integral.tfm" "$"
echo "== Modifying the tfm by inserting the previously generated ligtable =="
tftopl -charcode-format=octal Jena1330.tfm
perl -lne 'if ( not /^\(LIGTABLE/ .. /^\s*\)$/ ) { print } else { if ( not $already_done ) { open LIG, ""; @lines = <LIG>; close(LIG); print @lines; $already_done = 1 ; } } ' >
texindex ............ texinfo
texspell ................ TeX
textfmt ............. hylafax
tfmtodit .............. groff
tftopl .................. TeX


This manual page is not meant to be exhaustive. The complete documentation for this version of TeX can be found in the info file or manual Web2C: A TeX implementation.

The tftopl program translates a (program-oriented) font metric file to a (human-oriented) property list file. Thus, you can edit the contents of the TFM files, if the font designer has not done his or her job properly, or if you’re encountering strange difficulties, or if you’re just curious. It also serves as a TFM-file validating program, i.e., if no error messages are given, the input file is correct.

The pl_name is extended with .pl if it lacks a suffix. If pl_name is not given, standard output is used. Likewise, tfm_name is extended with .tfm if it lacks a suffix. Also, path searching is done for the TFM file using the environment variable TEXFONTS. If that is not set, tftopl uses the system default.

See tex(1) for the details of the searching.



The argument format specifies how character codes are output in the PL file. By default, only letters and digits are output using the C integer code (i.e., in ASCII); the others are output in octal. (Unless the font’s coding scheme starts with TeX math sy or TeX math ex, in which case all character codes are output in octal.) If format is ascii, all character codes that correspond to graphic characters, besides the left and right parentheses, are output in ASCII. Finally, if format is octal, all character codes are output in octal.


Without this option, tftopl operates silently. With it, a banner and progress report are printed on stdout.

see also

pltotf ,
Donald E. Knuth, TeX for nroffware.
Donald E. Knuth, The Metafontbook (Volume C of Computers and Typesetting), Addison-Wesley, 1986, ISBN 0-201-13445-4.


Donald E. Knuth wrote the program. It was published as part of the TeX for nroffware technical report, available from the TeX Users Group. Howard Trickey and Pavel Curtis originally ported it to Unix.

How can this site be more helpful to YOU ?

give  feedback