E-mail List Archives
Re: Does PDF.JS render acccessible PDF experience?
From: Jon Metz
Date: Jun 18, 2024 11:09AM
- Next message: Duff Johnson: "Re: Does PDF.JS render acccessible PDF experience?"
- Previous message: Birkir R. Gunnarsson: "Does PDF.JS render acccessible PDF experience?"
- Next message in Thread: Duff Johnson: "Re: Does PDF.JS render acccessible PDF experience?"
- Previous message in Thread: Birkir R. Gunnarsson: "Does PDF.JS render acccessible PDF experience?"
- View all messages in this Thread
Hi Birkir!
PDF.js parses a PDF using the HTML5 Canvas element. It does not look at the tag structure of the PDF (probably for security purposes). I believe that if you also download the PDF from the browser, it is the same as 'printing' it from the browser, so it's not the same file that was properly tagged.
Here's an article that goes into better detail about how pdf.js works:
https://pdfjs.express/blog/how-pdf-js-works
HTH!
Jon Metz
- Next message: Duff Johnson: "Re: Does PDF.JS render acccessible PDF experience?"
- Previous message: Birkir R. Gunnarsson: "Does PDF.JS render acccessible PDF experience?"
- Next message in Thread: Duff Johnson: "Re: Does PDF.JS render acccessible PDF experience?"
- Previous message in Thread: Birkir R. Gunnarsson: "Does PDF.JS render acccessible PDF experience?"
- View all messages in this Thread