From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: ynyaaa@gmail.com Newsgroups: gmane.emacs.bugs Subject: bug#26978: 25.2; incomplete display of SVG image Date: Thu, 18 May 2017 13:24:40 +0900 Message-ID: <878tlulrlj.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1495081522 30082 195.159.176.226 (18 May 2017 04:25:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 18 May 2017 04:25:22 +0000 (UTC) To: 26978@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 18 06:25:16 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dBCzz-0007b5-Jd for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 May 2017 06:25:16 +0200 Original-Received: from localhost ([::1]:51685 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBD01-0001qU-Cn for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 May 2017 00:25:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34105) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBCzr-0001n8-Lg for bug-gnu-emacs@gnu.org; Thu, 18 May 2017 00:25:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dBCzm-0006bu-M5 for bug-gnu-emacs@gnu.org; Thu, 18 May 2017 00:25:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49006) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dBCzm-0006bZ-IM for bug-gnu-emacs@gnu.org; Thu, 18 May 2017 00:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dBCzm-0002pT-AG for bug-gnu-emacs@gnu.org; Thu, 18 May 2017 00:25:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: ynyaaa@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 May 2017 04:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 26978 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.149508150110863 (code B ref -1); Thu, 18 May 2017 04:25:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 May 2017 04:25:01 +0000 Original-Received: from localhost ([127.0.0.1]:51683 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dBCzk-0002p8-W4 for submit@debbugs.gnu.org; Thu, 18 May 2017 00:25:01 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43080) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dBCzj-0002ox-OK for submit@debbugs.gnu.org; Thu, 18 May 2017 00:25:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dBCzd-0006Y5-D7 for submit@debbugs.gnu.org; Thu, 18 May 2017 00:24:54 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:39188) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dBCzd-0006Xz-AW for submit@debbugs.gnu.org; Thu, 18 May 2017 00:24:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34047) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dBCzb-0001mf-Mo for bug-gnu-emacs@gnu.org; Thu, 18 May 2017 00:24:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dBCzW-0006Wu-Mi for bug-gnu-emacs@gnu.org; Thu, 18 May 2017 00:24:51 -0400 Original-Received: from mail-pg0-x22d.google.com ([2607:f8b0:400e:c05::22d]:36106) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dBCzW-0006Wh-FW for bug-gnu-emacs@gnu.org; Thu, 18 May 2017 00:24:46 -0400 Original-Received: by mail-pg0-x22d.google.com with SMTP id x64so16633934pgd.3 for ; Wed, 17 May 2017 21:24:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=ajs2617/vHGvshmftFIKImU6pcVSxXswnZf5zUJdqEM=; b=dGiPIsf7NXDCD5+8Sh9MEVZiT9q3GS3yDwm5DxhDXgSXvxvW+cSz718hYCPbRXku7s 756h2ulTuoPqhzYGEH0rrIxuEOmIf180EGiQpo65WaZaWVBVoWXFCtFNv3cwvGclA9XS XU9w+XCyZAVpl5bGkY1ISrajUwSXBEl4iR7cYyw4FkAL5/COnbYbDnwv/xalniXaoXjm f4BQ6ZJELmq1ejHmCW3WwGu3SdLv/JYkh9sPi+XGntnfRS5HOmoQ3TAJ+NCLzL+1Q3T+ A2X9I4hJozY0EEXPAWE82zcdJEbfYJ3EK3UfOTgkLY+2Lm7A3gVfXuMVoaLgHXXEwn3i c+Lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=ajs2617/vHGvshmftFIKImU6pcVSxXswnZf5zUJdqEM=; b=suVkehk+nK436+Jf+tlqmbH3UeqGI+eelyYGrBOhaq8unrMOS5xCmUuYesL/+pDhVm BDCjBA+gaz8MJytVc8U0iYaKMNJ0WUh0xReVNv+nl7upZyeBvjbT0Uugr/jEO9g62vh4 v8alO7FisLRkGz766pUivAQQhTOOtbkX9QOszuHlyG+f70QqVyOEjPL6ketlQRrGDdT5 m6Dthuu1La7OBPTqW/nobnqk78Y0TmQyLD1oSxFBDWzZroRpfs86O9Y04eLBri3xBeLe ZAtiPikxqqgD2DUhqZ3bBXHPURLj1mKvkV3LPzQenHRuUI4V3LpZtCs9dQxQUF7fKlmJ qxSQ== X-Gm-Message-State: AODbwcDfqLaArF97oSJI3uB4QC6jyyKOkGqHVdVk9RAnfBxHnwBk/kJF voF0NaGhXjlWAtGT X-Received: by 10.84.253.23 with SMTP id z23mr2443687pll.11.1495081484977; Wed, 17 May 2017 21:24:44 -0700 (PDT) Original-Received: from PNUT-PC (east103-p210.eaccess.hi-ho.ne.jp. [202.141.199.210]) by smtp.gmail.com with ESMTPSA id m8sm6404351pga.34.2017.05.17.21.24.43 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 17 May 2017 21:24:44 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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: 208.118.235.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:132592 Archived-At: (1)Texts in SVG are not displayed. This sample should show "ABC" in a red square, but three rectangles are displayed instead of "ABC". ABC (2)External image files may not be displayed. Copy emacs-25.2/share/icons/hicolor/16x16/apps/emacs.png into the same directory of the sample SVG, I can view the scaled emacs icon over a blue square with image-mode. If emacs.png and the SVG are saved in the root directory, viewing the SVG shows only a blue square. If emacs.png is not in the same directory of the SVG nor its descendant and the path of xlink:href="..." is rewritten, viewing the SVG shows only a blue square. If the current buffer is not related to any file (i.e. buffer-file-name is nil), evaluating (insert-image (create-image data-string 'svg t)) shows only a blue square. I obtained librsvg-2.40.1-2-w32-bin.zip from http://sourceforge.net/projects/ezwinports/files/. In GNU Emacs 25.2.1 (i686-w64-mingw32) of 2017-04-25 built on LAPHROAIG Windowing system distributor 'Microsoft Corp.', version 6.0.6002 Configured using: 'configure --host=i686-w64-mingw32 --without-dbus --without-compress-install 'CFLAGS=-static -O2 -g3'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS Important settings: value of $LANG: JPN locale-coding-system: cp932 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Load-path shadows: None found. Features: (pp shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util japan-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote w32notify w32 multi-tty make-network-process emacs) Memory information: ((conses 8 91787 12015) (symbols 32 19674 0) (miscs 32 58 179) (strings 16 15897 3822) (string-bytes 1 428454) (vectors 8 13073) (vector-slots 4 518142 10014) (floats 8 166 59) (intervals 28 219 37) (buffers 520 20))