GNU bug report logs - #77841
Some svg image's black color is replaced by emacs's theme foreground color

Previous Next

Package: emacs;

Reported by: Billy Lei <LeiYiXia29 <at> outlook.com>

Date: Wed, 16 Apr 2025 12:16:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: Manuel Giraud <manuel <at> ledu-giraud.fr>
To: Billy Lei <LeiYiXia29 <at> outlook.com>
Cc: Ihor Radchenko <yantar92 <at> posteo.net>, 77841 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, Alan Third <alan <at> idiocy.org>
Subject: bug#77841: Some svg image's black color is replaced by emacs's theme foreground color
Date: Sat, 03 May 2025 13:11:41 +0200
Billy Lei <LeiYiXia29 <at> outlook.com> writes:

> 在 2025/5/3 17:10, Ihor Radchenko 写道:
>> Eli Zaretskii <eliz <at> gnu.org> writes:
>> 
>>>>> I am not sure if Emacs should behave differently in this scenario or
>>>>> not. It may be a judgment call and may also be non-trivial to implement.
>>>>
>>>> To be frank it probably should, but I don't know exactly *how* it
>>>> should behave.
>>>
>>> Do we have anything else to do here, or should this bug be closed
>>> now?
>> There is a clear bug - some svgs are displayed differently than
>> intended. But it is not clear how to solve it best.
>> Something to do: decide how to solve it. (but I have no good ideas)
>> 
>
> Perhaps we can let users decide it. We can introuduce a variable to
> customize how the svg images are displayed in Emacs, whether to use
> the theme foreground color or black.

Yes I do think the same.  For example, we could have something like
'svg-implicit-black' that is nil by default.  It would be one "simple"
step to improve on this issue (the hard part being having this behaviour
in documents and correct widget look and feel at the same time).
-- 
Manuel Giraud




This bug report was last modified 7 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.