unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <lmi@gnus.org>
To: Pankaj Jangid <pankaj.jangid@gmail.com>
Cc: Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: Displaying SVG content in EWW
Date: Sat, 19 Oct 2019 10:24:50 +0200	[thread overview]
Message-ID: <8736fpi1m5.fsf@gnus.org> (raw)
In-Reply-To: <mailman.1075.1571384277.9715.help-gnu-emacs@gnu.org> (Pankaj Jangid's message of "Fri, 18 Oct 2019 13:07:43 +0530")

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.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no



  parent reply	other threads:[~2019-10-19  8:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-18  7:37 Displaying SVG content in EWW Pankaj Jangid
2019-10-18  8:09 ` Eli Zaretskii
     [not found]   ` <CAPeGcy-iwLkwPXFqZVtJxVnPjeix=CWKm24BfJ6HFCEOJe3fRA@mail.gmail.com>
2019-10-18 12:31     ` Eli Zaretskii
2019-10-18 13:32       ` Pankaj Jangid
     [not found] ` <mailman.1075.1571384277.9715.help-gnu-emacs@gnu.org>
2019-10-19  8:24   ` Lars Magne Ingebrigtsen [this message]
2019-10-19  8:56     ` Pankaj Jangid

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=8736fpi1m5.fsf@gnus.org \
    --to=lmi@gnus.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=pankaj.jangid@gmail.com \
    /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.
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).