all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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 13:45:07 +0300	[thread overview]
Message-ID: <83letnek0c.fsf@gnu.org> (raw)
In-Reply-To: <828rpnmzv6.fsf@gmail.com> (message from Pascal Quesseveur on Thu, 23 Jun 2022 12:35:25 +0200)

> From: Pascal Quesseveur <pquessev@gmail.com>
> Date: Thu, 23 Jun 2022 12:35:25 +0200
> 
> >"EZ" == Eli Zaretskii <eliz@gnu.org> writes:
> 
>   EZ> How do you see that background?  Please show a recipe, starting
>   EZ> from "emacs -Q", that reproduces such a display of an SVG image.
> 
> I finally managed to define a minimal test:
> 
> runemacs -Q \
>  --eval="(setq initial-frame-alist (list (cons 'background-color \"azure\")))"
> 
> then visit splash.svg
> 
> The background color depends on the frame background color. It is
> light orange in this case.

I think it's your eyes that play illusion games with you.  Start
"emacs -Q" with no other arguments and move the frame of that second
Emacs near the one with splash.svg: you will see that the background
of the image is white, like the one in the second Emacs.

What happens here is that the contrast between the azure background of
the frame and the white background of the SVG image causes you to
perceive the white color as the reverse of the azure one, which is
pale red.



  reply	other threads:[~2022-06-23 10:45 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 [this message]
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
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

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

  git send-email \
    --in-reply-to=83letnek0c.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.