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 14:00:15 +0000	[thread overview]
Message-ID: <E14TOxE-0001hf-00@chiark.greenend.org.uk> (raw)
In-Reply-To: Your message of "Thu, 15 Feb 2001 14:43:50." <20010215133901.E353B19A0F@mail.cse.psu.edu>

rog@vitanuova.com wrote:
> > 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.
>
> well, it's certainly to do with the presentation end of the process
> (given the postscript "%%Orientation: (Portrait|Landscape)" header)
> however, i'm somewhat surprised there's not some way of specifying a
> page transformation to ghostscript which would avoid the painful
> process of doing it via bit manipulation of the displayed image...

It is perhaps surprising that there isn't a general mechanism.  On the
other hand, it is a driver-specific issue, which is addressed
adequately for the X11 case, at least.  As long as the driver used by
page produces images rather than drawing directly in a window, the
question of whether it's page or the driver that does the bit
manipulation is moot.  (And, if we agree that page should provide the
facility of rotating any displayed image, then page might as well do
it.)

>
> from a brief glance at the documentation, a ghostscript driver can
> specify an arbitrary transformation between user coords and device
> coords, so i imagine it should be possible to tell the plan 9 driver to
> rotate the page if the page orientation said so.

Yes, at the very least.


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

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-15 14:43 rog
2001-02-15 14: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  1:45 nemo
2001-02-15 13: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=E14TOxE-0001hf-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).