PDF.js: Difference between revisions

Content deleted Content added
m Wikidata latest release version
Link, Added refs, removed baseless and useless claims, removed pdf.js as alternative name
Line 21:
}}
 
'''PDF.js''' or '''pdf.js''' is a [[JavaScript library]] that renders [[Portable Document Format]] (PDF) files using the [[web standard]]s-compliant [[HTML5 Canvas]]. The project is led by the [[Mozilla Corporation]] after [[Andreas Gal]] launched it (initially as an experiment) in 2011.
 
== History and application ==
Line 31:
==Behavior==
 
According to onea benchmark by [[Mozilla]], PDF.js is performant for viewing most common PDF files, while it may have some issues with large or 'graphics-heavy' documents.<ref>{{Cite web|url=https://hacks.mozilla.org/2014/05/how-fast-is-pdf-js/|title=How fast is PDF.js? – Mozilla Hacks - the Web developer blog}}</ref>
 
PDF.js supports most of the PDF specifications (including form support or [[XFA]]<ref>{{Cite web|title=1706133 - (pdf-xfa) [meta] XFA support|url=https://bugzilla.mozilla.org/show_bug.cgi?id=1706133|access-date=2022-01-28|website=bugzilla.mozilla.org|language=en}}</ref>) , but some features have not been implemented yet, which may impact rendering behavior depending on the features the document uses.<ref>{{Cite web|title=Guide to Evaluating PDF.js Rendering|url=https://pdftron.com/blog/pdf-js/guide-to-pdf-js-rendering/|access-date=2021-08-05|website=PDFTron}}</ref>
 
Several [[PDF/X]] or optional PDF features notthat yetare addednot tosupported in PDF.js or incompleteinclude:
 
*Optional Content Groups (OCGs)
* [[ICC color profiles|ICC Color Profiles]]<ref>{{Cite web |title=ICC profiles support for images · Issue #2856 · mozilla/pdf.js |url=https://github.com/mozilla/pdf.js/issues/2856 |access-date=2022-05-24 |website=GitHub |language=en}}</ref>
*ICC Color Profiles
* Spot colors
*Overprint simulation<ref>{{Cite web |title=Overprint Support · Issue #7360 · mozilla/pdf.js |url=https://github.com/mozilla/pdf.js/issues/7360 |access-date=2022-05-24 |website=GitHub |language=en}}</ref>
*Overprint simulation
*Transparency groups (knockout/isolation)<ref>{{Cite web |title=Issue about knockout groups. · Issue #3136 · mozilla/pdf.js |url=https://github.com/mozilla/pdf.js/issues/3136 |access-date=2022-05-24 |website=GitHub |language=en}}</ref>
*Transparency groups (knockout/isolation)
*Some patterns & shadings
*High-fidelity printing