1. NAME▲
afm2afm - reencode an afm file
2. SYNOPSIS ▲
afm2afm 8 [-help] [-encoding encodingfile] [-output outputfile] afmfile
3. DESCRIPTION ▲
afm2afm re-encodes an afm file.
Metrics (including kerning data) for characters not present in the chosen encoding are excluded from the output, which resuls in much smaller files.
Note that if you don't specify an encoding file, the afm file isn't re-encoded, but the unused data is still pruned.
The program also generates an entry for a dvips-style map file, but only if the afm file has been re-encoded and the output was written to file (i.e., if both the -encoding and -output options were specified).
4. OPTIONS AND ARGUMENTS ▲
-help 4 Print a short description of the syntax
-encoding encodingfile 4 Re-encode to the enconding in encodingfile
-output outputfile 4 Write the result to outputfile instead of « stdout ».
afmfile 4 The afm file to be re-encoded.
Option names may be shortened to a unique prefix.
5. AUTHOR ▲
Marc Penninga <>
6. COPYRIGHT ▲
Copyright (C) 2005-2012 Marc Penninga.
7. LICENSE ▲
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version. A copy of the GNU General Public License is included with autoinst; see the file GPLv2.txt.
8. DISCLAIMER ▲
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
9. RECENT CHANGES ▲
(See the source code for the rest of the story.)
2012-02-01 12 Refactored the code; added the no re-encoding, only pruning functionality.