pdf.js/examples/node
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
..
pdf2png Attempt to provide better default values for the disableFontFace/nativeImageDecoderSupport API options in Node.js 2018-06-03 00:28:37 +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