I'm reading the document producer after setting a custom value for it.
How did you attempt to do it?
First:
pdf.setProducer('html2read2pdf')
Then, in a different place, after loading the file from disk:
pdf.getProducer()
What actually happened?
If I load the document and read its Producer metadata property the value I get is pdf-lib (https://github.com/Hopding/pdf-lib) instead of the one I set with PDFDocument#setProducer
However if I open the resulting PDF with a viewer like Mac Preview or PDF Expert I see the expected custom value
What were you trying to do?
I'm reading the document producer after setting a custom value for it.
How did you attempt to do it?
First:
Then, in a different place, after loading the file from disk:
What actually happened?
If I load the document and read its
Producer
metadata property the value I get ispdf-lib (https://github.com/Hopding/pdf-lib)
instead of the one I set withPDFDocument#setProducer
However if I open the resulting PDF with a viewer like Mac Preview or PDF Expert I see the expected custom value
What did you expect to happen?
I see the
Producer
I setHow can we reproduce the issue?
sample.pdf
Version
1.17.1
What environment are you running pdf-lib in?
Node
Checklist
Additional Notes
No response