View Single Post
Old 06-17-2015, 02:54 PM   #97
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by GeoffR View Post
It seems that the KEPUB hypenation is not respecting the LEFTHYPHENMIN and RIGHTHYPHENMIN settings in the hyphenation dictionaries, so there is no way to control how much hyphenation you get.

For example it will hyphenate everywhere as ev-reywhere even when there is no leading punctuation and I have LEFTHYPHENMIN set to 3.

(Still a big improvement on earlier firmware though, at least the hyphens are always at valid positions now, and I'd rather have too much hyphenation than too little.)
I have discovered that the KEPUB reader is in fact reading the LEFTHYPHENMIN and RIGHTHYPHENMIN values from the hyphenation dictionary, but it seems to be miscalculating their value by one.

For example, the English hyphenation dictionary comes with LEFTHYPHENMIN and RIGHTHYPHENMIN values both set to 5, but the KEPUB reader reads the them as 4. When I change to my preferred values of 3 it reads them as 2.

So if you only read kepubs and are familiar with installing new hyphenation dictionaries then you can work around this problem just by adding one to your preferred value. But if you switch between reading epubs and kepubs then it is a bit of a pain because both readers use the same hyphenation dictionary.

(Edit: It might be a bit harsh to call it a miscalculation, it could be a difference in interpretation with the Adobe RMSDK reader over what the values represent. But that is still a problem because it makes it impossible to get consistent hyphenation when switching between reading kepubs and epubs.)

Last edited by GeoffR; 06-17-2015 at 04:06 PM. Reason: It might be a bit harsh ...
GeoffR is offline   Reply With Quote