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: Eli Zaretskii <eliz <at> gnu.org>
To: Lei Billy <LeiYiXia29 <at> outlook.com>
Cc: alan <at> idiocy.org, 77841 <at> debbugs.gnu.org
Subject: bug#77841: Some svg image's black color is replaced by emacs's theme foreground color
Date: Thu, 17 Apr 2025 13:59:21 +0300
> From: Lei Billy <LeiYiXia29 <at> outlook.com>
> CC: Eli Zaretskii <eliz <at> gnu.org>, "77841 <at> debbugs.gnu.org"
> 	<77841 <at> debbugs.gnu.org>
> Date: Thu, 17 Apr 2025 10:16:48 +0000
> 
> Does emacs exists some options that can be customized to make svg image spec use black as the foreground color by default? IMO users should be able to change this behavior, so that emacs can be compatible with svg images that don't set the #000000 color explicitly.

I don't understand why you say this.  Emacs behaves with SVG images as
it does with text: the colors of the face override the default colors.

IOW, it's a feature, not a bug.  As Alan says, images that want to
display specific colors should specify that in the image spec.




This bug report was last modified 8 days ago.

Previous Next


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