1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-24 17:18:07 +02:00
pdf.js/examples
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
..
acroforms Rename the globals to shorter names. 2018-03-16 11:08:56 -07:00
browserify Rename the globals to shorter names. 2018-03-16 11:08:56 -07:00
components Rename the globals to shorter names. 2018-03-16 11:08:56 -07:00
helloworld Move the workerSrc option from the global PDFJS object and into GlobalWorkerOptions instead 2018-02-16 13:22:35 +01:00
learning Rename the globals to shorter names. 2018-03-16 11:08:56 -07:00
mobile-viewer Rename the globals to shorter names. 2018-03-16 11:08:56 -07:00
node Improve the instructions and code for the pdf2png example 2018-04-01 12:52:57 +02:00
svgviewer Move the cMapUrl and cMapPacked options from the global PDFJS object and into getDocument instead 2018-03-01 18:11:16 +01:00
text-only Rename the globals to shorter names. 2018-03-16 11:08:56 -07:00
webpack Move the workerSrc option from the global PDFJS object and into GlobalWorkerOptions instead 2018-02-16 13:22:35 +01:00