View Single Post
Old 08-22-2021, 05:19 AM   #1220
Frenzie
Wizard
Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.Frenzie ought to be getting tired of karma fortunes by now.
 
Posts: 1,619
Karma: 724945
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
I indicated that it's theoretically possible on the right kind of document.

It's not that hard in principle (for a certain value of not hard), but I believe you'd have to rewrite the document, which could take a while on a poor little ereader. See here (except we use our own FFI bindings to MuPDF, but the general principle would be the same). Or you could do it on a page by page basis; in any case it'd involve quite a few moving parts with the associated added maintenance complexity and performance penalty. And last but certainly not least, we're not actually using MuPDF 1.16 yet.

But thanks for saying Librera does it; it could be worth checking if they do it as sketched above or if there's a more clever method.

Last edited by Frenzie; 08-22-2021 at 05:23 AM.
Frenzie is offline   Reply With Quote