Article View: comp.lang.postscript
Article #5677Re: Text formatters turn PostScript upside down -- why?
From: Anders Thulin
Date: Mon, 16 Nov 1992 07:22
Date: Mon, 16 Nov 1992 07:22
26 lines
1424 bytes
1424 bytes
In article <1992Nov14.222532.8727@cs.brown.edu> jgm@cs.brown.edu (Jonathan Monsarrat) writes: >Why do text formatters/converters like dvips (for TeX) and grops (for Troff) >define everything upside down in PostScript? Upside down? In relation to what? I suspect you're thinking of the different coordinate origins used: * DVI files have a origin in the upper left corner of the page, Y coordinates going down the page. * PS has a default origin in the lower left corner, Y coordinates going up the page. >Just to be mean? To be mean to what - a PostScript interpreter? To keep things simple. DVI coordinate origin cannot be changed, but the PS origin and direction of coordinate axes can. So it's simpler to remap the PS coordinate system - no need to perform all that tedious coordinate conversion if PS can do it 'automatically'. -- Anders Thulin ath@linkoping.trab.se 013-23 55 32 Telia Research AB, Teknikringen 2B, S-583 30 Linkoping, Sweden
Technical Details
Message-ID:
<1992Nov16.072212.3294@linkoping.trab.se>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!hagbard!loglule!prosys!athReferences:
<1992Nov14.222532.8727@cs.brown.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!sunic!hagbard!loglule!prosys!ath From: ath@linkoping.trab.se (Anders Thulin) Newsgroups: comp.lang.postscript Subject: Re: Text formatters turn PostScript upside down -- why? Message-ID: <1992Nov16.072212.3294@linkoping.trab.se> Date: 16 Nov 92 07:22:12 GMT References: <1992Nov14.222532.8727@cs.brown.edu> Organization: Telia Research AB, Teknikringen 2B, S-583 30 Linkoping, Sweden Lines: 26