From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Qiantan Hong Newsgroups: gmane.emacs.bugs Subject: bug#36315: Incorrect SVG color Date: Fri, 18 Dec 2020 15:47:32 +0000 Message-ID: <8D294844-2A83-48C8-9860-B767F32553A8@mit.edu> References: <600074EB-59CF-4475-A28F-C1F9D05631FB@mit.edu> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Apple-Mail=_59B171ED-319E-44ED-BD80-5167FC57AAE0"; protocol="application/pgp-signature"; micalg=pgp-sha256 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10424"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "36315@debbugs.gnu.org" <36315@debbugs.gnu.org> To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 18 16:58:02 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kqI8o-0002aR-C3 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Dec 2020 16:58:02 +0100 Original-Received: from localhost ([::1]:35820 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqI8n-0006vl-FD for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 18 Dec 2020 10:58:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34704) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqHz9-0008HS-Ia for bug-gnu-emacs@gnu.org; Fri, 18 Dec 2020 10:48:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56382) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kqHz8-0000kB-Vl for bug-gnu-emacs@gnu.org; Fri, 18 Dec 2020 10:48:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kqHz8-00055T-FZ for bug-gnu-emacs@gnu.org; Fri, 18 Dec 2020 10:48:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Qiantan Hong Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Dec 2020 15:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36315 X-GNU-PR-Package: emacs Original-Received: via spool by 36315-submit@debbugs.gnu.org id=B36315.160830647519542 (code B ref 36315); Fri, 18 Dec 2020 15:48:02 +0000 Original-Received: (at 36315) by debbugs.gnu.org; 18 Dec 2020 15:47:55 +0000 Original-Received: from localhost ([127.0.0.1]:39695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqHz1-000558-25 for submit@debbugs.gnu.org; Fri, 18 Dec 2020 10:47:55 -0500 Original-Received: from outgoing-exchange-1.mit.edu ([18.9.28.15]:39502) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqHyz-00054t-2L for 36315@debbugs.gnu.org; Fri, 18 Dec 2020 10:47:54 -0500 Original-Received: from oc11exedge1.exchange.mit.edu (OC11EXEDGE1.EXCHANGE.MIT.EDU [18.9.3.17]) by outgoing-exchange-1.mit.edu (8.14.7/8.12.4) with ESMTP id 0BIFlfX6009412; Fri, 18 Dec 2020 10:47:47 -0500 Original-Received: from oc11expo16.exchange.mit.edu (18.9.4.47) by oc11exedge1.exchange.mit.edu (18.9.3.17) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Fri, 18 Dec 2020 10:47:15 -0500 Original-Received: from oc11expo16.exchange.mit.edu (18.9.4.47) by oc11expo16.exchange.mit.edu (18.9.4.47) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Fri, 18 Dec 2020 10:47:32 -0500 Original-Received: from oc11expo16.exchange.mit.edu ([18.9.4.47]) by oc11expo16.exchange.mit.edu ([18.9.4.47]) with mapi id 15.00.1365.000; Fri, 18 Dec 2020 10:47:32 -0500 Thread-Topic: bug#36315: Incorrect SVG color Thread-Index: AQHW1Negt08aCYZiB0KGMTjjfTDB1qn9RzQAgAANHoA= In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: yes x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [18.18.96.24] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:196333 Archived-At: --Apple-Mail=_59B171ED-319E-44ED-BD80-5167FC57AAE0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I started to SEGFAULT when building from master branch on macOS some time ago and now I=E2=80=99m doing $ brew install emacs-plus =E2=80=94fetch-HEAD =E2=80=94with-xwidgets The problem is there for me. M-x emacs-version: GNU Emacs 27.1 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 = Version 10.14.6 (Build 18G6032)) of 2020-12-18 > On Dec 18, 2020, at 10:00 AM, Alan Third wrote: >=20 > 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=E2=80=99m using SVG to build some UI elements), >> The following code >>=20 >> (require 'svg) >>=20 >> (defun make-image (color) >> (let ((svg (svg-create 100 100))) >> (svg-rectangle svg 0 0 100 100 :fill color) >> (svg-image svg))) >>=20 >> (set-frame-parameter (window-frame) 'background-color =E2=80=9C#f00000"= ) >>=20 >> (insert (propertize " " 'display (make-image "#f00000"))) >>=20 >> produce very notable color difference. >=20 > 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? >=20 > Either that or macOS is doing something unusual with colours, which I > wouldn't rule out. > -- > Alan Third --Apple-Mail=_59B171ED-319E-44ED-BD80-5167FC57AAE0 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="signature.asc" Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEuJGkbeynKj/ysbVCxqEIuLoj4IIFAl/czxMACgkQxqEIuLoj 4IIP2Af/X7JMjEqY6LCMXs+Tb/jIoGmymhXEY5taz8DCZNtThW4H1mzgQRYNtrXU +JkCibrJwZSgiU9VQr3zngBmmUv+BfM/ZQ7mizEpFLHu1A5wHe3abT+YRiGwIZld q67rPzSDpjeh4gGSJs+NuloQe9qvX6EZwGcis+y6OotD115+ok1ktlBlcF9asby+ ZRfWd2j/gikqPRR7fkQ9bMIaef82+KWanqZVzwnEdjjRytqqqpXPjsGKMCI8uyE9 2ojoZxEzbwt69+GCDU4YARK6/71pyHLhUvip0jxtSlMflltnVgoyntolTsjN5QlX rwNA0hpIl1Vo3Ca4ijbZ0j/HpwHzpA== =CJnU -----END PGP SIGNATURE----- --Apple-Mail=_59B171ED-319E-44ED-BD80-5167FC57AAE0--