From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#44065: 28.0.50; SVG image not shown completely Date: Sun, 18 Oct 2020 18:17:18 +0300 Message-ID: <83v9f7r2bl.fsf@gnu.org> References: <87pn5ga0wt.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14577"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44065@debbugs.gnu.org To: styang@fastmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 18 17:18:10 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 1kUARl-0003gd-VM for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Oct 2020 17:18:09 +0200 Original-Received: from localhost ([::1]:60156 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kUARk-0005ay-O3 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 18 Oct 2020 11:18:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46748) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kUARe-0005aq-DM for bug-gnu-emacs@gnu.org; Sun, 18 Oct 2020 11:18:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55600) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kUARe-0007rg-2k for bug-gnu-emacs@gnu.org; Sun, 18 Oct 2020 11:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kUARd-0000To-UK for bug-gnu-emacs@gnu.org; Sun, 18 Oct 2020 11:18: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, 18 Oct 2020 15:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44065 X-GNU-PR-Package: emacs Original-Received: via spool by 44065-submit@debbugs.gnu.org id=B44065.1603034242798 (code B ref 44065); Sun, 18 Oct 2020 15:18:01 +0000 Original-Received: (at 44065) by debbugs.gnu.org; 18 Oct 2020 15:17:22 +0000 Original-Received: from localhost ([127.0.0.1]:38913 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUAR0-0000CU-C5 for submit@debbugs.gnu.org; Sun, 18 Oct 2020 11:17:22 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39894) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUAQy-00007Q-AQ for 44065@debbugs.gnu.org; Sun, 18 Oct 2020 11:17:20 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44794) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kUAQt-0007ob-3m; Sun, 18 Oct 2020 11:17:15 -0400 Original-Received: from [176.228.60.248] (port=2728 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kUAQs-0005Km-JO; Sun, 18 Oct 2020 11:17:14 -0400 In-Reply-To: <87pn5ga0wt.fsf@gmail.com> (styang@fastmail.com) 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:190894 Archived-At: > From: styang@fastmail.com > Date: Sat, 17 Oct 2020 18:27:30 -0500 > > Emacs stopped showing SVG files completely (i.e. it is shown cropped), with 8f42b94fe43 the offending commit. This commit intends to resolve bug#40845. On what OS and with which version of librsvg? > Please find the SVG file (1.svg) I use and the render image (1.png) in attachment. Notice the cropped part at the bottom and on the right side. The SVG file can be correctly viewed by Emacs 27, and other photo viewers like eog or gThumb. The file attached embeds an SVG element inside another, which seems to be discouraged by https://debbugs.gnu.org/cgi/bugreport.cgi?bug=40845#68. However, according to Mozilla MDN (https://developer.mozilla.org/en-US/docs/Web/SVG/Element/svg), I have no problem displaying 1.svg with today's master. How did you try to display it? Please show a complete recipe starting from "emacs -Q". I just visited the file, and it displayed correctly.