François Billioud
François Billioud
We'll try our best to maintain things there. @Hopding if you pass by, it would be important that we discuss the best possible transition. Maybe deprecating this package and updating...
Would you mind checking if this bug seems necessary in @cantoo/pdf-lib ? Waiting for Hopding to have the time to keep up with the contributions here, we made our fork...
This has been released in [@cantoo/pdf-lib](https://www.npmjs.com/package/@cantoo/pdf-lib)
We'll try to add this to our fork and maintain it. Our fork already adds support to drawing svg. [see this PR](https://github.com/Hopding/pdf-lib/pull/1073). I'll tell you if I succeeded.
@KammererTob Can you confirm the following points with me? - Right now, there is no way to provide the password. I need to add this to the constructor of `PDFDocument`...
If I load a pdf with password, I get this error: ``` Uncaught (in promise) TypeError: dict.get(...) is undefined CipherTransformFactory crypto.js:1355 PDFDocument PDFDocument.js:52 load PDFDocument.js:132 fulfilled tslib.es6.js:73 promise callback*step tslib.es6.js:75...
1. I know. I added an optional parameter to `load()`. I just load the file, and if it requires a password, I ask for the password and load again. So,...
I could solve the 3rd issue. Apparently: ``` EncryptMetadata (Boolean): It specifies whether the document metadata (information about the document itself such as title, author, etc.) is to be encrypted....
I'm done. You can try npm package `@cantoo/pdf-lib`. Some details might change in the next few days, but don't hesitate to try and report.
I have no news from hopding for a while. We maintain the repo @cantoo/pdf-lib for now. Do you know if your change is needed there too? It seems to work...