* pdf.js + xwidget-webkit-browse-url = 🌟
@ 2016-03-12 7:08 Clément Pit--Claudel
2016-03-12 13:34 ` joakim
0 siblings, 1 reply; 2+ messages in thread
From: Clément Pit--Claudel @ 2016-03-12 7:08 UTC (permalink / raw)
To: Emacs developers; +Cc: joakim
[-- Attachment #1.1: Type: text/plain, Size: 469 bytes --]
One really neat application of Joakim's work on XWidget support is that we can now show PDFs using pdf.js (Apache 2 licensed) as an alternative to rendering 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 looks very good. To try it, run
(xwidget-webkit-browse-url "https://mozilla.github.io/pdf.js/web/viewer.html" nil)
Cheers,
Clément.
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: pdf.js + xwidget-webkit-browse-url = 🌟
2016-03-12 7:08 pdf.js + xwidget-webkit-browse-url = 🌟 Clément Pit--Claudel
@ 2016-03-12 13:34 ` joakim
0 siblings, 0 replies; 2+ messages in thread
From: joakim @ 2016-03-12 13:34 UTC (permalink / raw)
To: Clément Pit--Claudel; +Cc: Emacs developers
Clément Pit--Claudel <clement.pit@gmail.com> writes:
> One really neat application of Joakim's work on XWidget support is that we can now show PDFs using pdf.js (Apache 2 licensed) as an alternative to rendering 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 looks very good. To try it, run
> (xwidget-webkit-browse-url "https://mozilla.github.io/pdf.js/web/viewer.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ément.
>
--
Joakim Verona
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-03-12 13:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-12 7:08 pdf.js + xwidget-webkit-browse-url = 🌟 Clément Pit--Claudel
2016-03-12 13:34 ` joakim
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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).