OK, I had a suspicion that Vetchy was referring to this problem, but I couldn't quickly find the other posts.
And the problem isn't that the kepub renderer doesn't support non-breaking spaces, but that it doesn't handle them in the same way as other renderers.
Quote:
Originally Posted by GeoffR
1. As noted above, the KePub reader treats no-break spaces as stretchable (the ePub reader doesn't).
|
From my minimal typographical knowledge, I would have said that the way the kepub renderer was treating a non-breaking space was the correct way. To me, the difference between it and a normal space should just be that it prevents a line-break happening at that point. Otherwise, I would have expected it to be stretched in the same way as the normal space when justifying the text. And a quick search doesn't find anything that suggests the non-breaking space should be treated as anything other than a normal space except with respect to line-breaks and whether HTML renders will merge them when there are multiples.
Or is the problem here not how the non-breaking space is working, but how the other characters are? The kepub renderer is putting spacing between the emdash and words when justifying the line. That is apparently wrong. In the screenshot from Semwize, can anyone tell if this is because of the non-breaking space or because of the bad handling of the emdash?