[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: About the :distant-foreground face attribute
From: |
Jan Djärv |
Subject: |
Re: About the :distant-foreground face attribute |
Date: |
Wed, 8 Jan 2014 10:35:56 +0100 |
Hi.
8 jan 2014 kl. 06:24 skrev Chong Yidong <address@hidden>:
> Change the feature so it applies to all faces, but in a configurable
> way. Introduce a new Lisp variable, `face-minimum-contrast', which
> specifies the minimum allowed contrast between the background and
> foreground of any face (or nil, which means to disable the feature). If
> the contrast of a face is lower than specified, the foreground color is
> adjusted (say, by changing its V component) to conform to the minimum
> contrast.
>
On Gtk and NS the region color to use is in that case specified by the system
and should not be generated by modifying a color component. How do you specify
that?
Also, it isn't the contrast between the background and the foreground of a
face, but the contrast between the background and foreground to be rendered,
which comes from different faces in the case at hand.
> This would avoid having to introduce a :distant-foreground attribute for
> all faces, only to use that attribute for just one face (`region') and
> for one special purpose (to cope with the GTK selection color). It
> would handle the generic class of problems involving text becoming
> illegible, such as due to bad themes.
distant-foreground can be used on any face, it just isn't.
Jan D.
- RE: About the :distant-foreground face attribute, (continued)
- RE: About the :distant-foreground face attribute, Drew Adams, 2014/01/07
- Re: About the :distant-foreground face attribute, Eli Zaretskii, 2014/01/07
- RE: About the :distant-foreground face attribute, Drew Adams, 2014/01/07
- Re: About the :distant-foreground face attribute, Eli Zaretskii, 2014/01/07
- RE: About the :distant-foreground face attribute, Drew Adams, 2014/01/07
- Re: About the :distant-foreground face attribute, Eli Zaretskii, 2014/01/07
- Re: About the :distant-foreground face attribute, Joel Mccracken, 2014/01/07
Re: About the :distant-foreground face attribute, Chong Yidong, 2014/01/07
- Re: About the :distant-foreground face attribute, Eli Zaretskii, 2014/01/07
- Re: About the :distant-foreground face attribute, Chong Yidong, 2014/01/08
- Re: About the :distant-foreground face attribute,
Jan Djärv <=
- Re: About the :distant-foreground face attribute, Chong Yidong, 2014/01/08
- Re: About the :distant-foreground face attribute, Jan Djärv, 2014/01/08
- Re: About the :distant-foreground face attribute, Chong Yidong, 2014/01/08
- Re: About the :distant-foreground face attribute, Jan Djärv, 2014/01/08
- RE: About the :distant-foreground face attribute, Drew Adams, 2014/01/08
RE: About the :distant-foreground face attribute, Drew Adams, 2014/01/08
Re: About the :distant-foreground face attribute, Stefan Monnier, 2014/01/08
Re: About the :distant-foreground face attribute, Eli Zaretskii, 2014/01/08
Re: About the :distant-foreground face attribute, Chong Yidong, 2014/01/09
Re: About the :distant-foreground face attribute, Stefan Monnier, 2014/01/09