From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#36315: 27.0.50; SVG transparency handling is inaccurate Date: Sun, 30 Jun 2019 17:26:51 +0300 Message-ID: <83imsnf8t0.fsf@gnu.org> References: <83blymnaog.fsf@gnu.org> <83imstli5f.fsf@gnu.org> <83mui4jq4j.fsf@gnu.org> <83sgrvi060.fsf@gnu.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="235398"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 36315@debbugs.gnu.org, pipcet@gmail.com To: YAMAMOTO Mitsuharu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 30 16:28:32 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hhaof-000z5e-JT for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Jun 2019 16:28:29 +0200 Original-Received: from localhost ([::1]:44940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hhaoe-0004sp-EU for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Jun 2019 10:28:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54841) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hhaoL-0004sD-W4 for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2019 10:28:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hhaoJ-0001Rh-UW for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2019 10:28:09 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33524) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hhaoE-0001Jk-6F for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2019 10:28:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hhaoD-0004hG-VF for bug-gnu-emacs@gnu.org; Sun, 30 Jun 2019 10:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 30 Jun 2019 14:28:01 +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.156190482917999 (code B ref 36315); Sun, 30 Jun 2019 14:28:01 +0000 Original-Received: (at 36315) by debbugs.gnu.org; 30 Jun 2019 14:27:09 +0000 Original-Received: from localhost ([127.0.0.1]:47068 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hhanN-0004gF-HV for submit@debbugs.gnu.org; Sun, 30 Jun 2019 10:27:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:48863) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hhanM-0004g0-7S for 36315@debbugs.gnu.org; Sun, 30 Jun 2019 10:27:08 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34329) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hhanG-0008RC-DN; Sun, 30 Jun 2019 10:27:03 -0400 Original-Received: from [176.228.60.248] (port=2414 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hhanB-0005oD-Rm; Sun, 30 Jun 2019 10:26:59 -0400 In-reply-to: (message from YAMAMOTO Mitsuharu on Sun, 30 Jun 2019 15:12:18 +0900) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:161881 Archived-At: > Date: Sun, 30 Jun 2019 15:12:18 +0900 > From: YAMAMOTO Mitsuharu > Cc: pipcet@gmail.com, > 36315@debbugs.gnu.org > > > > > > What kind of operations do you think librsvg should provide us with, > > > > > instead of letting us use cairo? > > > > > > > > Those for which you called the Cairo functions directly. > > > > > > Which one, concretely? Or you mean something in other parts? > > > > All of the Cairo functions you called: > > > > cairo_create > > cairo_destroy > > cairo_image_surface_create > > cairo_image_surface_get_data > > cairo_image_surface_get_stride > > cairo_paint > > cairo_set_source_rgb > > cairo_surface_destroy > > cairo_surface_flush > > cairo_surface_status > > Why do you think so? Librsvg does not provide us with any further > abstractions over the cairo data structures. It just looks like we are using libcairo and not librsvg. Again, it isn't something entirely rational, it just sounds weird to me. Imagine that users libxml2 would need to call libiconv to decode UTF-8 encoded text in an XML file, for example. Doesn't look right. > > This works, but I don't think I see any difference in the color of the > > rectangle wrt what I see in Emacs 26, i.e. without the patch. > > Usually the sense of sight by human cannot see the difference between > the colors #ef0000 and #f00000. You would need some color picker to > tell the difference. OK, then please ignore that remark.