Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!ut-emx!emx.utexas.edu From: phao172@emx.utexas.edu (Randy M. Roberts) Newsgroups: comp.sys.amiga Subject: POST1.3 -- findfont problems Keywords: post, post1.3, postscript, findfont Message-ID: <39277@ut-emx.uucp> Date: 7 Nov 90 15:53:54 GMT Sender: phao172@ut-emx.uucp Organization: The University of Texas at Austin; Austin, Texas Lines: 54 I downloaded post1.3 and post13fonts from "new xanth" the other day. I copied Helvetica from the post13fonts into PSFonts: I edited s:init.ps to use PSFonts: just as the comments say to do. When I tried post1.3 as: post s:init.ps screen and went into interactive mode, and typed /Helvetica findfont 96 scalefont 72 72 moveto (ABC) show I got three big dots, i.e. the dumb default font. After hacking into s:init.ps I got it to tell me that it couldn't open the font file (which it correctly prefixed with PSFonts:). I then noticed that the command "fontfile" was undefined, so I added this to the s:init.ps file: /fontfile { (r) file } def which is used in (the file name is on the top of the stack) /loadfont { ... { fontfile } stopped {pop (can't open file\n) print } {cvx exec} ifelse ... } bind put Now when I type /Helvetica findfont It does a lot more disk access (presumably reading psfonts:helvetica) and displays the following error: post: error: invalidfont, command --definefont-- The only place I have found "definefont" is in psfonts:helvetica, so what's going wrong? What is the correct definition of "fontfile"? BTW, none of the other fonts in the distribution work either, reporting the same, or similar error. advTHANKSance, /* stollen from another netter */ Randy