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 15:30:08 +0000	[thread overview]
Message-ID: <E14TQMC-0005GK-00@chiark.greenend.org.uk> (raw)
In-Reply-To: Your message of "Thu, 15 Feb 2001 15:31:00." <20010215142606.4C388199E3@mail.cse.psu.edu>

rog@vitanuova.com wrote:
> > 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.)
>
> i think the point is that ghostscript already applies an arbitrary
> transformation matrix when rendering down to the final image that will
> be passed to page so, in this case anyway, it would be vastly more
> efficient to tell ghostscript to render rotated, rather than to rotate
> the resulting image.

Er, yes.  I wasn't very clear: Wouldn't it be cleaner for the
document-relative orientation of the bitmaps produced by the driver to
be consistent, and for successive changes to the orientation of the
page to be handled entirely within "page"?  It seems to me that the
way orientation is handled in gs's X11 driver is slightly messy, but
acceptable as part of the final presentation on the device (and as
part of a system which also allows the user to zoom in).

I don't think it's so easy to justify reusing that solution in the
page/gs architecture, as things stand.  If we were talking about a
standalone ps viewer that rendered straight to the screen, then that
would be different.

I don't think the efficiency case is all that clear cut, either --
pages can take a very long time to render from scratch.



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

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-15 15:31 rog
2001-02-15 15:30 ` Theo Honohan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-02-15 17:37 rog
2001-02-15 14:43 rog
2001-02-15 14:00 ` 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=E14TQMC-0005GK-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).