Quote:
Originally Posted by pblasi
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
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.