From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Pankaj Jangid Newsgroups: gmane.emacs.help Subject: Displaying SVG content in EWW Date: Fri, 18 Oct 2019 13:07:43 +0530 Organization: Code is Great! Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="183491"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (darwin) To: Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Oct 18 09:43:08 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iLMuh-000ld3-Ih for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Oct 2019 09:43:07 +0200 Original-Received: from localhost ([::1]:35982 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLMug-00079a-0n for geh-help-gnu-emacs@m.gmane.org; Fri, 18 Oct 2019 03:43:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58788) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLMpd-0003oj-AD for help-gnu-emacs@gnu.org; Fri, 18 Oct 2019 03:37:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLMpc-0005lM-19 for help-gnu-emacs@gnu.org; Fri, 18 Oct 2019 03:37:53 -0400 Original-Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]:42166) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iLMpa-0005kb-RY for help-gnu-emacs@gnu.org; Fri, 18 Oct 2019 03:37:51 -0400 Original-Received: by mail-pf1-x429.google.com with SMTP id q12so3323981pff.9 for ; Fri, 18 Oct 2019 00:37:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:organization:date:message-id:user-agent :mime-version:content-transfer-encoding; bh=8iPx8mnh4nPnsMhcnjSnshjyr+UmfjU+sVXSvSEo/yA=; b=LFK96P9is5ANNonYXx207iqh7pYHJifdmSXz3Ozd3LEHK3GkpfmloSHS24F9Oqq9oB 7n3TOjzk7xyBpW1/eIRzt/qftv9sUYt9+Hmq0cgjynEBYmNnFhOV7DxWQculsTWTt7Lj M0ubbVztxvHV0d01+GoEj4Xoyf0V9a8GDX3iXGDV6om3FcsgHUo43HQtHBLyobze8Lm3 ALLbXIJv6kSS50qPgdsch3onvxY/3lgzfllIYKmzXQbn5hRlFnoSRYTZ98P5C1+I3eP2 p293ziHtjGUcpv4AQ+FkVckD2htfEdgCsA+m9ny8EVtUvnOqS7hKOYL3tNSxwCwXZLEW 9Zyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:organization:date:message-id :user-agent:mime-version:content-transfer-encoding; bh=8iPx8mnh4nPnsMhcnjSnshjyr+UmfjU+sVXSvSEo/yA=; b=kKZUUJncuCsWDtaO4qtsD2M1zhk1uGr15jt71oAb+T1HNzIYTBBDBmsUp8/NfX1hLb 74jP9iGr4iBE5l56pjmU11uKPTDgltv1oxrFw182x3laXeKGhyjSu6FsrJ48uQBbBaLn DupViIwnWhkEl/xG0yV+pFpBMyESOj+xXjVwKmj6LcyLje0TyIpfZuQzg6rKOyUKDeic BLlOOr0nrt1PLj/WRXbw9Ag3mh9e+nNJLD50hMErWpTH4KYEWHKwVeA4nm2gGpgDCqWM Abo+ny+Qgbewz9niewbm8fjeoCzrztIJb07oQBua8WkJeQ3vobX/FebEz8AwFigN6Tbi lD2A== X-Gm-Message-State: APjAAAX/Z4VFDDJktj57DSBPMMNohCWH+IY4KPgfPXo9ZFGWWRV4SS18 pHJeC8hiMmat1xUnNCkbe+ul0H4qRw== X-Google-Smtp-Source: APXvYqz4vNgPBNakYbHH+fRk5kqilsXGaAOu3xPRUsV1oitWj4jcQjCsAiQpp5Vb48N7I7fQsZeWpg== X-Received: by 2002:a17:90a:8d82:: with SMTP id d2mr9611149pjo.31.1571384268539; Fri, 18 Oct 2019 00:37:48 -0700 (PDT) Original-Received: from Pankajs-MacBook-Pro.local ([103.219.229.100]) by smtp.gmail.com with ESMTPSA id q143sm5399845pfq.103.2019.10.18.00.37.47 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 18 Oct 2019 00:37:47 -0700 (PDT) Original-Received: by Pankajs-MacBook-Pro.local (Postfix, from userid 501) id 4ED30203C198FC; Fri, 18 Oct 2019 13:07:44 +0530 (IST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::429 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:121668 Archived-At: Hi, Whenever there is content on a webpage, eww emits the error shown below. There are two ways I should be getting rid of the error message: 1. Ignore this somewhere in config (I don't know how) 2. Fix it to support SVG rendering (I don't know this either) Please help me solve this. 2nd approach is preferred if there is a solution. I am using Emacs 26.3 on MacOS. Error Message: entered--Lisp error: (error "Invalid image type =E2=80=98svg=E2=80=99") signal(error ("Invalid image type =E2=80=98svg=E2=80=99")) error("Invalid image type `%s'" svg) image-type("<= /g>" svg t) create-image("" svg t :ascent 100) shr-put-image(("" image/svg+xml) #(" " 0 1 (keymap (keyma= p (13 . shr-browse-url) (79 . shr-save-contents) (118 . shr-browse-url) (11= 7 . shr-maybe-probe-and-copy-url) (119 . shr-maybe-probe-and-copy-url) (73 = . shr-insert-image) (mouse-2 . shr-browse-url) (follow-link . mouse-face) (= 27 keymap (9 . shr-previous-link)) (9 . shr-next-link) (122 . shr-zoom-imag= e) (105 . shr-browse-image) (97 . shr-show-alt-text) keymap (111 . image-sa= ve) (114 . image-rotate) (43 . image-increase-size) (45 . image-decrease-si= ze)) shr-alt "*" image-url "https://cdn.sstatic.net/Img/home/public-qa.svg?= v=3Dd82acaa7df9f" image-displayer (lambda (url start end) (when url (if (st= ring-match "\\`cid:" url) nil (url-retrieve url (quote shr-image-fetched) (= list (current-buffer) start end) t t)))) help-echo #("*" 0 1 (shr-indentati= on nil face variable-pitch)))) (:width nil :height nil)) ...... ...... url-http-activate-callback() url-http-content-length-after-change-function(372 1081 709) url-http-generic-filter(# "") ...End of email -- Regards, Pankaj Jangid