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


Message #20 received at 77841 <at> debbugs.gnu.org (full text, mbox):

From: Manuel Giraud <manuel <at> ledu-giraud.fr>
To: Lei Billy <LeiYiXia29 <at> outlook.com>
Cc: Alan Third <alan <at> idiocy.org>,
 "77841 <at> debbugs.gnu.org" <77841 <at> debbugs.gnu.org>, Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#77841: Some svg image's black color is replaced by emacs's
 theme foreground color
Date: Thu, 17 Apr 2025 13:23:44 +0200
Lei Billy <LeiYiXia29 <at> outlook.com> 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




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.