After reading for a few hours with the text-rendering:optimizeLegibility feature I'm finding the irregular word spacing quite distracting, I think it is worse than the lack of ligatures and the em-dash justification problems that occur without it, so I've gone back to how it was before.
I think I can see what the problem is, and the uneven word spacing and the wide letter spacing in some words are actually symptoms of the same problem:
If all the words in the line are in the same <span> then there is no problem with spacing. But if there are words in different spans then instead of adding an equal amount of space between each word to justify the line, space is being added to each span without regard for the number of words in the span.
So, if there is only one word in the span then the result is that space is added between letters, and if one span has two words and other span has three words then the word spacing in the first span will be wider than in the second span. And no space is added between words in adjoining spans.
The reason for the narrower spacing between sentences is just that Kobo add a span around each sentence, so each sentence gets different word spacing and no extra space is added between sentences.
|