From: Fredrik Staxeng <fstx+u@update.uu.se>
Subject: Re: face at point
Date: 18 Nov 2002 14:48:26 +0100 [thread overview]
Message-ID: <1mptt36lat.fsf@Tempo.Update.UU.SE> (raw)
In-Reply-To: mailman.1037610573.27378.help-gnu-emacs@gnu.org
Miles Bader <miles@lsi.nec.co.jp> writes:
>Tim Cross <tcross@nospam.une.edu.au> writes:
>> > Note that emacs explicitly knows about this issue and maintains separate
>> > dark-background defaults for many faces, so any default face that's not
>> > readable on a dark background is a bug, so please report if you can.
>>
>> Well...I guess in theory that should work, but my experience has been
>> that a number of faces are difficult to read when you use a dark
>> (black) background - in particular, there are a number of faces which
>> use variants of blue (navy, darker blue etc) and red or dark red which
>> are difficult to read. I found this under both X and console.
>
>Then they are broken; please report them as bugs. I use a dark
>background myself, and fix anything I see, but of course I don't use
>every feature in emacs.
I am old enough to have a preference for amber phosphor over green.
Today I run using black text on white background. But I still find
that many of the default faces are nearly unreadable.
From the previous flaming over subject I have gotten the impression
that the Emacs maintainers prefer to treat this as a user preference
issue.
If that has changed to something more reasonable, could you state the
new policy? Is is something like "the default faces should be easily
readable for 95% of the users on 99% percent of the hardware/operating
system combinations out there."?
Otherwise there seems to be little point in reporting unreadable
faces as bugs. Obviously the author could read the face on his
screen.
>> I'm not sure there is a lot which can be done here though - there are
>> quite a few different faces and many of them are not very good with a
>> dark backgroun, so I think the choice for default dark background face
>> foreground colours are limited.
>
>Um, why does that matter? If the set of foreground colors that contrast
>well is limited, then the foreground colors should be chosen from that
>set. Of course, in some cases, the right choice is to set both the face
>background _and_ foreground.
A face with higher weight (% covered by foreground paint) needs less
color contrast than one with lower weight. Also, it seems to me, that
on CRT:s, bright colors bleed into less bright ones. This makes a
white face on black background than the same black-on-white.
One person I know prefer 1280x1024 to 1600x1280 because the higher
resolution makes his fonts to thin, even when he chooses a bigger
font to make the apparent size the same.
>> I did find under the console, some colours just didn't show up right,
>> but expect thats a result of the limited colours available under the
>> console.
>
>Yes, this is a common problem, and hard to solve perfectly.
Pick default colors from a defined color map, e.g. the Netscape cube.
Define a static mapping from those 216 colors to the EGA colors
that PC consoles support. Provide a color-restriction option to
Emacs so that maintainers can easily test the effect of the color
limitation.
No, it's not perfect. Perfect color support takes 24 bits. There
is no way around that. But I think the above would be good enough.
>However, emacs _does_ attempt to deal with it, and in some cases uses
>different default faces for terminals [the console being a terminal],
>if same face just can't be made to look good on both window-systems and
>terminals.
Looking good is a much more ambitious goal. I'll settle for readable.
By the way, I found a way to get the rgb components from a color in Emacs.
Is there a way to make a color from three RGB values? The idea is to
take the color apart, scale the components to make the color darker,
and then put a set-face-forground in my .emacs.
Since it this time of the year, let me add a wish for a lisp hook
to be run when a face is realized, where I could put a function
that simply changes things to the way I want them.
--
Fredrik Stax\"ang | rot13: sfgk@hcqngr.hh.fr
next prev parent reply other threads:[~2002-11-18 13:48 UTC|newest]
Thread overview: 48+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-15 2:13 face at point John Hunter
2002-11-15 2:50 ` Jesper Harder
2002-11-15 3:30 ` John Hunter
2002-11-15 3:40 ` Jesper Harder
2002-11-15 10:24 ` Oliver Scholz
2002-11-15 13:37 ` Jesper Harder
2002-11-15 14:51 ` Jesper Harder
2002-11-15 16:58 ` Oliver Scholz
2002-11-16 18:49 ` Kai Großjohann
2002-11-15 4:24 ` Miles Bader
[not found] ` <mailman.1037335988.3983.help-gnu-emacs@gnu.org>
2002-11-15 14:21 ` Michael J Downes
2002-11-15 14:31 ` John Hunter
2002-11-17 22:40 ` Tim Cross
2002-11-17 23:00 ` Miles Bader
2002-11-18 5:54 ` Tim Cross
2002-11-18 8:52 ` Miles Bader
[not found] ` <mailman.1037610573.27378.help-gnu-emacs@gnu.org>
2002-11-18 13:48 ` Fredrik Staxeng [this message]
2002-11-18 17:23 ` Oliver Scholz
2002-11-18 18:16 ` Fredrik Staxeng
2002-11-18 17:56 ` Eli Zaretskii
[not found] ` <mailman.1037646827.31512.help-gnu-emacs@gnu.org>
2002-11-19 6:02 ` Fredrik Staxeng
2002-11-19 6:47 ` Eli Zaretskii
2002-11-19 9:20 ` Miles Bader
2002-11-19 20:24 ` Kai Großjohann
2002-11-18 22:06 ` Tim Cross
2002-11-18 22:36 ` Jesper Harder
2002-11-19 2:00 ` Miles Bader
2002-11-19 1:55 ` Miles Bader
2002-11-19 5:31 ` Eli Zaretskii
[not found] ` <mailman.1037671096.385.help-gnu-emacs@gnu.org>
2002-11-19 5:58 ` Tim Cross
2002-11-19 6:24 ` Eli Zaretskii
2002-11-19 6:24 ` Fredrik Staxeng
2002-11-19 6:56 ` Eli Zaretskii
2002-11-19 8:56 ` Miles Bader
[not found] ` <mailman.1037696237.22239.help-gnu-emacs@gnu.org>
2002-11-19 9:46 ` Fredrik Staxeng
[not found] <mailman.1037688495.14173.help-gnu-emacs@gnu.org>
2002-11-19 8:54 ` Fredrik Staxeng
2002-11-19 18:14 ` Eli Zaretskii
[not found] ` <mailman.1037733383.18353.help-gnu-emacs@gnu.org>
2002-11-20 13:37 ` Fredrik Staxeng
2002-11-20 16:13 ` Eli Zaretskii
[not found] ` <mailman.1037812462.4160.help-gnu-emacs@gnu.org>
2002-11-20 17:56 ` Fredrik Staxeng
[not found] <mailman.1037687132.614.help-gnu-emacs@gnu.org>
2002-11-19 22:16 ` Tim Cross
2002-11-20 5:47 ` Eli Zaretskii
2002-11-20 11:06 ` Oliver Scholz
2002-11-20 14:01 ` Stefan Monnier <foo@acm.com>
2002-11-20 16:00 ` Michael Slass
[not found] <mailman.1037771296.12946.help-gnu-emacs@gnu.org>
2002-11-20 7:34 ` Miles Bader
2002-11-20 7:39 ` Kai Großjohann
[not found] ` <mailman.1037777785.20916.help-gnu-emacs@gnu.org>
2002-11-20 11:10 ` Oliver Scholz
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=1mptt36lat.fsf@Tempo.Update.UU.SE \
--to=fstx+u@update.uu.se \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.