Quote:
Originally Posted by Jellby
Or just use the thin space (non-breaking, of course) and let others convert it to some hacked-up code (like a scaled-down ) if their readers do not offer proper font support.
It's OK to try to please everyone, but if we all use poor code, we'll keep having books with poor code, and no incentive for software developers to give us better readers.
|
If you have a Kobo (Touch, Glow or Mini) you could try this. I have not tested it myself.
Code:
Webkit syntax -webkit-nbsp-mode: normal | space;
• normal (by default): Nonbreaking spaces are treated as usual.
• space: Nonbreaking spaces are treated like standard spaces.
Kepubs
In the kobo.js file there is a
webkitNbspMode option,
Code:
In the kobo.js file locate:
body.webkitNbspMode = 'space';
Change this to
body.webkitNbspMode = 'normal';
Kobo eReader.conf
File location: .kobo/Kobo
Add the
webkitNbspMode to the "Reading section" of the file
Code:
[Reading] (section)
Add here:
readingWebkitNbspMode=normal
Or add to the CSS file
Code:
-webkit-nbsp-mode: normal;