[comp.sys.next] bad font Lexi?

abe@mace.cc.purdue.edu (Vic Abell) (02/18/89)

The file Lexi.afm in /bootdisk/NeXT/Fonts/afm causes the following,
standard, font display Postscript program to fail.  When Lexi.afm
is disguised, the following program will display all the available
fonts, as it does on other Postscript printers.  Note that I had to
apply Terry Weissman's change (thanks, Terry) to FontDirectory, making
it SharedFontDirectory.  Of course, I also had to mount /bootdisk/NeXT
read/write in order to disguise Lexi.afm.

%! showfonts2.ps - show sample output in all possible fonts of a device

36 720 translate
/name 80 string def
SharedFontDirectory {
   pop dup dup
   /Helvetica findfont 10 scalefont setfont
   0 0 moveto
   name cvs show
   findfont 10 scalefont setfont
   160 0 moveto
   name cvs show
   0 -13 translate
} forall
showpage