thorium-reader icon indicating copy to clipboard operation
thorium-reader copied to clipboard

pdf: utilize bookmarks and heading for navigation

Open izorba opened this issue 3 years ago • 6 comments

Thorium can open and read a pdf file, but it does not utilize bookmarks and headings of the tagged pdf file for navigation functionality.

izorba avatar Sep 09 '22 07:09 izorba

In Thorium the support of the PDF doesn't include the table of content navigation but include bookmarks feature.

You can click on the bookmark button, the color become gray image

and you can find the bookmark in navigation menu image

I'm closing the issue feel free to reopen it. 😁

panaC avatar Sep 13 '22 11:09 panaC

@llemeurfr Perhaps we should open a discussion about table of content navigation in PDF ?

panaC avatar Sep 13 '22 11:09 panaC

@panaC I think @izorba is referring to accessible "tagged PDFs": https://helpx.adobe.com/uk/acrobat/using/creating-accessible-pdfs.html ...so I think we should keep this issue opened as a "feature request", and maybe ultimately decide not to implement support for tagged PDF functionality, but at least document this decision properly :)

danielweck avatar Sep 13 '22 11:09 danielweck

Note that PDF.js (the rendering library used internally by Thorium to parse and render PDF files) claims to handle semantic markup in accessible PDF, but it is unclear to me that this includes support for all the features expected in "tagged PDFs", such as bookmarks and TOC: https://github.com/mozilla/pdf.js/pull/13171 https://github.com/mozilla/pdf.js/issues/6269

danielweck avatar Sep 13 '22 11:09 danielweck

Thank Daniel, I did not understand.

panaC avatar Sep 13 '22 11:09 panaC

Also see these discussions:

  • https://bugzilla.mozilla.org/show_bug.cgi?id=1705139
  • https://bugzilla.mozilla.org/show_bug.cgi?id=727819
  • https://bugzilla.mozilla.org/show_bug.cgi?id=861157

danielweck avatar Sep 13 '22 11:09 danielweck