From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.bugs Subject: bug#36315: 27.0.50; SVG transparency handling is inaccurate Date: Tue, 02 Jul 2019 18:46:28 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <83blymnaog.fsf@gnu.org> <83imstli5f.fsf@gnu.org> <83mui4jq4j.fsf@gnu.org> <83sgrvi060.fsf@gnu.org> <83imsnf8t0.fsf@gnu.org> <83zhlxetf0.fsf@gnu.org> Mime-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="50550"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?UTF-8?Q?Goj=C5=8D?=) APEL/10.8 EasyPG/1.0.0 Emacs/25.3 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) Cc: 36315@debbugs.gnu.org, pipcet@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 02 11:50:17 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 1hiFQV-000Cs6-EQ for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Jul 2019 11:50:15 +0200 Original-Received: from localhost ([::1]:51178 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hiFQP-0001qf-Gd for geb-bug-gnu-emacs@m.gmane.org; Tue, 02 Jul 2019 05:50:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39603) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hiFNV-0008IY-8Q for bug-gnu-emacs@gnu.org; Tue, 02 Jul 2019 05:47:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hiFNQ-0007P6-KN for bug-gnu-emacs@gnu.org; Tue, 02 Jul 2019 05:47:07 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37762) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hiFNN-0007OB-PO for bug-gnu-emacs@gnu.org; Tue, 02 Jul 2019 05:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hiFNN-0005qS-LX for bug-gnu-emacs@gnu.org; Tue, 02 Jul 2019 05:47:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: YAMAMOTO Mitsuharu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 02 Jul 2019 09:47: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.156206079222432 (code B ref 36315); Tue, 02 Jul 2019 09:47:01 +0000 Original-Received: (at 36315) by debbugs.gnu.org; 2 Jul 2019 09:46:32 +0000 Original-Received: from localhost ([127.0.0.1]:46583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hiFMt-0005pk-Kr for submit@debbugs.gnu.org; Tue, 02 Jul 2019 05:46:31 -0400 Original-Received: from mathmail.math.s.chiba-u.ac.jp ([133.82.132.2]:62157) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hiFMr-0005pa-18 for 36315@debbugs.gnu.org; Tue, 02 Jul 2019 05:46:29 -0400 Original-Received: from mathent.math.s.chiba-u.ac.jp (mathent [192.168.32.5]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 1D3CEF08E4; Tue, 2 Jul 2019 18:46:28 +0900 (JST) (envelope-from mituharu@math.s.chiba-u.ac.jp) In-Reply-To: <83zhlxetf0.fsf@gnu.org> 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:161951 Archived-At: On Mon, 01 Jul 2019 23:11:31 +0900, Eli Zaretskii wrote: > > > Date: Mon, 01 Jul 2019 12:46:55 +0900 > > From: YAMAMOTO Mitsuharu > > Cc: pipcet@gmail.com, > > 36315@debbugs.gnu.org > > > > > 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. > > > > The situation for libcairo and librsvg should be familiar to us: we > > are directly using Emacs core functionality even when working with > > several major or minor modes. > > Not sure what this alludes to. The correspondence is: libcairo - Emacs core functionality librsvg - Major/minor mode (e.g., Org mode) Major/minor modes are not designed to be used in their own right, but with (the direct use of) Emacs core functionality. Would Org mode users complain that it looks like they are using Emacs and not Org mode? Even the current SVG support code does something like this: /* Create a new RsvgHandle object. */ rsvg_handle = rsvg_handle_new (); /* Do some tasks with rsvg_handle. */ /* Free the RsvgHandle object. */ g_object_unref (rsvg_handle); Do you reject this code because it looks like we are using gobject and not librsvg? > One thing that bothers me with using sub-libraries is that we now need > another entry in dynamic-library-alist, which means complications if > Cairo ever changes its ABI and we will need to use libcairo-N.dll > where N > 2. The patch also removes the entry for gdk-pixbuf, so the situation is not getting worse. FWIW, if we want to fix bug#35548 (use of rsvg_handle_write and rsvg_handle_close that are being deprecated), then we will need to add an entry for gio. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp