View Single Post
Old 09-14-2020, 06:59 PM   #31
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: 80,034
Karma: 147977995
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Simboubou View Post
No, "me-mory" is fine. "Pi-cked" is not as good. And worse, I sometime see "th-ing"

It's just that I try to setup the hyphenation so that it doesn't hyphenate too often.
I'm usually fine with no hyphens, but I've grown more aware of stretched lines. So I'd like to have hyphens, only not too aggressive ones. That's why I'm trying to set the min lenght to higher values.

The kobotouchExtended driver, you say ? Is that when I use calibre epub to kepub conversion ? Or is it when I transfert the file ? How do I change that, is that the "extra css" tab when converting ?

When I convert books to kepub, I don't select the "activate hyphenation" option. So hyphens are only on when I set my kobo to Justify.

Thanks !

EDIT : ok, to I edited the hyphenation.css of KoboTouchExtended to this:
Code:
* {
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	hyphens: auto;

	-webkit-hyphenate-after: 4;
	-webkit-hyphenate-before: 4;
	-webkit-hyphenate-lines: 2;
	hyphenate-after: 4;
	hyphenate-before: 4;
	hyphenate-lines: 2;
}

h1, h2, h3, h4, h5, h6, td {
	-moz-hyphens: none !important;
	-webkit-hyphens: none !important;
	hyphens: none !important;
}
Then forced the hyphenation during kepub convertion. And I STILL have two-letters hyphens.

RE-EDIT: Gosh, I think it worked with -webkit-hyphenate-limit-after.
There is a better solution. Try my better hyphenation dictionary. I use it and so do a lot of other people.

https://www.mobileread.com/forums/sh...d.php?t=252405
JSWolf is offline   Reply With Quote