unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan D." <jan.h.d@swipnet.se>
Cc: emacs-devel@gnu.org
Subject: Re: stipple in menu?
Date: Mon, 22 Apr 2002 21:30:28 +0200	[thread overview]
Message-ID: <3CC464D4.7070109@swipnet.se> (raw)
In-Reply-To: m3d6wu6tdy.fsf@Janik.cz

Pavel Janík wrote:
>    From: "Jan D." <jan.h.d@swipnet.se>
>    Date: Sat, 20 Apr 2002 20:33:16 +0200
> 
>    > How does it look on a monochrome display?  I suspect that is the reason for the
>    > stipple in the first place.
> 
> I do not know, I do not have access to monochrome display and my XFree86
> driver for my cards does not support monochrome. Can you, please, test it?
> 

As expected, either white (== background) or black (== foreground) 
depending on which pixel one chooses for the shading colour.  In the 
first case, it doesn't show at all, in the second case there is no 
difference from other entries.

However, I suspect not many people have monochrome displays nowdays. 
But if we wan't to keep support for monochrome displays, you can check 
with DefaultDepthOfScreen (XtScreen (mw)) == 1 if this is a monochrome 
screen and then fall back to stipple.

Or even simpler, if disabled_foreground is equal to the foreground pixel 
or equal to the background pixel, you should fall back to stipple.

But then again, it's been many years since I've seen a pure monochrome 
display.

	Jan D.

  reply	other threads:[~2002-04-22 19:30 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-20 17:35 stipple in menu? Pavel Janík
2002-04-20 18:33 ` Jan D.
2002-04-20 19:51   ` Pavel Janík
2002-04-22 19:30     ` Jan D. [this message]
2002-04-21 13:48 ` Kim F. Storm
2002-04-21 13:25   ` Pavel Janík
2002-04-21 14:20     ` Miles Bader
2002-04-22  7:46 ` Richard Stallman
2002-04-22 12:38   ` Pavel Janík
2002-04-23 19:30     ` Richard Stallman
2002-04-23 20:00       ` Pavel Janík
2002-04-25  6:05         ` Richard Stallman
2002-05-06 18:56       ` Pavel Janík
2002-05-07 20:07         ` Richard Stallman

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=3CC464D4.7070109@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=emacs-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).