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

  1. Path: sparky!uunet!mcsun!sunic!hagbard!loglule!prosys!ath
  2. From: ath@linkoping.trab.se (Anders Thulin)
  3. Newsgroups: comp.lang.postscript
  4. Subject: Re: Text formatters turn PostScript upside down -- why?
  5. Message-ID: <1992Nov16.072212.3294@linkoping.trab.se>
  6. Date: 16 Nov 92 07:22:12 GMT
  7. References: <1992Nov14.222532.8727@cs.brown.edu>
  8. Organization: Telia Research AB, Teknikringen 2B, S-583 30 Linkoping, Sweden
  9. Lines: 26
  10.  
  11. In article <1992Nov14.222532.8727@cs.brown.edu> jgm@cs.brown.edu (Jonathan Monsarrat) writes:
  12. >Why do text formatters/converters like dvips (for TeX) and grops (for Troff)
  13. >define everything upside down in PostScript?
  14.  
  15. Upside down? In relation to what?
  16.  
  17. I suspect you're thinking of the different coordinate origins used:
  18.  
  19. * DVI files have a origin in the upper left corner of the page, Y
  20.   coordinates going down the page.
  21.  
  22. * PS has a default origin in the lower left corner, Y coordinates going
  23.   up the page.
  24.  
  25. >Just to be mean?
  26.  
  27. To be mean to what - a PostScript interpreter?
  28.  
  29. To keep things simple.  DVI coordinate origin cannot be changed, but
  30. the PS origin and direction of coordinate axes can. So it's simpler to
  31. remap the PS coordinate system - no need to perform all that tedious
  32. coordinate conversion if PS can do it 'automatically'.
  33.  
  34. -- 
  35. Anders Thulin       ath@linkoping.trab.se     013-23 55 32
  36. Telia Research AB, Teknikringen 2B, S-583 30 Linkoping, Sweden
  37.