mkucej / i-librarian-free

I, Librarian - open-source version of a PDF managing SaaS.
https://i-librarian.net
GNU General Public License v3.0
237 stars 28 forks source link

Annotations in PDFs #7

Closed alfureu closed 4 years ago

alfureu commented 4 years ago

Just testing the new I, Librarian 5 and I imported a PDF with annotations and notes made in other software (Xodo PDF). I usually have good experience with these annotations across multiple software, however, in I, Librarian 5 the highlights render the colours as full fill, and not transparent. This means that whatever is highlighted in the PDF by other software, in I, Librarian the colours cover the text making them unreadable.

image

mkucej commented 4 years ago

We use an external library to process PDFs. This maybe a bug upstream in Poppler, or a bug in Xodo PDF. When I added annotations using I, Librarian, export the PDF with the annotations, and re-import it back to I, Librarian, no annotations are visible. This is the correct/intended behavior.

alfureu commented 4 years ago

I think there is an issue with Poppler then, as Xodo annotations show up all fine with Adobe and other PDF readers.

mkucej commented 4 years ago

Theoretically, if there was a way to identify the bugged highlights in the SVG, we could compensate for the bug by removing the highlights in post-processing.

mkucej commented 4 years ago

This bug was reported upstream in 2015 and has not been fixed yet. https://gitlab.freedesktop.org/poppler/poppler/issues/375

alfureu commented 4 years ago

OK, thanks for having a look. This then explains why all the other "modern" PDF viewers render annotations correctly. I would love to hear your thoughts about how this can be addressed/resolved in I, Librarian. This is a deal-breaker for me, otherwise I see very little added value in using it.

mkucej commented 4 years ago

Thanks for trying I, Librarian. I am sorry that you don't see a value in it. I am sure you will find other software out there that fits your needs better.