pdf.js/examples
Jonas Jenwald 0ecc22cb04 Attempt to provide better default values for the disableFontFace/nativeImageDecoderSupport API options in Node.js
This should provide a better out-of-the-box experience when using PDF.js in a Node.js environment, since it's missing native support for both `@font-face` and `Image`.
Please note that this change *only* affects the default values, hence it's still possible for an API consumer to override those values when calling `getDocument`.

Also, prevents "ReferenceError: document is not defined" errors, when running the unit-tests in Node.js/Travis.
2018-06-03 00:28:37 +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 Fix typos 2018-04-01 23:20:41 +02:00
mobile-viewer Rename the globals to shorter names. 2018-03-16 11:08:56 -07:00
node Attempt to provide better default values for the disableFontFace/nativeImageDecoderSupport API options in Node.js 2018-06-03 00:28:37 +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