From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dewu Newsgroups: gmane.emacs.bugs Subject: bug#70713: 29.3; Official Windows build - RSVG is either using an outdated version of the library or SVG support is not compiled correctly Date: Thu, 02 May 2024 08:01:58 +0200 Message-ID: <3701eb2c95207d5d45c5b2505e29666d@tfwno.gf> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30156"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Roundcube Webmail/1.4.15 To: 70713@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 02 14:46:19 2024 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 1s2VpL-0007Z9-CB for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 02 May 2024 14:46:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2Voo-0004RH-G1; Thu, 02 May 2024 08:45:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s2Voj-0004Qa-0H for bug-gnu-emacs@gnu.org; Thu, 02 May 2024 08:45:41 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s2Voi-0006Kv-L5 for bug-gnu-emacs@gnu.org; Thu, 02 May 2024 08:45:40 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s2Vp4-0005DO-CI for bug-gnu-emacs@gnu.org; Thu, 02 May 2024 08:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dewu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 May 2024 12:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 70713 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.171465391814045 (code B ref -1); Thu, 02 May 2024 12:46:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 May 2024 12:45:18 +0000 Original-Received: from localhost ([127.0.0.1]:43551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2VoJ-0003XJ-PH for submit@debbugs.gnu.org; Thu, 02 May 2024 08:45:18 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:35642) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s2PWx-0001HA-9G for submit@debbugs.gnu.org; Thu, 02 May 2024 02:02:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s2PWL-0004oz-8V for bug-gnu-emacs@gnu.org; Thu, 02 May 2024 02:02:24 -0400 Original-Received: from mail.cock.li ([37.120.193.123]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s2PWH-00062e-8D for bug-gnu-emacs@gnu.org; Thu, 02 May 2024 02:02:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tfwno.gf; s=mail; t=1714629718; bh=IrJJS54EqMsqX3RPcmbY+9yvV2KR8b1tGvtz+j8IobI=; h=Date:From:To:Subject:From; b=nW9wxlJ3L5qPG7CCrBtNS0puHgIXT1ihXShSJ1vEckMP9UprvV2kzkB4MYbu6cteq rgV/MUvX4QWHVJ/X/LR10Hp602bXX7sn6AsIVF4RUW/o4idCdEgwY7kuHOXg6TP1Av dNyEk/SmFntarthsID9S4E4tgm4EyMsLVHY+1p9h8899GmtOW5PQMeEM19+IfPpXXU VURl7vVGCQ4J91yblRLYP7M6DBBLZX7oWayV89+PihYCQNjkfm7/SQBB6sYHyA+lBk dB7P8F5qKQYOtR0+SzU+d1q7lgNKPwtpqxQ0+XfnwvVtNe+u3xXPe8bnK8IzSpsSn7 J14/V/UFRb1rw== X-Sender: dewu@tfwno.gf Received-SPF: pass client-ip=37.120.193.123; envelope-from=dewu@tfwno.gf; helo=mail.cock.li X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_PBL=3.335, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 02 May 2024 08:45:14 -0400 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:284314 Archived-At: SVG (RSVG) support appears broken on the official Windows builds of GNU Emacs. This appears most prominently in osm (osm.el) by minad, available both on GNU ELPA and MELPA, which uses SVG to display map tiles and location pins in the buffer. The tiles with pins under them appear to be blank, regardless of zoom levels or tile set used. The issue had been known to the developer of osm.el, as it was previously reported on both Windows and macOS: - https://github.com/minad/osm/issues/23 - https://github.com/minad/osm/issues/40 The conclusion was that both builds of Emacs lacked proper SVG support to display the tiles correctly. This does not happen on any versions of Emacs built for GNU/Linux available in official repositories or Flatpak. I suspect that Emacs for Windows is either not built correctly with RSVG support, or the library it is built against is too old (librsvg-2-2.dll). This does not happen in Emacs built by MSYS2 (mingw-w64-x86_64-emacs) which appears to be using a newer version of librsvg (mingw-w64-x86_64-librsvg 2.58.0-1) To replicate: - emacs -Q - acquire osm (GitHub, ELPA, or MELPA) - load it (manually, autoloads, use-package etc.) - M-x osm RET - navigate the map - click on the map, add boomarks etc. - map tiles with pins under them appears blank In GNU Emacs 29.3 (build 2, x86_64-w64-mingw32) of 2024-03-24 built on AVALON Windowing system distributor 'Microsoft Corp.', version 10.0.19045 System Description: Microsoft Windows 10 Pro (v10.0.2009.19045.4291) Configured using: 'configure --with-modules --without-dbus --with-native-compilation=aot --without-compress-install --with-sqlite3 --with-tree-sitter CFLAGS=-O2' Configured features: ACL GIF GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XPM ZLIB (NATIVE_COMP present but libgccjit not available) Important settings: value of $LANG: PLK locale-coding-system: cp1250 Major mode: Osm Minor modes in effect: tooltip-mode: t global-eldoc-mode: t show-paren-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 buffer-read-only: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils mule-util format-spec url-util url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars osm dom bookmark text-property-search pp compat compat-autoloads osm-autoloads thingatpt cl-loaddefs cl-lib find-func rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine 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 composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads w32notify w32 lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 78366 12110) (symbols 48 7186 0) (strings 32 23222 1764) (string-bytes 1 670931) (vectors 16 15482) (vector-slots 8 344174 16638) (floats 8 128 293) (intervals 56 420 1) (buffers 984 12))