-
Notifications
You must be signed in to change notification settings - Fork 2
Description
PDF support is an important part of the Readium Mobile toolkit and something that we also want to replicate on the Web.
In Readium Mobile, this support is based on native support for PDF (PDFKit on iOS, iPadOS and macOS while Android uses PDFium) as well as PSPDFKit (only on Android for now and which requires a commercial license).
On the Web, there's no native support for PDF, which means that using a PDF library will be mandatory. Rather than re-inventing the wheel, Readium Web will integrate an existing project (such as PDF.js) and make sure that the navigator and all of its usual API (Preferences or Content Iterator API for example) behave as expected and consistently with the rest of the project.
This integration must support the ability to stream a PDF using byte ranges as long as the PDF is linearized in order to provide a decent UX for larger PDF files.