[comp.sys.next] PC PostScript fonts on NeXT ?

mathmyka@tpki.toppoint.de (Mathias Myka) (03/15/91)

I have a problem with installing non-NeXT PostScript fonts on the
NeXT. The story so far:

I wanted to connect a HP LaserJet II, equipped with Adobe's
Postscript Cartridge and Type Cartridge II, to a NeXTstation.
As this printer has a _lot_ of fonts (about 60), I wanted to
use them.

The Adobe cartridges come with software and font files for
MS-DOS PCs.
The first step was to create a downloadable PostScript
file of each font, from the PFB files, which I did using
Adobe's PCSEND utility.

Then, I converted these files and the corresponding AFM files to
UNIX text format, i.e. I stripped all LF characters (or were it the
CR characters ? I wrote a program for this some days ago, and I
tend to forget these things... :-) ).

In addition, I changed the record length of the hexadecimal font
files from 128 to 64, just to make sure that every possible source
of incompatibility was eliminated.

As a last step, the files were moved over to the NeXT, the
appropriate directories (/LocalLibrary/xxxx.font) were built,
and the buildafmdir utility was run.

Obviously, the creation of a .bepf file was not possible -
no bitmapped fonts availabe !

After that, the font names appeared in the font panel, but the
behaviour of the system is somewhat strange:

If you select one of the newly installed fonts and preview it,
you won't get the correct font displayed in most cases. Instead,
Courier or Helvetica is displayed. WriteNow tends to
terminate after you click on the font preview button, without
any error message; sometimes, it creates a core dump.

If you restart the application (or any other application, for that
matter) and re-select the font in question, everything is fine.
The font is displayed and previewed correctly, and can be used by
any application.

Use any other of the new fonts, or restart your system,
and you're stuck again.

So, what do we have here ? Is it a bug ? Is it a feature ?
Did I make a mistake ?

Thank you for any help !

--
Mathias Myka
Memmingen, Federal Republic of Germany

mathmyka@tpki.toppoint.de (Mathias Myka) (03/18/91)

I have a problem with installing non-NeXT PostScript fonts on the
NeXT. The story so far:

I wanted to connect a HP LaserJet II, equipped with Adobe's
Postscript Cartridge and Type Cartridge II, to a NeXTstation.
As this printer has a _lot_ of fonts (about 60), I wanted to
use them.

The Adobe cartridges come with software and font files for
MS-DOS PCs.
The first step was to create a downloadable PostScript
file of each font, from the PFB files, which I did using
Adobe's PCSEND utility.

Then, I converted these files and the corresponding AFM files to
UNIX text format, i.e. I stripped all LF characters (or were it the
CR characters ? I wrote a program for this some days ago, and I
tend to forget these things... :-) ).

In addition, I changed the record length of the hexadecimal font
files from 128 to 64, just to make sure that every possible source
of incompatibility was eliminated.

As a last step, the files were moved over to the NeXT, the
appropriate directories (/LocalLibrary/xxxx.font) were built,
and the buildafmdir utility was run.

Obviously, the creation of a .bepf file was not possible -
no bitmapped fonts availabe !

After that, the font names appeared in the font panel, but the
behaviour of the system is somewhat strange:

If you select one of the newly installed fonts and preview it,
you won't get the correct font displayed in most cases. Instead,
Courier or Helvetica is displayed. WriteNow tends to
terminate after you click on the font preview button, without
any error message; sometimes, it creates a core dump.

If you restart the application (or any other application, for that
matter) and re-select the font in question, everything is fine.
The font is displayed and previewed correctly, and can be used by
any application.

Use any other of the new fonts, or restart your system,
and you're stuck again.

So, what do we have here ? Is it a bug ? Is it a feature ?
Did I make a mistake ?

Thank you for any help !



----------------+--------------------------------+---------------
Mathias Myka    | I have to _pay_ for incoming   | "It's never
8940 Memmingen  | international mail. So, please |  too late to
F.R. of Germany | keep your answers short.       |  have a happy
                | Thank you !                    |  childhood."
---EMail: mathmyka@tpki.toppoint.de [...!unido!tpki!mathmyka]----