From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: Re: stipple in menu? Date: Mon, 22 Apr 2002 21:30:28 +0200 Sender: emacs-devel-admin@gnu.org Message-ID: <3CC464D4.7070109@swipnet.se> References: <3CC1B46C.469D536@swipnet.se> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1019504003 5052 127.0.0.1 (22 Apr 2002 19:33:23 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 22 Apr 2002 19:33:23 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16zjYx-0001JN-00 for ; Mon, 22 Apr 2002 21:33:23 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16zjZn-0005EL-00 for ; Mon, 22 Apr 2002 21:34:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16zjYm-0002lN-00; Mon, 22 Apr 2002 15:33:12 -0400 Original-Received: from stubby.bodenonline.com ([213.115.192.62]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16zjX1-0001am-00 for ; Mon, 22 Apr 2002 15:31:23 -0400 Original-Received: from pc35.bodenonline.com (IDENT:root@pc35.bodenonline.com [195.196.29.227] (may be forged)) by stubby.bodenonline.com (8.12.1/8.12.1) with ESMTP id g3MJSsjg026947; Mon, 22 Apr 2002 21:29:00 +0200 User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US; rv:0.9.9+) Gecko/20020330 X-Accept-Language: en-us, en Original-To: =?ISO-8859-15?Q?Pavel_Jan=EDk?= X-MIME-Autoconverted: from 8bit to quoted-printable by stubby.bodenonline.com id g3MJSsjg026947 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:3049 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:3049 Pavel Jan=EDk wrote: > From: "Jan D." > Date: Sat, 20 Apr 2002 20:33:16 +0200 >=20 > > How does it look on a monochrome display? I suspect that is the r= eason for the > > stipple in the first place. >=20 > I do not know, I do not have access to monochrome display and my XFree8= 6 > driver for my cards does not support monochrome. Can you, please, test = it? >=20 As expected, either white (=3D=3D background) or black (=3D=3D foreground= )=20 depending on which pixel one chooses for the shading colour. In the=20 first case, it doesn't show at all, in the second case there is no=20 difference from other entries. However, I suspect not many people have monochrome displays nowdays.=20 But if we wan't to keep support for monochrome displays, you can check=20 with DefaultDepthOfScreen (XtScreen (mw)) =3D=3D 1 if this is a monochrom= e=20 screen and then fall back to stipple. Or even simpler, if disabled_foreground is equal to the foreground pixel=20 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=20 display. Jan D.