View Single Post
Old 06-03-2019, 08:18 AM   #117
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,254
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by Gorcsev View Post
One weird formatting experience what I have: I placed a hyphen dictionary, what I found here in another topic. Works quite well. (I hope with your tweaks Kobo will be "forced" to hyphenate often). What I do not understand: in the dic, is coded lefthyphens, righthyphens 2 and 2. I was given the same in the hyphenate.css as well. (just for sure) And I saw just ONE character after the hyphen. That looks weird.
I think there may be a few things going on here.

I'm not sure that kepubs take any notice of the LEFTHYPHENMIN, RIGHTHYPHENMIN stuff coded at the top of the hyphenation dictionary. Epubs may use it but I'm not really sure.

Kepubs do respond to CSS styles such as
Code:
-webkit-hyphenate-limit-after: 3;
-webkit-hyphenate-limit-before: 3;
I don't use this file myself but the hyphenation.css file in the official KoboTouchExtended driver uses
Code:
-webkit-hyphenate-after: 3;
-webkit-hyphenate-before: 3;
which looks like an error to me. You could correct your own copy. You could also use kobo_extra.css to add these CSS styles.

If you don't use these styles at all, I expect default values will be used. I'm not sure what these are but I suspect 2. I use values of 3 myself because I got fed up of seeing things like:
Code:
an-
yone

th-
ing
Even so, kepub hyphenation has never seemed quite as good as epub hyphenation. It sometimes seems that they include punctuation in the character counts. e.g. if you do use -webkit-hyphenate-limit-after: 3 you might still see something like
Code:
He likes to use punctuati-
on.
jackie_w is offline   Reply With Quote