home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!portal!cup.portal.com!soft-logik
- From: soft-logik@cup.portal.com (Kevin W Davidson)
- Newsgroups: comp.sys.amiga.applications
- Subject: Re: Error in Pagestream PostScript
- Message-ID: <69808@cup.portal.com>
- Date: Wed, 18 Nov 92 20:07:50 PST
- Organization: The Portal System (TM)
- References: <Bxx5CL.5xI@news.iastate.edu>
- Lines: 33
-
- >I have discovered an error in Pagestream 2.21 generated PostScript code. The
- >error deals with the code that handles the generation of arrows at the end
- >of lines.
- >
- >In /doendstyle there is a line that reads:
- >
- >/angle dy dx atan def
- >
- >If dx and dy are both zero, this causes an /undefinedresult error with atan in
- >standard PostScript. A couple of documents that I have recently produced
- >have generated this error when I attempted to print them. A proposed solution
- >is to change this line to:
- >
- >/angle dy dx 2 copy add 0 eq {pop pop 0} {atan} ifelse def
- >
- >which will return zero if both operands are zero, otherwise it will perform
- >the atan function with the original operands...
- >
- >Dave
- >
- >--
- >---------------------------------------------------------------------------
- >Dave R. Madsen | Computer Science Department | Office: 107 Atanasoff
- >Systems Support Group | Iowa State University | madsen@cs.iastate.edu
- >---------------------------------------------------------------------------
- >
-
- Gee, I thought that was fixed. Are you running the latest version of the
- PostScript printer driver? The current one is version 2.2.11.
-
- Kevin Davidson, Asst. Moderator AmigaZone Vendor Support - PORTAL
- <soft-logik@cup.portal.com>
- SOFT-LOGIK BBS (PCP MOSLO) (314) 894-0057
-