pdfjs icon indicating copy to clipboard operation
pdfjs copied to clipboard

Can't see document's properties

Open joshuaVayer opened this issue 2 years ago • 3 comments

Hi,

Thanks for the library, it helped us a lot. Mainly the merging feature.

However, I am facing an issue with the document's properties. Even after defining them while creating a new Document, I can't see them on the rendered PDF (Title of the PDF preview and "Document properties" modal box). I've attached a screenshot of the pdfjs playground where I was able to reproduce the issue. I am doing something wrong ? If you need more details, just let me know.

image

Thanks

joshuaVayer avatar Jul 23 '21 16:07 joshuaVayer

Hi, how do you open the info box in the Chrome pdf viewer?

Anyway, what are you doing is correct and if I do the same, download the PDF and look at the info box in the PDF viewer on macOS, the properties are correctly set:

Screenshot 2021-07-29 at 10 40 35

rkusa avatar Jul 29 '21 08:07 rkusa

Hi and thanks for your answer,

Indeed I can see the properties once I download the file and open it localy. You can open the info box in Chrome as by clicking on the three dots in the top right corner.

image

joshuaVayer avatar Aug 02 '21 08:08 joshuaVayer

Screenshot 2021-08-18 at 10 12 01

It looks like I don't have the info box on mac. Do you see the author and other information for other PDFs (not generated by pdfjs) in the Chrome info box?

rkusa avatar Aug 18 '21 08:08 rkusa