View Single Post
Old 11-19-2016, 03:49 PM   #19
graycyn
Wizard
graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.graycyn ought to be getting tired of karma fortunes by now.
 
Posts: 1,591
Karma: 11722446
Join Date: Aug 2010
Location: NE Oregon
Device: Kobo Sage, Pocketbook Era, Kobo Forma, Kindle Oasis 2
Quote:
Originally Posted by JSWolf View Post
If you are using the hyphenation dictionary that comes with the firmware, that's fairly useless as well because the settings in the hyphenation dictionary are set too high.

LEFTHYPHENMIN 5
RIGHTHYPHENMIN 5

That means you won't get hyphens unless the line can handle 6 characters (including the hyphen). Also, words won't hyphen if they are less than 5 to the left & right of the hyphen. I found a hyphenation dictionary that works very well and set the options to allow more hyphenation and less craters (gaps). Install it and try your ePub again.

https://www.mobileread.com/forums/sho...d.php?t=252405
I've installed your hyphenation dictionary, thank you!

However, using only

Code:
-webkit-hyphens: none !important;
-epub-hyphens: none !important;
-moz-hyphens: none !important;
still worked on the Kobo Aura HD, at massive font sizes and margins there were NO HYPHENS in my chapter headings.

I ran through the assorted Android apps that I've explored in the past, there was only ONE that showed hyphens in chapter headings and that was the Nook app. It seems that most of the apps I tested limit the size you can increase the font and also the same with margins, so making chapter headings break and hyphenate in those apps simply couldn't happen in the case of this book.

The W3C CSS validator did, however, consider that both adobe-hyphenate and hyphens properties were ERRORS for CSS 2 and CSS 2.1.

The actual error messages were:

h3 Property adobe-hyphenate doesn't exist : none
h3 Property hyphens doesn't exist in CSS level 2 but exists in [css3] : none


So perhaps the safest thing is to include the adobe-hyphenate, which should fix the book for the Nook app and just ignore the error message? The book seems to work fine even if I include this and have supposedly invalid CSS.
graycyn is offline   Reply With Quote