Quote:
Originally Posted by dmapr
Thanks, does that change correspond to a single notch on the slider or did you move it all the way?
|
The change from 0.9 to 1.35 is the full right to full left movement of the slider. I stopped at 3 spots in between and the spacing shown in the KoboeReader.conf matched what I expected. I changed the default line spacings in the kpg.conf since I find all too often that dropping the line spacing below 0.9 allows ascenders and descenders to overlap which I find very annoying.
After I wrote the previous message, I checked with a .kepub.epub that doesn't have fixed line spacing. The line spacing moved wider/narrower with the slider and I did not see any unusual jumps. I didn't notice any difference in behaviour between using Charis SIL, Deja Vu Serif or Caecilia fonts.
Code:
patch_name = `My line spacing values`
patch_enable = `yes`
# Bypass code-injected values - the wonderful know-how from Kobo programmers
replace_bytes = 817CEE, 57 F5 16 EE, 00 46 00 46
replace_bytes = 817D3C, 57 F5 EE ED, 00 46 00 46
replace_bytes = 817D62, 57 F5 DC ED, 00 46 00 46
replace_bytes = 817D98, 57 F5 C0 ED, 00 46 00 46
replace_bytes = 817DF4, 57 F5 92 ED, 00 46 00 46
# Values for replace
replace_float = 817E38, 1.05, 0.9
replace_float = 817E40, 1.07, 0.95
replace_float = 817E48, 1.1, 1.0
replace_float = 817E50, 1.35, 1.05
replace_float = 817E58, 1.7, 1.1
replace_float = 817E60, 1.8, 1.15
replace_float = 817E68, 2.2, 1.2
replace_float = 817E70, 2.4, 1.25
replace_float = 817E78, 2.6, 1.3
replace_float = 817E80, 2.8, 1.35
</Patch>
Regards,
David