From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: pdf.js + xwidget-webkit-browse-url = =?utf-8?Q?=F0=9F=8C=9F?= Date: Sat, 12 Mar 2016 14:34:18 +0100 Message-ID: References: <56E3C063.5030607@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1457789758 1008 80.91.229.3 (12 Mar 2016 13:35:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Mar 2016 13:35:58 +0000 (UTC) Cc: Emacs developers To: =?iso-8859-1?Q?Cl=E9ment?= Pit--Claudel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 12 14:35:47 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aejhr-0008Hg-12 for ged-emacs-devel@m.gmane.org; Sat, 12 Mar 2016 14:35:47 +0100 Original-Received: from localhost ([::1]:60367 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aejhq-0004xy-F6 for ged-emacs-devel@m.gmane.org; Sat, 12 Mar 2016 08:35:46 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48980) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aejhm-0004xs-M7 for emacs-devel@gnu.org; Sat, 12 Mar 2016 08:35:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aejhj-0001RK-E6 for emacs-devel@gnu.org; Sat, 12 Mar 2016 08:35:42 -0500 Original-Received: from mx6.bahnhof.se ([213.80.101.16]:48730) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aejhj-0001RC-1U for emacs-devel@gnu.org; Sat, 12 Mar 2016 08:35:39 -0500 Original-Received: from localhost (mf.bahnhof.se [213.80.101.20]) by mx6-reinject (Postfix) with ESMTP id BF43741651; Sat, 12 Mar 2016 14:35:35 +0100 (CET) X-Virus-Scanned: by amavisd-new using ClamAV at bahnhof.se (MF2) Original-Received: from mf2.bahnhof.se ([127.0.0.1]) by localhost (mf2.bahnhof.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IDP7HskmtHvZ; Sat, 12 Mar 2016 14:35:25 +0100 (CET) Original-Received: from mta.verona.se (h-235-62.a149.priv.bahnhof.se [85.24.235.62]) by mf2.bahnhof.se (Postfix) with ESMTP id 9AB2294029A; Sat, 12 Mar 2016 14:34:33 +0100 (CET) Original-Received: from localhost (unknown [127.0.0.1]) by mta.verona.se (Postfix) with ESMTP id 36C2E4ECE69; Sat, 12 Mar 2016 13:34:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at verona.se Original-Received: from mta.verona.se ([127.0.0.1]) by localhost (exodia.verona.se [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HunG5bofEsjg; Sat, 12 Mar 2016 14:34:18 +0100 (CET) Original-Received: from exodia.verona.se (www.verona.se [192.168.200.15]) by mta.verona.se (Postfix) with ESMTP id 82BAC4ECE68; Sat, 12 Mar 2016 14:34:18 +0100 (CET) In-Reply-To: <56E3C063.5030607@gmail.com> (=?iso-8859-1?Q?=22Cl=E9ment?= Pit--Claudel"'s message of "Sat, 12 Mar 2016 02:08:19 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.91 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 213.80.101.16 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:201534 Archived-At: Cl=E9ment Pit--Claudel writes: > One really neat application of Joakim's work on XWidget support is that w= e can now show PDFs using pdf.js (Apache 2 licensed) as an alternative to r= endering each page to a PNG via DocView; it makes both the initial display,= and zooming, a lot faster. > > There are issues with scrolling (Joakim, ideas?) but the result still loo= ks very good. To try it, run=20 > (xwidget-webkit-browse-url "https://mozilla.github.io/pdf.js/web/viewe= r.html" nil) That looks very neat! I'm not sure why the scrolling fails in this particular case. I'll add it to my list of things to investigate. > > Cheers, > Cl=E9ment. > --=20 Joakim Verona