From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Howard Melman <hmelman@gmail.com>
Cc: 55322@debbugs.gnu.org
Subject: bug#55322: 28.1; :base-uri not working for svg images on mac
Date: Mon, 09 May 2022 11:32:01 +0800 [thread overview]
Message-ID: <87tu9z2xfy.fsf@yahoo.com> (raw)
In-Reply-To: <FEB74C04-3C13-4684-B35C-F091FCB48D30@gmail.com> (Howard Melman's message of "Sun, 8 May 2022 15:16:02 -0400")
Howard Melman <hmelman@gmail.com> 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"
<https://gitlab.gnome.org/GNOME/librsvg/issues/33>. */
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.
next parent reply other threads:[~2022-05-09 3:32 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <FEB74C04-3C13-4684-B35C-F091FCB48D30@gmail.com>
2022-05-09 3:32 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2022-05-09 14:26 ` bug#55322: 28.1; :base-uri not working for svg images on mac Howard Melman
2022-05-09 21:42 ` Alan Third
2022-05-10 1:43 ` Howard Melman
2022-05-10 17:17 ` Alan Third
2022-05-10 18:01 ` Alan Third
2022-05-11 0:00 ` Howard Melman
2022-05-11 0:17 ` Howard Melman
2022-05-11 16:59 ` Alan Third
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tu9z2xfy.fsf@yahoo.com \
--to=bug-gnu-emacs@gnu.org \
--cc=55322@debbugs.gnu.org \
--cc=hmelman@gmail.com \
--cc=luangruo@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).