9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Theo Honohan <theoh@chiark.greenend.org.uk>
To: 9fans@cse.psu.edu
Cc: theoh@chiark.greenend.org.uk
Subject: Re: [9fans] psutils et al
Date: Thu, 15 Feb 2001 13:00:05 +0000	[thread overview]
Message-ID: <E14TO11-0008N5-00@chiark.greenend.org.uk> (raw)
In-Reply-To: Your message of "Wed, 14 Feb 2001 20:45:17 EST." <20010214194249.729A7199E7@mail.cse.psu.edu>

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


  reply	other threads:[~2001-02-15 13:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-15  1:45 nemo
2001-02-15 13:00 ` Theo Honohan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-02-15 17:37 rog
2001-02-15 15:31 rog
2001-02-15 15:30 ` Theo Honohan
2001-02-15 14:43 rog
2001-02-15 14:00 ` Theo Honohan
2001-02-14 21:50 geoff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E14TO11-0008N5-00@chiark.greenend.org.uk \
    --to=theoh@chiark.greenend.org.uk \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).