Skip to content

Latest commit

 

History

History
57 lines (38 loc) · 1.63 KB

README.md

File metadata and controls

57 lines (38 loc) · 1.63 KB

UPDATED VERSION

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

pdf-annotate.js

build status code coverage

Annotation layer for pdf.js

Objectives

  • 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.

Examples

See more [examples](/docs/ folder).

ATTENTION!

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" />

Documentation

View the docs.

Developing

# 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

License

MIT