unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Howard Melman <hmelman@gmail.com>
To: Alan Third <alan@idiocy.org>
Cc: 55322@debbugs.gnu.org
Subject: bug#55322: 28.1; :base-uri not working for svg images on mac
Date: Tue, 10 May 2022 20:00:51 -0400	[thread overview]
Message-ID: <93B9D4F3-7174-42B9-B337-93D07A3283F0@gmail.com> (raw)
In-Reply-To: <YnqodAUYEFYZlBGE@idiocy.org>

On May 10, 2022, at 2:01 PM, Alan Third <alan@idiocy.org> wrote:
> 
> On Tue, May 10, 2022 at 06:17:03PM +0100, Alan Third wrote:
>> On Mon, May 09, 2022 at 09:43:45PM -0400, Howard Melman wrote:
>>> 
>>>> On May 9, 2022, at 5:42 PM, Alan Third <alan@idiocy.org> wrote:
>>>> 
>>>> Try messing with the base-uri, perhaps try setting it to the
>>>> directory, or to foo.svg or something.
>>> 
>>> I had tried using a directory as :base-uri but that didn't help.
>> 
>> Hmm, I tried looking at the librsvg source to see if I could work out
>> whether there's anything funny going on, but it's in rust and I don't
>> understand it, so that didn't help at all. I'm pretty much stumped. If
>> I get a chance I'll see if I can dig the Mac out and see if I can
>> reproduce it.
> 
> I actually just did this while waiting for my dinner, and it works
> fine here using an image I had lying around. I'm trying to upgrade my
> librsvg to the latest version in case mine is too old, but it's taking
> forever.
> 
> Can you please ensure that the image being referenced in the SVG is
> actually there and that Emacs is able to open it directly?

At the time I absolutely verified this.  OSM lets you click around the map
to drop a pin and so those tiles get redrawn with the underllying map and
the pin, just like in the result of a search.  Clicking around showed these
same issues too, which is what convinced me the tile were there and 
drawable.  Also I opened the original tile and it rendered fine.

I can't quite reproduce this now.  I installed a new version from emacsformac
and upgraded osm which does more checks.  I can't quite verify that
the emacsformac build links in librsvg.  I will try the other build you
mentioned, I was unaware of it.

Thanks.

Howard






  reply	other threads:[~2022-05-11  0:00 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 ` bug#55322: 28.1; :base-uri not working for svg images on mac Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-05-09 14:26   ` 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 [this message]
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=93B9D4F3-7174-42B9-B337-93D07A3283F0@gmail.com \
    --to=hmelman@gmail.com \
    --cc=55322@debbugs.gnu.org \
    --cc=alan@idiocy.org \
    /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).