Thread: JBPatch
View Single Post
Old 10-10-2013, 11:03 AM   #1555
ixtab
(offline)
ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.ixtab ought to be getting tired of karma fortunes by now.
 
ixtab's Avatar
 
Posts: 2,907
Karma: 6736092
Join Date: Dec 2011
Device: K3, K4, K5, KPW, KPW2
Quote:
Originally Posted by Waylander View Post
I just want to use the hyphenation feature for mobi files, but am still unclear about how to do this. Any tips for a noob? [Apart from reading the first post]
The JBPatch core is model-specific and only available for Kindle Touch and Paperwhite (and a UI-less version exists for K3). The actual patches are not only model- but also firmware version-specific.

To get the .mobi hyphenation feature working on a K4, you're in for some major effort, and you'll have to do all of it more or less from scratch.

1. Get JBPatch itself to run on the K4. Read the first post, the Wiki, and whatever is linked from both, to understand how the basic principle works, then find out how to adapt the Touch or K3 code to make it work on the K4.

2. Reverse engineer the K4 firmware to determine if it has (at least theoretical) support for hyphenation at all, and where it needs modification to "plug in" the actual hyphenation logic. If it doesn't have even theoretical support for hyhenation, find out how that can be added in the first place.

3. Write a patch that modifies the bytecode accordingly. Again, see the first post or the Wiki for instructions to get you started with writing patches.


A much easier solution is probably to produce KF8 files with soft hyphenation, using the Hyphenate This! calibre plugin.
ixtab is offline   Reply With Quote