Hi all,
Recent I updated poppler in the emscripten repo, and managed to make it works:
https://github.com/kripken/emscripten/pull/1854 The old demo is down, as well as many demos on the same site, I wonder if they are still maintained. Anyway I'm interested in creating a new one myself on Github, and I'll post back once I make it running.
I wonder if you have ever compared the old poppler demo with pdf.js:
- Size: The old one was pretty big (12M), but now it has become much smaller, around 5M (probably thanks to closure compiler?). PDF.js seems to be around 3M without closure (but it does not support closure so far).
- Features: I'd bet that poppler supports much more PDF features due to its long history and reception, but also I rarely see the messages showing that some PDF is not supported by PDF.js yet, so PDF.js should have also supported most useful features.
- Speed: Might be an interesting comparison, but I cannot predict the result at all.
Since I did not find anything with Google, I wonder if you guys have any discussion with PDF.js guys. I guess that it might be interesting to replace the PDF parsing code of PDF.js with a compiled poppler.
What do you think?
regards,
- Lu Wang