Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 11-20-2024, 11:40 AM   #16
lightshaft
Junior Member
lightshaft began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Nov 2024
Device: Kobo Clara BW
Quote:
Originally Posted by jackie_w View Post
I'm afraid I can't help with any patches missing from libnickel.so.1.0.0.yaml. I *think* they may need decompile skills, which I don't have.


I've never used the 'Set KePub hyphenation'. If you're a calibre user can't you use the hyphenation options in the KoboTouchExtended driver to control kepub hyphenation?
I set hyphenation on for all of my books in Calibre, but it only works if I use full width justification. This is causing well known non breakable space width issue and makes all the dialogs look ugly.

So, I am using “Set KePub hyphenation” patch to allow hyphenation with left justification. This preserves the width of the spaces, but also reduces the jaggedness of the right edge of the text.
lightshaft is offline   Reply With Quote
Old 11-20-2024, 12:39 PM   #17
ZodWallop
Gentleman and scholar
ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.ZodWallop ought to be getting tired of karma fortunes by now.
 
ZodWallop's Avatar
 
Posts: 11,434
Karma: 110984941
Join Date: Jun 2015
Location: Space City, Texas
Device: Clara BW; Nook ST w/Glowlight, Paperwhite 3
Quote:
Originally Posted by lightshaft View Post
But I’m still missing hyphenation patch for 4.41.
I don't use the kepub hyphenation patch. Instead, I use the Extended tab in the KoboTouchExtended plug-in. See the attached image.

I also use JSWolf's Better Hyphenation dictionary (which should be installed AFTER patching).
Attached Thumbnails
Click image for larger version

Name:	Hyphenation.png
Views:	180
Size:	70.6 KB
ID:	212090  
ZodWallop is offline   Reply With Quote
Old 11-20-2024, 12:50 PM   #18
lightshaft
Junior Member
lightshaft began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Nov 2024
Device: Kobo Clara BW
Quote:
Originally Posted by ZodWallop View Post
I don't use the kepub hyphenation patch. Instead, I use the Extended tab in the KoboTouchExtended plug-in. See the attached image.

I also use JSWolf's Better Hyphenation dictionary (which should be installed AFTER patching).
Correct me if I’m wrong, but this will still not work with left justification, right?
lightshaft is offline   Reply With Quote
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,239
Karma: 16537474
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
Old 11-20-2024, 02:01 PM   #20
lightshaft
Junior Member
lightshaft began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Nov 2024
Device: Kobo Clara BW
Quote:
Originally Posted by jackie_w View Post
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.
Thank you! This is super useful. I will try to experiment with CSS and see if hyphenation works for me without the patch.
lightshaft is offline   Reply With Quote
Old 12-02-2024, 08:34 AM   #21
visionary_lal6
Junior Member
visionary_lal6 began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Nov 2024
Device: Kobo Libra Colour
Thanks, for me is working on Libra Color last firmware.
visionary_lal6 is offline   Reply With Quote
Old 12-21-2024, 07:00 AM   #22
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: 78,388
Karma: 142887248
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Can someone please make a patch zip for 4.41.23145 for the patches that do work with it? Thanks. Someone is asking in another thread for patches for this firmware version.

https://www.mobileread.com/forums/sh...33#post4475433
JSWolf is offline   Reply With Quote
Old 02-04-2025, 06:23 PM   #23
getthething
Enthusiast
getthething has a complete set of Star Wars action figures.getthething has a complete set of Star Wars action figures.getthething has a complete set of Star Wars action figures.
 
Posts: 25
Karma: 260
Join Date: Jan 2024
Device: Kobo Libra 2
Quote:
Originally Posted by Uncle Robin View Post
I've decided to gift my wife a Libra Colour as an update on her Libra H2O, as she's expressed an interest in having a colur ereader before. I plan to set it up for her completely so that when she gets home from work on the day it arrives, it's all ready for her to start using. But I can't find kobopatch 4.41.23145.zip anywhere to patch it. Am I correct in assuming that doing a global find and replace of 4.38.23171 with 4.41.23145 will do the job? Especially in kobopatch.yaml which I now know to be the key yaml to update?
Sorry for bringing back this old thread, but I'm looking to do the same thing but I'm a little lost on where I should be doing the find and replace. I don't see 4.38.23171 as a Libra Colour firmware. So are you using a Libra 2 firmware? If you mean 4.38.23171 patches, I don't see that either. I downloaded kobopatch_4.10.11591 and did a find on each yaml and don't see any mention of firmware versions.

Any help would be appreciated!

ETA: I did not realize that the kobopatch.yaml file was outside of the src folder and once I realized that, it cleared everything up.

Last edited by getthething; 02-04-2025 at 06:30 PM.
getthething is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Firmware 4.41.23145 geek1011 Kobo Reader 99 12-21-2024 01:00 PM
kobopatch question jgray Kobo Developer's Corner 1 04-28-2023 02:40 AM
How to use Kobopatch.yaml Ned Kobo Developer's Corner 26 01-17-2023 02:29 PM
Several kobopatch config questions Antioch Kobo Developer's Corner 21 02-02-2022 07:19 PM


All times are GMT -4. The time now is 06:24 AM.


MobileRead.com is a privately owned, operated and funded community.