View Single Post
Old 06-25-2015, 08:29 AM   #70
cramoisi
Librarian
cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.cramoisi did not drink the Kool Aid.
 
Posts: 347
Karma: 72225
Join Date: Apr 2015
Location: Liège - Belgium
Device: kobo gloHD - KA1
Quote:
Originally Posted by outlandos View Post
cramaisi seems to be right; i select justification in calibre, and in kobo i selected ''off'' and this is the result:

http://static.tweakers.net/ext/f/WuA...kCtKg/full.jpg
Yup. I reproduced the bug on my colleague glo HD this morning. It was the very same than with french and is due to the full justification option in kepub renderer which set the internal css to auto when selected and overrode the rule added in the book by kobo_extra CSS. With ‘auto' enabled, the renderer should select preferably soft or hard hyphens when they are present but it can cut whenever it wants according its algorithm (which is the guilty one here), so the error you got.

To summarize, the steps to get correct hyphens on kepubs with this method are :

0. adding kobo_extra.css at the root of the device
1. removing mention of -webkit-hyphens in the book’s css
2. justifying left and right in the book’s css (text-align:justify; )
3. hyphenate this ! book
4. sending the book via KoboTouchExtended plugin with custom css checked and options to add hyphens unchecked.
5. disable justification in the aA menu of the book
6. reading the book cover to cover

I should add that there is no problem with hyphenation in epubs anymore (since 3.16.0). If you find working on your books time-consuming, you could just read epubs

Last edited by cramoisi; 06-25-2015 at 08:56 AM.
cramoisi is offline   Reply With Quote