View Single Post
Old 04-22-2025, 11:02 AM   #3243
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,085
Karma: 144284144
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by hengyu View Post
Hi all,

I've noticed that KEPUBs converted by Calibre 8 onwards have badly broken justification (see comparison shot).

I raised a Calibre bug here:
https://bugs.launchpad.net/calibre/+bug/2107778

It was discovered that the output is different apparently in how the spaces are placed in or around the span tags. This apparently breaks justified text on the Kobo.

Was informed by Kovid that this was necessary to fix highlighting without ugly gaps, which was more important, since justified text was not an important part of reading, and that I was the only one complaining. And that his recommended solution would be to simply not use justified text. :shrug

Which is fair enough, but I'd love to see if anyone's discovered a workaround for those who use text justification?

Is there also some possibility of some config on the device causing this and potentially approaching a fix from that angle?
In Kobo eReader.conf (in .kobo/kobo) on your Kobo, under [Reader], add
Code:
webkitTextRendering=geometricPrecision
and see if that fixes the problem.

Also, there is a patch that will reduce the space in KePub. I do not know if it works with the current Libra Colour firmware. You can try the previous firmware's patches and see if it works with the current firmware. You will have to edit it for the new firmware and then try it.

https://www.mobileread.com/forums/sh...d.php?t=366569
JSWolf is offline   Reply With Quote