View Single Post
Old 11-20-2024, 01:17 PM   #19
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by lightshaft View Post
Correct me if I’m wrong, but this will still not work with left justification, right?
The patch Description for 'Set KePub hyphenation' states
Quote:
(The publisher can still turn hyphenation off/on in the book's stylesheet.)
which implies hyphenation CSS contained in the kepub's own CSS sheet(s) will be used. The KoboTouchExtended driver's hyphenation option forces extra CSS code into each kepub during calibre's send-to-device.

Another option is to use the 'Modify CSS'/kobo_extra.css feature included in both the KoboTouch & KoboTouchExtended calibre drivers, documented here. This will let you append any CSS rules you like (hyphenation or otherwise) to the bottom of every CSS sheet in the epub/kepub during calibre's send-to-device.

Quote:
Originally Posted by lightshaft View Post
Do you know if there is a documentation of the process of how to find required offsets in the first place? Or maybe thread about patch development process?
There's no layman's guide to patch creation. This is @geek1011's kobopatch thread (it's long). Post #1 has a link to the GitHub repository including source code if you have the programming skills (I believe it's Go) to make use of it.
jackie_w is offline   Reply With Quote