jimmejardine / qiqqa-open-source

The open-sourced version of the award-winning Qiqqa research management tool for Windows
GNU General Public License v3.0
366 stars 60 forks source link

Text in a paper isn`t appearing #383

Open vredko opened 2 years ago

vredko commented 2 years ago

It happens from time to time, but text still selectable. After restarting Qiqqa everything is fine, but issue randomly happens after I close and again open the same paper (image below). Maybe it relates to the #292 issue. If so, should I install last release in order to fix it.

My release: v82.0.7568-29227 (i.e. v82pre11)

2022-03-25_12-49-16
GerHobbelt commented 1 year ago

Ah 😭 🤕 the elusive behaviour of the PDF render component in Qiqqa. (https://github.com/jimmejardine/qiqqa-open-source/issues/209)

That one has some very weird issues with some PDFs out there in the wild. Regrettably we'll be stuck with it until #289 is done (Glorious Future indeed).

A work-around that has worked for me, at least partly, is to take such a PDF and create a processed copy using qpdf (with decrypt options set) and add that PDF to the library as well. It still won't fix it for this one, but then you'll have a (edited) copy of it that SHOULD render okay, most of the time. (Other workarounds are all about preprocessing PDFs so SORAX PDF render component doesn't b0rk on them, e.g. mutool clean from the mupdf tool set.

qpdf can be found here: https://github.com/qpdf/qpdf