Next Previous Contents

3. ttf2afm (TrueType -> .afm)

This is a wrapper around ttf2pfa that creates an .afm font metric file and throws away the bad Type 3 .pfa file. Note that for use with StarOffice the files must be munged by another script, afm.pl, which is not included in the ttfutils at the moment. You can get it from http://www.cs.tu-bs.de/~krinke/starwriterfonts.html.

3.1 Usage

tt2afm fontfile.ttf [fontfile2.ttf [fontfile3.ttf ...]]

Creates fontfile*.afm for each fontfile*.ttf.

3.2 Requirements

The external program ttf2pfa is used; this is available along with ttf2pt1 from http://www.netspace.net.au/~mheath/ttf2pt1/.

3.3 Bugs

Will overwrite and delete any existing .pfa files in the working directory with the same names as the TrueType font files.


Next Previous Contents