9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: rsc@plan9.bell-labs.com
To: 9fans@cse.psu.edu
Subject: Re: [9fans] 'page' bottom-top turning troubles
Date: Wed, 28 Jun 2000 15:14:30 -0400	[thread overview]
Message-ID: <200006281914.PAA18983@cse.psu.edu> (raw)

	I have exactly 8 bits per pixel. It is 'gs' output viewed by
	'page', hope its depth is not less than 8 ?

I wasn't talking about the depth of
the screen but the depth of the actual
image, which can be (and often is)
different.

Gs produces a depth as small as possible.
If you like, you could edit /sys/src/cmd/gs/src/gdevifno.c
to always produce 8-bit images; change
	idev->ldepth = 0
to
	idev->ldepth = 3
in inferno_open().

I haven't done that because the right fix is
to get draw correct instead, and because the
driver needs to be updated for the new color
scheme anyway.

Russ



             reply	other threads:[~2000-06-28 19:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-28 19:14 rsc [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-06-26 16:32 Russ Cox
2000-06-27  8:31 ` Wladimir Mutel
2000-06-28  3:45   ` Eric Dorman
2000-06-26  9:00 Wladimir Mutel

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=200006281914.PAA18983@cse.psu.edu \
    --to=rsc@plan9.bell-labs.com \
    --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).