webodf / ViewerJS

ViewerJS: Document Reader in JavaScript
http://viewerjs.org
1.94k stars 417 forks source link

Use pdfjs-dist instead of mozilla/pdf.js repo files #181

Open yurydelendik opened 8 years ago

yurydelendik commented 8 years ago

Looking at https://github.com/kogmbh/ViewerJS/blob/master/PDFViewerPlugin.js#L45 , the ViewerJS is using some private PDF.js file that are subject to change. It's recommended to use API that PDF.js team publishes at https://github.com/mozilla/pdfjs-dist, and it's somewhat stable.

If you need some other feature, please open an issue at https://github.com/mozilla/pdf.js/

yurydelendik commented 8 years ago

Most of https://github.com/kogmbh/ViewerJS/labels/PDF.js bugs (web/pdf_viewer.js can build/paint a page with text layer and annotations added) and building from source issues (sources are already built) will be addressed by that.