Go to the previous, next chapter.

Tell me more about NeXTstep fonts

Outline files should be in PFA or hexadecimal ASCII format. The font name should be taken either from the outline (font) file or the AFM file. In both case the name is given after the word ``FontName'' at the beginning of the file)

As a matter of fact, fonts don't strictly HAVE to be in all hexadecimal ASCII format. The eexec portion of the font can be in binary if you wish, and in fact some Mac->NeXTstep or PFB->NeXTstep font converters simply strip off the Mac/PFB storage format headers and leave the binary sections as binary.

However, if you wish to send such a font across a serial channel to a PostScript printer, you will need some way to unpack the binary eexec portion to seven-bit ASCII before sending the font.

Converted Fonts After Conversion

After conversion they are just like any other freeware or shareware font that you can get in NeXTstep-format from the archives. That's just outline and AFM files but no bitmapped screen fonts. So small point size means poor resolution on screen but they most of should print OK if they are any good ( = usually made with Fontographer).

About Conversion Utilities

NeXTstep utilities

Basic unarchiving of Mac and PC files.

On your Unix machine:

xbin
Converts .hqx to:
.data
Rename and transfer to PC (or use opener.app on NeXT?)
.info
Discard
.rsrc
Discard

  • unzip Converts .zip to:
    .inf
    Discard
    .wfn
    Discard
    .pfm
    Discard (unless it can generate a better AFM file)
    everything else
    Transfer to NeXT
  • On a PC:

    xbin
    Converts .hqx to:
    .data
    Rename and transfer to PC (or use opener.app on NeXT?)
    .info
    Discard
    .rsrc
    Discard

  • extract -f ... Converts .cpt to:
    file with no extension
    This is usually the outline font. Refont and transfer to NeXT.
    .afm
    Transfer to NeXT.
    .pfm
    Discard (unless it can generate a better AFM file)
    .bma
    Discard if you have an AFM file.

  • unsit30 -eb ... Converts .sit to:
    file with no extension
    This is usually the outline font. Refont and transfer to NeXT.
    .afm
    Transfer to NeXT.
    .pfm
    Discard (unless it can generate a better AFM file)
    .bma
    Discard if you have an AFM file.

  • refont Converts outline formats from Mac to NeXT format (PFA).

  • pkunzip Converts .zip to:
    .inf
    Discard
    .wfn
    Discard
    .pfm
    Discard (unless it can generate a better AFM file)
    everything else
    Transfer to NeXT
  • On a NeXT

    Opener.app
    Converts archive formats (.sit, .hqx, .zip) to NeXT format.
    unfont
    Converts PFB files to NeXT format.
    afm
    Converts AFM files to NeXT format AFM files (CR/LF hackery)

    Installation

    There are scripts (installfont) available that can handle the installation process but here is how you do it manually.


    Excerpted from The comp.fonts FAQ, Copyright © 1992-96 by Norman Walsh