From: Michael S. <m-s...@us...> - 2011-12-07 22:08:44
|
Salut Michael, On 06/12/11, André Wobst wrote: > We do not need any kerning information at this point from the afm > file, so the afm file could probably be rather minimal. However, it > is not possible to correctly extract the information from the PFB > (and the TFM) file. Independently of the question whether all information is correctly extracted from PFB files, there is an easy way to create "some" AFM files from the PFB. Simply load it into fontforge and save it as a different PFB. Here is a script doing this: #!/usr/bin/fontforge Open($1) Generate($2) Quit() when writing the PFB, it will also spit out an AFM file which you can convert into a TFM if you like (afm2tfm from texlive). It worked fine for me when converting TTF fonts into PFB for use in latex. Best, Michael |