From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#55322: 28.1; :base-uri not working for svg images on mac Date: Mon, 09 May 2022 11:32:01 +0800 Message-ID: <87tu9z2xfy.fsf@yahoo.com> References: Reply-To: Po Lu Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27809"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.91 (gnu/linux) Cc: 55322@debbugs.gnu.org To: Howard Melman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon May 09 05:33:12 2022 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 1nnu91-0006zD-RL for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 09 May 2022 05:33:11 +0200 Original-Received: from localhost ([::1]:56078 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nnu90-0008U4-AY for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 May 2022 23:33:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47810) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnu8s-0008Tg-Pp for bug-gnu-emacs@gnu.org; Sun, 08 May 2022 23:33:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33491) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nnu8s-0001J6-HQ for bug-gnu-emacs@gnu.org; Sun, 08 May 2022 23:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nnu8s-0005OE-Eb for bug-gnu-emacs@gnu.org; Sun, 08 May 2022 23:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Po Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 09 May 2022 03:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55322 X-GNU-PR-Package: emacs Original-Received: via spool by 55322-submit@debbugs.gnu.org id=B55322.165206713820663 (code B ref 55322); Mon, 09 May 2022 03:33:02 +0000 Original-Received: (at 55322) by debbugs.gnu.org; 9 May 2022 03:32:18 +0000 Original-Received: from localhost ([127.0.0.1]:55621 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnu8A-0005NC-60 for submit@debbugs.gnu.org; Sun, 08 May 2022 23:32:18 -0400 Original-Received: from sonic304-20.consmr.mail.ne1.yahoo.com ([66.163.191.146]:35631) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnu88-0005Mw-Aa for 55322@debbugs.gnu.org; Sun, 08 May 2022 23:32:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1652067129; bh=Fg4eBBypoTLOa3w0AIaZ0P7sz422tF+QfNRI1yTE2Bg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=nvs7+xzteUzyS5GV6mpx4m/20OMDHU37JH23OrFA3EcGR0BdORsvcnvLl+KoGmxw229wW9kWPUbJLvcOHggRzInUs09wCzJAT8HptvA8BoQKTelP0tCRJNIJ6J5BB+ELVr5Gyf2YT5ndWnpT60EmdQGNyuz1M53zwBqWNaUwx5jTBiLfyG/fJhyUCaAFu5dO7dWg5s7fEmsSWfEZYul2UeGUaf6U/wMq4H8d329O7zrVYWdI/wMMcLidawDRvT8GMGwBkq3NQZHvBBIujTdB/KudSBrQkBXqKAexrbjFQEAGVQXVxFlT5nxW8EtTAydzY7rzloJ8e8qaSnuArF2ivA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1652067129; bh=oqLi6f65euAhqztQj/uhT5yclP5Ehq+4b1R3xQARi1O=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=tHvPK8H1hc2Rqd00neB3+ihFDZMxGI7AMrZKkPpoPESV2Wwm3t0rpk8ebDsAhMghbV3BG8iaQjTzwnsGijSxvVMQEKqds/zsop7U1KUobRQXyocHdAJxTBKpLcAdU9/1xcNdAzMQXjf4Dl6rf7+s+kCf1sQsbMhddGsmI55aWhlFIZuwz5s0QIie8HVxmpDZa85gzZN+U6cjcoxqTzJbaeuKtpfQSGdw5HMNhbLDjW/05Ifos/decv/8CXS0DGEX4SsgrIPOTZlNwPNT5OSaAhJ9veqQPPbQVIXTNzoI8Lu2fF3ksYi1qq+Op+izKofhwRfCU8DamTn8fGIIv9imyw== X-YMail-OSG: ne746NMVM1kVNqxBtBXtOhBFksS16sX4yfx6jmG6J3iSW.MVmtiZtQTi4KRvxru slcX5Y7fXTbOvW90f_vMpIVsytsVz3qGIxVYuGbRaoA0oGeTuOTUiyYAdyH5uI0Ed2ntfJ2iIHun sfHbqAts1iqnsuLG7IWUs_UIce7_hTgrs6BqKhMqHJzs7_2Qui1Svfeq0Xc89cxPvLQbL369200C IATnQmwLtq24vHtY9i5gIJhgGIm0QNTeIMIrsmU40t6yLvD7CdOKzbXTUEUQ7IoEGFUIqUOoz5Wq XLrpJ1iLT.yNqHHzLyr4comZ01g09qUQ4RnH13Xs7b2oDkWtVPUk0J489b27PyatNuAM.b62kRHy MkVSrTHC9yoGEvfy8nmNiLD._v3kXHO2X..iU2q1O9.DqP_Y34JWgqsNsaUfKQPPdyigIwoO..GP IzomUGZ8_Ku_xtb3eLlFgIyMDK9d7ljswCU708iaLjdHopie.MBCGRdVVETRThMV7xXoYiz7KOFm gUtYuPPkiTvcj4fkyLWsJ6th6wvpG2iFeKaxnzMXS8u.OHGTkmRauZ_WVdPNT.NwA2vm0JM_pP96 wcTU9jM1fojUARFi1qAaQ18.Ivp7q2AWX.4OQMcbeGr7ZKy9FGZSW5hDKD1EPtB5DJjfhVNOFDwg QZ_gZQXDNZobXg1M2K6gC0A9d4RDwKgi38s9YMUF0A0xQwu4K7mEfPX06PbLQbRJ5Qy6upZYx6pu BEzsUQMpQ9EKmjofGSHm5kK.DsiJUHfNZ0ZbrBZCAeFSW2ck4KwLIpdM782dNDBY77ZBgtWKYJfa l52Q3k8ZioAYK5BqdySMlUoGKcmjfbmFIn1jo7ZCR_ X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ne1.yahoo.com with HTTP; Mon, 9 May 2022 03:32:09 +0000 Original-Received: by hermes--canary-production-sg3-795d7b4d54-hh7m8 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 59d02f5206c4194fd31755d5ceeceac8; Mon, 09 May 2022 03:32:05 +0000 (UTC) In-Reply-To: (Howard Melman's message of "Sun, 8 May 2022 15:16:02 -0400") X-Mailer: WebService/1.1.20188 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:231691 Archived-At: Howard Melman writes: > Please forgive this bug report, I'm a bit out of my depth on the > technologies here but I'm trying. > > I found this on the macport of Emacs 28.1 but it fails in a similar > though slightly different way on vanilla emacs 28.1 -Q. from > https://emacsformacosx.com/ > > I only know how to reproduce this with the osm package available from > GNU ELPA or https://github.com/minad/osm This renders maps from open > street maps inside emacs. It requires the package compat. > > To reproduce, load the package compat and then osm (just osm.elc) and > do M-x osm-search and enter a place with completion, I used London for > this example. In Emacs 28.1 -Q it renders as follows: This might very well be a different bug, since I don't see the location marker being displayed on top, but instead I see "garbled" display. What happens if you set a breakpoint in GDB on this piece of code in image.c? /* Set base_uri for properly handling referenced images (via 'href'). Can be explicitly specified using `:base_uri' image property. See rsvg bug 596114 - "image refs are relative to curdir, not .svg file" . */ if (filename) rsvg_handle_set_base_uri (rsvg_handle, filename); Is it triggered? And if so, what is the value of `filename'? > The issue is that one of the tiles isn't being rendered. osm displays > an svg location marker at the searched for location and displays the > map tile behind that. On the macport it renders as follows which I > think exposes the issue more clearly: It's not useful to compare the code in Carbon Emacs with the code in Emacs.app. They use completely different code paths to handle the `base-uri' attribute.