Hi, I need a ascii format of the type1 metric file (.afm) but I have a binary metric file (.pfm) only. Is there a way to convert pfm to afm format? -- Gruss Marcus Marcus Roeckrath -- Vikarsbusch 8 -- D-48308 Senden -- Germany Phone : +49-2536-9944 -- Mailer/BBS/Fax : +49-2536-9943 (V34, X75) FidoNet: 2:2449/523 E-Mail : marcus.roeckrath@gmx.de WWW : http://home.foni.net/~marcusroeckrath/
Marcus Roeckrath wrote:> Hi, > > I need a ascii format of the type1 metric file (.afm) but I have a binary > metric file (.pfm) only. > > Is there a way to convert pfm to afm format? > >I don't believe that PFM files contain all the information needed to do this. However, you should be able to find the AFM file for just about any PostScript printer font at Adobe's FTP site. (It may take some digging to find it. The FTP site is organized with some weird numbering scheme, which is described somewhere on their web site.) -- =======================================================================Ian Pilcher pilchman@attbi.com ========================================================================
Marcus Roeckrath wrote:> > Hi, > > I need a ascii format of the type1 metric file (.afm) but I have a > binary metric file (.pfm) only. > > Is there a way to convert pfm to afm format? >NO. But, GhostScript can create an AFM file if you have both the PFB and PFM files. With both "foo.pfb" & "foo.pfm" in the same working directory (for font named 'foo': pf2afm foo JRT