afm2afm - reencode an afm file
afm2afm [-help] [-encoding encodingfile] [-kpx kpxfile] [-output outputfile] afmfile
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 (potentially much) smaller files. Additional kerning pairs can be added to the output file. If you don't specify an encoding file, the afm file isn't re-encoded; however, all unused (unencoded) 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).
-help Print a short description of the syntax -encoding encodingfile Re-encode to the enconding in encodingfile -kpx kpxfile Read additional kerning pairs from kpxfile and add these to the output. This option cannot be used to override values from the input afm file, since afm2afm will write both old and new values to the output! The kpxfile should contain kerning data in standard afm format, i.e. for each kerning pair there should be a line KPX <left_glyph> <right_glyph> <amount> All other lines in the kpxfile are ignored. -output outputfile Write the result to outputfile instead of "stdout". afmfile The afm file to be re-encoded. You may use either one or two dashes before options, and option names may be shortened to a unique prefix.
Marc Penninga <marcpenninga@gmail.com>
Copyright (C) 2005-2013 Marc Penninga.
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 afm2afm; see the file GPLv2.txt.
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.
(See the source code for the rest of the story.) 2013-08-07 Added the -kpx command-line option. Replaced all "given/when" constructions in the source code by "if"'s, to avoid warnings about experimental features in Perl 5.18 and later. 2012-02-01 Refactored the code; added the "no re-encoding, only pruning" functionality.
Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.
Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.
Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.
Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.
The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.
Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.
Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.
Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.