Fixed problems in my fork and updated PdfJS lib to docs/ example (I don't can update in NPM package. I always have more problems.)
- Annotation and highlighting worked in Safari (iPhone with iOS 12)
- Fix bug with Canvas that entering in repeat mode (overflow error)
- Fix render bugs. I updated PdfJS version and my render now is good
Annotation layer for pdf.js
- Provide a low level annotation layer for pdf.js.
- Optional high level UI for managing annotations.
- Agnostic of backend, just supply your own
StoreAdapter
to fetch/store data. - Prescribe annotation format.
See more [examples](/docs/ folder).
In HTML file, insert "viewport" with scale disabled because Safari in iOS 12 only work with it
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
# clone the repo
$ git clone https://github.com/instructure/pdf-annotate.js.git
$ cd pdf-annotate.js
# intall dependencies
$ npm install
# start example server
$ npm start
$ open http://127.0.0.1:8080
# run tests
$ npm test
MIT