From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Cc: theoh@chiark.greenend.org.uk Subject: Re: [9fans] psutils et al In-Reply-To: Your message of "Wed, 14 Feb 2001 20:45:17 EST." <20010214194249.729A7199E7@mail.cse.psu.edu> References: <20010214194249.729A7199E7@mail.cse.psu.edu> From: Theo Honohan Message-Id: Date: Thu, 15 Feb 2001 13:00:05 +0000 Topicbox-Message-UUID: 660f608a-eac9-11e9-9e20-41e7f4b1d025 nemo@gsyc.escet.urjc.es wrote: > > I read the gs documentation and seems that viewers that > do the rotate thing are using postscript routines to change > the page orientation, so I think that unless page could go the > same way, there is no simple gs option to rotate the ps. In fact, the standard X11 viewers (ghostview and, much better, GV) change the orientation of the display by setting the GHOSTVIEW environment variable. gs's X11 display driver reads a number of configuration options from the value of GHOSTVIEW before drawing. (see gdevxini.c) I don't think trying to change the orientation with a ps prologue will be reliable in all cases. mpage does a good job, but it has its shortcomings: http://bugs.debian.org/cgi-bin/bugreport.cgi?archive=no&bug=25170 > In any case, I'd say that's the job of a filter and not of > page. It's clear that we should be able to control the orientation in which the page is displayed independently of the internal coordinate system and transformation matrix used by the postscript interpreter. I'm not sure whether managing the display orientation should be part of "page"'s job. Judging from the presence of the "u" option, and by analogy with the way I seem to use real photos and sheets of paper, I'm inclined to think that it is. Theo