View Single Post
Old 08-15-2014, 10:56 AM   #3
Anak
Guru
Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.Anak ought to be getting tired of karma fortunes by now.
 
Posts: 600
Karma: 641742
Join Date: Mar 2012
Location: DE
Device: Kobo Glo
Quote:
Originally Posted by pblasi View Post
With epubs: Correct hyphenation, but in some lines, words are too close, almost without space between them
Does this happen with all fonts or just one or a few fonts?

Quote:
Originally Posted by pblasi View Post
With epubs: Correct hyphenation, but in some lines, words are too close, almost without space between them.

With kepubs: Correct word-spacing, but wrong hyphenation.
I'm not sure if you can fix wrong hypenation. The hypenation routine 'counts' every character, including punctuation characters. This can give wrong results.

Code:
UTF-8
LEFTHYPHENMIN 2
RIGHTHYPHENMIN 3
COMPOUNDLEFTHYPHENMIN 2
COMPOUNDRIGHTHYPHENMIN 3
These are the default settings for hyph_en.dic.
LEFTHYPHENMIN: minimal hyphenation distance from the left end of the word
RIGHTHYPHENMIN: minimal hyphenation distance from the right end of the word
COMPOUNDLEFTHYPHENMIN: min. hyph. dist. from the left compound word boundary
COMPOUNDRIGHTHYPHENMIN: min. hyph. dist. from the right comp. word boundary

Here 'hyphenation distance' are the number of characters before and after a hyphen.

To my knowledge you can only reduce this by setting the hypenation values less aggressive. To make hyphenation less agressive you should increase the default values to values that are acceptable/work for you. But it won't fix 'wrong' hyphenation as it sees puntuation characters as alphabetical characters.

Last edited by Anak; 08-15-2014 at 11:00 AM.
Anak is offline   Reply With Quote