Advertisement


What can I do with AFM - Adobe font metrics file?


Question

I received zip containing font in .afm format. Is this some sort of source-code of a font that can be converted TTF/OTF or so? How can I actually read and use this file?

2011/06/19
1
13
6/19/2011 6:41:00 PM

Accepted Answer

As the name implies, a .afm file contains the metrics (kerning, letterspacing, etc.) information for a font. It is a Postscript file, but is not the font itself, which would have the same name with a .pfa extension. You would need both in order to run a conversion utility. The exact nature of the files and the conversion utility you would need (.pfa and .afm are generally Linux files, ascii Postscript versions of what would be compiled to .pfb and .pfm binary on Windows, for example) depends on which platform you're on.

In any case, without the actual font outline data, the .afm file does nothing.

I did find one free utility that claims to do the conversion. Perhaps some other folks here will know of others.

2011/06/19
6
6/19/2011 7:49:00 PM