unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Background color in SVG display
Date: Thu, 23 Jun 2022 19:06:28 +0300	[thread overview]
Message-ID: <83czeze54r.fsf@gnu.org> (raw)
In-Reply-To: <82v8srl722.fsf@gmail.com> (message from Pascal Quesseveur on Thu, 23 Jun 2022 17:43:01 +0200)

> From: Pascal Quesseveur <pquessev@gmail.com>
> Date: Thu, 23 Jun 2022 17:43:01 +0200
> 
> >"EZ" == Eli Zaretskii <eliz@gnu.org> writes:
> 
>   EZ> We did make changes in how SVG images are handled wrt their
>   EZ> background, so if you think the new behavior is a bug, feel free
>   EZ> to submit an Emacs bug report.  (Your version of librsvg also
>   EZ> matters.)
> 
>   As I said I use windows version compiled from GNU. librsvg is
> version 2.2.

2.2?  Are you sure?  That sounds very old.  The latest stable version
is 2.56, AFAIK.

>   I didn't say there was a bug. I was wondering if this was the
> expected behavior and if there was a way to change this color. I think

I cannot reproduce the problems you describe, but I'm not the expert
on displaying SVG images.  If you report a bug, it will be looked at
by people who are experts.  There's no need to worry about reporting a
bug which eventually turns out not to be a bug.

> I've read that the background color could be set with the font's
> background color, but if that's the case, that clearly doesn't work
> for me.

AFAIU, in Emacs 28 and later you should be able to give a face text
property to the part of the buffer that displays SVG image(s), and the
background color of that face will be honored by the SVG display,
provided that (a) your librsvg is recent enough, and (b) the SVG image
itself doesn't specify a background color.



  reply	other threads:[~2022-06-23 16:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-23  6:42 Background color in SVG display Pascal Quesseveur
2022-06-23  7:01 ` Eli Zaretskii
2022-06-23 10:35   ` Pascal Quesseveur
2022-06-23 10:45     ` Eli Zaretskii
2022-06-23 10:50       ` Pascal Quesseveur
2022-06-23 12:17       ` Pascal Quesseveur
2022-06-23 13:04         ` Eli Zaretskii
2022-06-23 15:43           ` Pascal Quesseveur
2022-06-23 16:06             ` Eli Zaretskii [this message]
2022-06-23 18:14               ` Pascal Quesseveur
2022-06-23 18:40                 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83czeze54r.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).