manuels / hpdf.js

Create PDFs in your browser or nodejs (javascript port of libharu)
http://manuels.github.com/hpdf.js/
zlib License
184 stars 30 forks source link

hpdf.js

Create PDFs in your browser (port of libharu) See the demo page

Why?

Because other projects with the same goal lack a lot of features (e.g. custom fonts).

Features

How to use

Include hpdf.js or hpdf.min.js in your HTML file and see examples or libharu API reference

API naming convention

Dependencies

None. You just need emscripten and CoffeeScript if you want to help developing hpdf.js

How to compile (for devs only)

  1. Configure libhaku cmake ./libharu

  2. Configure libpng cd ./libpng; cmake .; cd ..

  3. Compile hpdf.js ./compile.sh (You might want to change some paths in this bash script!)