(no title)
getpolarized | 5 years ago
https://getpolarized.io/2020/10/05/Polar-2-0-Release.html
the issue we had was that we were using a CSS filter like other commenters mentioned.
The problem is that it inverts images too and pdfjs doesn't actually specify which parts of the document are an image as it's just writing to a canvas.
My plan moving forward is to fix pdfjs so it can invert natively and the actual canvas is inverted so that images won't be inverted.
I think figures would STILL be a problem though.
EPUBs are much easier and we're not inverting there because we can see which one is an img.
minitech|5 years ago