-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add more controls to PDF viewer #16
Comments
Stu notes:
|
PDF implementation notes: UV uses https://pdfobject.com/, which is really clean, lightweight and simple. It replaced pdf.js, which was problematic in the UV - it significantly bloats the codebase, requires inclusion of all its i18n files, etc. However, for the last year, the much lighter pdfobject suffers from this problem:
To add thumbnails and TOC, we'd need to do one of two things. They are quite radically different:
I'm not sure about the index tab. Will have to see what we could get out of a PDF in the browser. If we used pdf.js again we'd need to do some work to determine how to avoid the bloating and other problems that led to its removal in the first place. |
Demian Katz (Villanova) reminded me that we weren't actually using plain pdf.js - it required some hacks to make it work, which incurred maintenence overhead when updating to newer versions. |
This is probably not an easy enhancement, but it would be nice if, when viewing a PDF, there was a Contents section available as there is with a multi-image object.
As with a multi-image object, the Contents section would ideally have both Index and Thumbnail tabs. In this way it would be similar to the options available in Preview on OS X. It would enable the user to obtain an understanding of the document structure and scroll through the document more quickly.
The text was updated successfully, but these errors were encountered: