home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / postscri / 5650 < prev    next >
Encoding:
Internet Message Format  |  1992-11-21  |  2.6 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!rpi!uwm.edu!daffy!uwvax!astroatc!vidiot!brown
  2. From: brown@vidiot.UUCP (Vidiot)
  3. Newsgroups: comp.lang.postscript
  4. Subject: Re: Text formatters turn PostScript upside down -- why?
  5. Message-ID: <4460@vidiot.UUCP>
  6. Date: 22 Nov 92 06:27:41 GMT
  7. References: <1992Nov14.222532.8727@cs.brown.edu> <4438@vidiot.UUCP> <4010@ecicrl.ocunix.on.ca>
  8. Reply-To: brown@vidiot.UUCP (Vidiot)
  9. Organization: Vidiot's Hangout
  10. Lines: 40
  11.  
  12. In article <4010@ecicrl.ocunix.on.ca> clewis@ferret.ocunix.on.ca (Chris Lewis) writes:
  13. <
  14. <This is really simply a matter of the guy writing the driver deciding
  15. <which set of coordinates that he wants to think in.  As a counter example,
  16. <the PostScript that Psroff generates is right-side-up w.r.t. PostScript
  17. <with no rotates, scales or translates of any kind.  Then I didn't have
  18. <to think about font transform matrices, and it only costs a subtraction
  19. <in the driver.  There is no real penalty, because psroff has to cope
  20. <with multiple frame resolutions/orientations anyways.
  21.  
  22. Interesting point.  Obviously it is easier to just change the spot on the paper
  23. right before it is printed, than it is to flip everything over.
  24.  
  25. But here is an interesting thought.  When I was supporting both Adobe
  26. TranScript's psroff and groff, I kept the origin in the upper-left corner
  27. when I included my own EPS files.  If I would have used your Psroff, wouldn't
  28. the default location be the lower-left corner?  If so, that would mean my code
  29. to position EPS file would be really different that what I used for psroff.
  30.  
  31. I have to admit that there was separate code to include PostScript files into
  32. my final output because psroff and groff do it differently.  But, the math to
  33. position the output was the same.
  34.  
  35. If I would have moved the origin back to the lower left corner, then it would
  36. have been the same for all three versions.  I'm not sure why kept the location
  37. in the upper-left corner.  If I remember, I was thinking about A4 paper output.
  38. But, many moons later has proven that the starting position doesn't matter.
  39.  
  40. This isn't to say that your leaving the origin in the lower-left corner is
  41. wrong, quite the contrary.  My leaving the origin in the upper-left corner
  42. isn't exactly right.  It has actually come to haunt me a little bit.
  43.  
  44. James is the only person that can answer why an upper-left origin was used,
  45. instead of a lower-left origin.
  46.  
  47. -- 
  48.       harvard\                          spool.cs.wisc.edu!astroatc!vidiot!brown
  49. Vidiot  ucbvax!uwvax..........!astroatc!vidiot!brown
  50.       rutgers/            INTERNET:vidiot!brown%astroatc.UUCP@spool.cs.wisc.edu
  51.                                    brown@wi.extrel.com
  52.