You cannot use node.js direclty, as it doesn't have support for the HTML canvas, HTML images and also lacks a way to load fonts. There is node-canvas, which solves the first two issues. I've worked on solving the last issue of loading fonts. The result is the `node-pdfreader` library:
https://github.com/jviereck/node-pdfreader
it points to a special build of node-canvas, that has font-support.
I've done the node-pdfreader as a proof of concept as it was request may times. Note that it's not really tested, so be careful before you start using it in production.
Best,
Julian
> _______________________________________________
> dev-pdf-js mailing list
>
dev-p...@lists.mozilla.org
>
https://lists.mozilla.org/listinfo/dev-pdf-js