GNU bug report logs -
#55322
28.1; :base-uri not working for svg images on mac
Previous Next
Reported by: Howard Melman <hmelman <at> gmail.com>
Date: Sun, 8 May 2022 19:17:02 UTC
Severity: normal
Found in version 28.1
Done: Alan Third <alan <at> idiocy.org>
Bug is archived. No further changes may be made.
Full log
Message #26 received at 55322 <at> debbugs.gnu.org (full text, mbox):
On May 10, 2022, at 2:01 PM, Alan Third <alan <at> 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 <at> 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
This bug report was last modified 3 years and 17 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.