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 ------------------------------------------------------------------------------ Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ _______________________________________________ PyX-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyx-user
