From: Qiantan Hong <qhong@mit.edu>
To: Alan Third <alan@idiocy.org>
Cc: "36315@debbugs.gnu.org" <36315@debbugs.gnu.org>
Subject: bug#36315: Incorrect SVG color
Date: Fri, 18 Dec 2020 15:51:15 +0000 [thread overview]
Message-ID: <E8A022D3-9849-4A1F-BE30-6577A605126C@mit.edu> (raw)
In-Reply-To: <X9zEEmeDDUDDzPnG@breton.holly.idiocy.org>
[-- Attachment #1: Type: text/plain, Size: 1132 bytes --]
I suspect it is some weird thing about macOS,
because now the SVG color is brighter instead of darker...
> On Dec 18, 2020, at 10:00 AM, Alan Third <alan@idiocy.org> wrote:
>
> On Fri, Dec 18, 2020 at 12:49:23AM +0000, Qiantan Hong wrote:
>> Is there any update on this bug?
>> The current behavior is unacceptable when the SVG color
>> is supposed to be the same as some color in Emacs
>> (in my case, I’m using SVG to build some UI elements),
>> The following code
>>
>> (require 'svg)
>>
>> (defun make-image (color)
>> (let ((svg (svg-create 100 100)))
>> (svg-rectangle svg 0 0 100 100 :fill color)
>> (svg-image svg)))
>>
>> (set-frame-parameter (window-frame) 'background-color “#f00000")
>>
>> (insert (propertize " " 'display (make-image "#f00000")))
>>
>> produce very notable color difference.
>
> I can no longer replicate this on the master branch on macOS. We've
> out-sourced colour handling fully to librsvg now, so that may make the
> difference?
>
> Either that or macOS is doing something unusual with colours, which I
> wouldn't rule out.
> --
> Alan Third
[-- Attachment #2: Message signed with OpenPGP --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next prev parent reply other threads:[~2020-12-18 15:51 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-20 20:26 bug#36315: 27.0.50; SVG transparency handling is inaccurate Pip Cet
2019-06-20 20:46 ` Pip Cet
2019-06-22 20:56 ` Alan Third
2019-06-24 7:56 ` YAMAMOTO Mitsuharu
2019-06-24 8:17 ` YAMAMOTO Mitsuharu
2019-06-24 16:24 ` Pip Cet
2019-06-24 17:41 ` Eli Zaretskii
2019-06-24 23:06 ` YAMAMOTO Mitsuharu
2019-06-25 16:54 ` Eli Zaretskii
2019-06-25 18:44 ` Alan Third
2019-06-25 18:55 ` Eli Zaretskii
2019-06-25 23:48 ` YAMAMOTO Mitsuharu
2019-06-26 0:12 ` Lars Ingebrigtsen
2019-06-26 15:57 ` Eli Zaretskii
2019-06-27 3:33 ` YAMAMOTO Mitsuharu
2019-06-27 14:16 ` Eli Zaretskii
2019-06-30 6:12 ` YAMAMOTO Mitsuharu
2019-06-30 14:26 ` Eli Zaretskii
2019-07-01 3:46 ` YAMAMOTO Mitsuharu
2019-07-01 14:11 ` Eli Zaretskii
2019-07-01 16:25 ` Pip Cet
2019-07-02 2:32 ` Eli Zaretskii
2019-07-02 9:46 ` YAMAMOTO Mitsuharu
2019-07-02 14:26 ` Eli Zaretskii
2020-08-21 13:04 ` Lars Ingebrigtsen
2020-08-21 15:04 ` Alan Third
2020-08-22 13:29 ` Lars Ingebrigtsen
2020-08-22 16:00 ` Alan Third
2020-12-18 0:49 ` bug#36315: Incorrect SVG color Qiantan Hong
2020-12-18 15:00 ` Alan Third
2020-12-18 15:47 ` Qiantan Hong
2020-12-18 15:51 ` Qiantan Hong [this message]
2020-12-18 16:42 ` Qiantan Hong
2020-12-18 18:04 ` Alan Third
2020-12-18 18:16 ` Alan Third
2020-12-19 0:24 ` Lars Ingebrigtsen
[not found] <CA+X8ke6WQrWqVUuE2a9=AqVT-XYov81dXFgPzj4iOXeNtHAK6g@mail.gmail.com>
2021-10-11 7:52 ` Lars Ingebrigtsen
2021-10-11 14:24 ` Matt Huszagh
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=E8A022D3-9849-4A1F-BE30-6577A605126C@mit.edu \
--to=qhong@mit.edu \
--cc=36315@debbugs.gnu.org \
--cc=alan@idiocy.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).