View Single Post
Old 05-28-2020, 06:39 AM   #122
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: 81,248
Karma: 150263711
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 ZodWallop View Post
Reading ePubs on my Nook, I rarely notice hyphenation. Not because it doesn't happen, but because it does a good enough job that the hyphenation isn't usually noticeable (words aren't split in distracting ways).

It's worse reading kepubs on my Kobo with Wolf's hyphenation dictionary. But I don't mean to insult that dictionary, because Kobo without it is worse. It rarely hyphenates words, causing weird spacing issues.
The problem is that the hyphenation dictionary has the left and right hyphenation settings set to 5. That means you need long words that can be hyphened to actually get hyphens. That's how the dictionary comes set. This to me is a major issue. I set the hyphenation dictionary I posted to left/right of 2.

Try the following...

Add to the body style of CSS...
Code:
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    hyphens: auto;

    -webkit-hyphenate-after: 3;
    -webkit-hyphenate-before: 3;
    hyphenate-after: 3;
    hyphenate-before: 3;
And see if that fixes the hyphenation. If that doesn't, you can edit the hyphenation dictionary I posted and change my before and after setting of 2 to 3 and see how that works.
JSWolf is offline   Reply With Quote