Go to the previous, next chapter.
You must have the .pfb and .afm files
A PC Adobe font is stored in binary format, so the first step is to convert it to ascii.
There are a couple of utilities out there which can do this. I think t1utils can do it, and there is a nice utility called pcATMfont2Next which has a couple of tools to do this (unfont and pfb2ps). Look for the file pcATMfont2Next.tar.Z; it is available on many ftp sites.
Also, since NeXTstep run on Unix, there is the customary problem of converting the CRs (carriage returns) that PCs use to the LFs (Linefeeds) that Unix uses. The easiest way to do this is to use tr to delete the octal for the CR character from both the .afm and outline file. The command to do this is:
tr -d '\015' < inputfile > outputfile
The unfont program will do this automatically when it converts the .pfb file, but pfb2ps does not. I'm not sure if t1utils' utility does or not.
Once you have the outline file, you can go ahead and install it by the process outlined above.
Otto J. Makela (email@example.com) posted a terrific cshell script to comp.fonts, which automates just about everything for you. It converts the .pfb to ASCII format, extracts the name from the FontName field, creates the font folder, copies in the component files with the correct name, and runs buildafmdir and cacheAFMData when done. A newer version of this script is now available from the standard NeXT step archives (Sonata, etc.).
A variety of programs and scripts exist to convert Macintosh format Type 1 fonts to UNIX format. Their ability to do a complete job varies. Common traps which naive font converters fall into are:
Most naive converters we've looked at have this problem. This means that most Type 3 fonts won't convert at all.