[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#21557: 25.0.50; HTML renders text invisible
From: |
Eli Zaretskii |
Subject: |
bug#21557: 25.0.50; HTML renders text invisible |
Date: |
Mon, 28 Sep 2015 16:14:46 +0300 |
> Date: Mon, 28 Sep 2015 19:37:45 +0900
> From: Katsumi Yamaoka <yamaoka@jpl.org>
> Cc: rms@gnu.org, 21557@debbugs.gnu.org
>
> On Mon, 28 Sep 2015 11:40:12 +0300, Eli Zaretskii wrote:
> > I think an Emacs-only solution would be preferable. Can
> > shr-color-visible-luminance-min be adapted to a small number of
> > colors? The simplest would perhaps be just overriding the foreground
> > color with something that is legible on the background color.
>
> The most simplest way would be:
>
> --- shr.el~ 2015-08-02 22:23:44.000000000 +0000
> +++ shr.el 2015-09-28 10:34:41.025287800 +0000
> @@ -1044,3 +1044,3 @@
> (defun shr-colorize-region (start end fg &optional bg)
> - (when (or fg bg)
> + (when (and (or fg bg) (>= (display-color-cells) 256))
> (let ((new-colors (shr-color-check fg bg)))
>
Richard, does this solve your problems?
I wonder whether 256 above should be replaced with a much lower
number, like 88, perhaps?
- bug#21557: 25.0.50; HTML renders text invisible, Richard Stallman, 2015/09/25
- bug#21557: 25.0.50; HTML renders text invisible, Katsumi Yamaoka, 2015/09/28
- bug#21557: 25.0.50; HTML renders text invisible, Eli Zaretskii, 2015/09/28
- bug#21557: 25.0.50; HTML renders text invisible, Katsumi Yamaoka, 2015/09/28
- bug#21557: 25.0.50; HTML renders text invisible, Eli Zaretskii, 2015/09/28
- bug#21557: 25.0.50; HTML renders text invisible, Katsumi Yamaoka, 2015/09/28
- bug#21557: 25.0.50; HTML renders text invisible,
Eli Zaretskii <=
- bug#21557: 25.0.50; HTML renders text invisible, Richard Stallman, 2015/09/29
- bug#21557: 25.0.50; HTML renders text invisible, Katsumi Yamaoka, 2015/09/29
- bug#21557: 25.0.50; HTML renders text invisible, Katsumi Yamaoka, 2015/09/29
- bug#21557: 25.0.50; HTML renders text invisible, Eli Zaretskii, 2015/09/30
- bug#21557: 25.0.50; HTML renders text invisible, Katsumi Yamaoka, 2015/09/30