Subject: Re: bug#77841: Some svg image's black color is replaced by emacs's theme foreground color

From: Eli Zaretskii <[email-masked]>
Date: Thu, 17 Apr 2025 13:59:21 +0300

> From: Lei Billy <[email-masked]>
> CC: Eli Zaretskii <[email-masked]>, "[email-masked]"
> 	<[email-masked]>
> 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.