Joe
a@b.c (a@b.c) writes:
> On Sun, 07 Sep 1997 21:37:37 -0400, Joseph Carmel <jca...@home.com>
> wrote:
> >Does anyone know how to create a PFM file given a PFB file only? Thanks.
> As a general rule, you can't. PFM files are generally created from a
> combination of the AFM and INF files and they especially need the AFM
> file so that they can get the kerning information. If you are asking
> about an Adobe font, you can generally get the AFM and INF from their
> FTP site.
You can use PFAtoAFM and AFMtoPFM from the Y&Y Font Manipulation Package.
But as pointed out here you won't get the kerning pairs since they are
not in the outline font file itself.
--
Berthold K.P. Horn mailto:bk...@ai.mit.edu
Cambridge, Massachusetts, USA
DISCLAIMER: respondent has connections with http://www.yandy.com
The shareware program Refont (registered version "Wrefont") will do
this. However, since the PFB does not contain kerning information, any
kerning pairs in the original font's PFM will not be in a version
created from the PFB alone. This could be a limitation if you want to
use the font for DTP applications.
T
>Does anyone know how to create a PFM file given a PFB file only? Thanks.
>
>Joe
There is a freeware solution:
<<<<<<
T1tools:
t1tools is a collection of programs and batch files useful for
handling type 1 fonts on MSDOS and Unix systems.
The package is available by anonymous ftp:
ftp.fu-berlin.de: pub/postscript/t1tools.zip
The package contains the following tools:
makeafm.bat (MSDOS)
makeafm (Unix)
Generates an .afm font metrics file from a .pfb font file.
The information is taken directly from the font itself by
first disassembling it using an appropriate program.
If pair kerning information is available from any previously
existing .afm or .pfm file for that font it will be included
in the generated .afm file.
<<<<<<<<<<
Then use one of several afm <->pfm converters.
Of course, this won't be as satisfactory as a the designer's .pfm, but
enough to install it with ATM. You can modify an existing .pfm with
several shareware tools, eg pfmedit, fontmonster to add kerning or
make other changes (eg to font family and style).