[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Displaying SVG content in EWW
From: |
Pankaj Jangid |
Subject: |
Re: Displaying SVG content in EWW |
Date: |
Sat, 19 Oct 2019 14:26:20 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (darwin) |
Lars Magne Ingebrigtsen <lmi@gnus.org> writes:
> Pankaj Jangid <pankaj.jangid@gmail.com> writes:
>
>> Whenever there is <svg> content on a webpage, eww emits the error shown
>> below. There are two ways I should be getting rid of the error message:
>
> [...]
>
>> entered--Lisp error: (error "Invalid image type ‘svg’")
>
> [...]
>
>> create-image("<svg content...>" svg t :ascent 100)
>> shr-put-image(("<svg content...>"
>
> This means that your Emacs is compiled without svg support. However,
> eww shouldn't bug out here -- in Emacs 27, I've now fixed this so that
> it'll just ignore the svg images instead of bugging out.
>
> Thanks for reporting the error.
eww is probably bugging out because I have (setq debug-on-error
t). Instead of simply ignoring if we can render some hint then the
user will know the issue.
Thanks for taking this up.
--
Regards,
Pankaj Jangid