[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#19373: 24.4; SVG images rendered via librsvg fail at displaying non-
From: |
Ulf Jasper |
Subject: |
bug#19373: 24.4; SVG images rendered via librsvg fail at displaying non-inline bitmap images |
Date: |
Thu, 18 Dec 2014 14:40:44 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> writes:
>>>>>> On Wed, 17 Dec 2014 21:00:54 +0100, Ulf Jasper <ulf.jasper@web.de> said:
>
>> This is related to rsvg bug 596114 "image refs are relative to
>> curdir, not .svg file" [2]. I just pushed a fix to master (c17c864)
>> which should fix this.
>
> I suspect it is not appropriate to refer to buffer-local variables of
> the current buffer inside image loading functions:
[...]
> Maybe SVG image descriptors should accept the property `:base-uri' or
> something?
Agreed. That solution would be a much cleaner. I was thinking about
that but chose the simpler solution instead. As an explanation=excuse:
This was one of my first trips to the c-side of Emacs-land. I still
feel unfamiliar with this area.
I shall add a property to svg image specs for holding the filename.
Best,
ulf