View Single Post
Old 06-02-2019, 03:03 PM   #116
Gorcsev
Enthusiast
Gorcsev began at the beginning.
 
Posts: 40
Karma: 10
Join Date: Mar 2019
Device: Kobo Clara HD
Quote:
Originally Posted by jackie_w View Post
[*]Whilst you're in experimental mood, there is another simple technique you can try to manipulate word spacing in kepubs.

In your kobo_exta.css file you can add something like
Code:
body>div#book-columns>div#book-inner {
    word-spacing: -0.05em;
}
The bigger the negative value the smaller the gaps between words. My good friend Google tells me that the default value for word spacing is 0.25em, so the above CSS should reduce it to 0.2em.

Caveat: if you make it too big some words will get fused together and you don't want that! Do lots of testing before re-transferring your whole library.[/LIST]
Thank you I see I will play a lot. :-)

One weird formatting experience what I have: I placed a hyphen dictionary, what I found here in another topic. Works quite well. (I hope with your tweaks Kobo will be "forced" to hyphenate often). What I do not understand: in the dic, is coded lefthyphens, righthyphens 2 and 2. I was given the same in the hyphenate.css as well. (just for sure) And I saw just ONE character after the hyphen. That looks weird.

Additionally for my eyes seems that in short words, sometimes after hyphens "stretches" Kobo (Makes "spaces" between characters. Not to mention a lot of time discussing "spaces" next to dashes.)
Gorcsev is offline   Reply With Quote