pdf.js/examples/node
Tim van der Meij 64b1315bb5
Improve the instructions and code for the pdf2png example
We need to pass `disableFontFace` and `nativeImageDecoderSupport`
because Node.js has no native support for `@font-face` and `Image`.
Doing so makes it possible to render e.g., the Tracemonkey paper, which
failed before. I made this PDF file the default because it's also the
default in other examples/demos and because it showcases the
possibilities better than the very simple hello world PDF file.

Building the library with `gulp dist-install` is easier and is already
recommended in the other examples.
2018-04-01 12:52:57 +02:00
..
pdf2png Improve the instructions and code for the pdf2png example 2018-04-01 12:52:57 +02:00
domstubs.js Restore the btoa/atob polyfills for Node.js 2018-01-13 01:31:05 +01:00
getinfo.js Replace DOMParser with SimpleXMLParser 2017-09-19 23:09:07 +02:00
pdf2svg.js pdf2svg.js: Serialize the SVG to a stream 2017-08-16 19:16:38 +02:00