🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #5777

Re: Text formatters turn PostScript upside down -- why?

#5777
From: Vidiot
Date: Sun, 22 Nov 1992 06:27
40 lines
2716 bytes
In article <4010@ecicrl.ocunix.on.ca> clewis@ferret.ocunix.on.ca (Chris Lewis) writes:
<
<This is really simply a matter of the guy writing the driver deciding
<which set of coordinates that he wants to think in.  As a counter example,
<the PostScript that Psroff generates is right-side-up w.r.t. PostScript
<with no rotates, scales or translates of any kind.  Then I didn't have
<to think about font transform matrices, and it only costs a subtraction
<in the driver.  There is no real penalty, because psroff has to cope
<with multiple frame resolutions/orientations anyways.

Interesting point.  Obviously it is easier to just change the spot on the paper
right before it is printed, than it is to flip everything over.

But here is an interesting thought.  When I was supporting both Adobe
TranScript's psroff and groff, I kept the origin in the upper-left corner
when I included my own EPS files.  If I would have used your Psroff, wouldn't
the default location be the lower-left corner?  If so, that would mean my code
to position EPS file would be really different that what I used for psroff.

I have to admit that there was separate code to include PostScript files into
my final output because psroff and groff do it differently.  But, the math to
position the output was the same.

If I would have moved the origin back to the lower left corner, then it would
have been the same for all three versions.  I'm not sure why kept the location
in the upper-left corner.  If I remember, I was thinking about A4 paper output.
But, many moons later has proven that the starting position doesn't matter.

This isn't to say that your leaving the origin in the lower-left corner is
wrong, quite the contrary.  My leaving the origin in the upper-left corner
isn't exactly right.  It has actually come to haunt me a little bit.

James is the only person that can answer why an upper-left origin was used,
instead of a lower-left origin.

-- 
      harvard\                          spool.cs.wisc.edu!astroatc!vidiot!brown
Vidiot  ucbvax!uwvax..........!astroatc!vidiot!brown
      rutgers/            INTERNET:vidiot!brown%astroatc.UUCP@spool.cs.wisc.edu
                                   brown@wi.extrel.com
Technical Details
Message-ID: <4460@vidiot.UUCP>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!rpi!uwm.edu!daffy!uwvax!astroatc!vidiot!brown
References: <1992Nov14.222532.8727@cs.brown.edu> <4438@vidiot.UUCP> <4010@ecicrl.ocunix.on.ca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!rpi!uwm.edu!daffy!uwvax!astroatc!vidiot!brown
From: brown@vidiot.UUCP (Vidiot)
Newsgroups: comp.lang.postscript
Subject: Re: Text formatters turn PostScript upside down -- why?
Message-ID: <4460@vidiot.UUCP>
Date: 22 Nov 92 06:27:41 GMT
References: <1992Nov14.222532.8727@cs.brown.edu> <4438@vidiot.UUCP> <4010@ecicrl.ocunix.on.ca>
Reply-To: brown@vidiot.UUCP (Vidiot)
Organization: Vidiot's Hangout
Lines: 40