emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master f45ce78 2/2: Explicitly specify svg base_uri using `:base-uri


From: Alan Third
Subject: Re: master f45ce78 2/2: Explicitly specify svg base_uri using `:base-uri' image property
Date: Sat, 12 Dec 2020 23:59:23 +0000

On Sat, Dec 12, 2020 at 11:43:00PM +0100, Lars Ingebrigtsen wrote:
> With this change, I get
> 
> (emacs:3509529): librsvg-CRITICAL **: 23:41:23.634: rsvg_handle_set_dpi_x_y: 
> assertion 'is_rsvg_handle(handle)' failed
> 
> on some SVG images (example included below).

Sorry, that was my fault, caused by another commit. I put the setting
of DPI before the check for whether the SVG file loaded, so when it
failed (as that image does) it tried to use the rsvg_handle anyway.

I've moved the DPI code to after the check and the image fails
silently now, the same as before.

-- 
Alan Third



reply via email to

[Prev in Thread] Current Thread [Next in Thread]