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

From: Manuel Giraud <[email-masked]>
Date: Thu, 17 Apr 2025 13:23:44 +0200

Lei Billy <[email-masked]> writes:

> 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 think there is an option for this but FWIW, DocView (when
producing SVG) does exactly this with its own face (`doc-view-svg-face')
that forces black on white by default.
-- 
Manuel Giraud