Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!dimacs.rutgers.edu!mips!prls!pyramid!pyrps5.pyramid.com!telam From: telam@pyrps5.pyramid.com (Thomas Elam) Newsgroups: comp.sys.amiga Subject: Re: POST1.3 -- findfont problems Message-ID: <134274@pyramid.pyramid.com> Date: 15 Nov 90 04:42:57 GMT References: <39356@ut-emx.uucp> Sender: news@pyramid.pyramid.com Reply-To: telam@pyrps5.pyramid.com (Thomas Elam) Distribution: usa Organization: Pyramid Technologies, Mt. View, California. Lines: 76 In article <39356@ut-emx.uucp>, phao172@emx.utexas.edu (Randy M. Roberts) writes: |> In article <1703@robbie.tegra.COM> you write: |> |In article <39277@ut-emx.uucp> phao172@emx.utexas.edu (Randy M. Roberts) writes: |> |>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. Nancy's posting helped me get post to start working for me with multiple fonts and without awful kludges. (Thanks, Nancy.) I know next to nothing about Postscript programming, so I'd had troubles with getting Post 1.2 to work. I haven't read the Post 1.3 documentation yet, and don't know how to get s:init.ps to use PSFonts: easily. I just assign PSFonts: using the AmigaDOS Assign command before I run post. This is my only real advice. The rest of this posting just corroborates that what Nancy said seems to work for version 1.2. |> |>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 don't have the Helvetica font, but Canaith, ClassicaItalic, etc. work fine for me. I entered the commands (is that the right term?) as Nancy said (adding the "setfont" line) and as shown below. |> |>I got three big dots, i.e. the dumb default font. |> |> |> | |> |Well, I'm not familiar with how Post1.3 works, but the above code needs |> |a 'setfont' before it is going to do what you want. i.e.: |> | |> | /Helvetica findfont |> | 96 scalefont setfont |> | 72 72 moveto |> | (ABC) show |> |> Yes. I included the "setfont" in my example, I just forgot to |> type it in to my message. Sorry |> |> | |> |If it doesn't find Helvetica at the point when it executes findfont, |> |it should print some kind of message the gist of which is "font not found, |> |using default font". If you don't get this message, then it found the |> |font (Assuming Post1.3 handles this the way Adobe does). |> |> It never gets past the "findfont". What happens? Can you still type in commands? (I can't help--I'm just curious.) |> |Hope this helps... |> | |> | Nancy |> | |> |-- |> |============================================================================== |> |Nancy Durgin | (Usual disclaimers | Tegra-Varityper, Inc. |> |tegra!nad@uunet.com | apply...) | Billerica, Massachusetts |> |============================================================================== |> |> Regards, |> Randy |> -- |> Randy M. Roberts |> phao172@emx.utexas.edu