View Single Post
Old 09-09-2016, 08:08 AM   #46
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
I've add a new patch `My 24 line spacing values` to the attachment in my post #7.

This patch is instead of `My 15 line spacing values`, the only difference should be that the line spacing sider will have 24 positions instead of 15, and I've increased the range of spacing values. If you would prefer fewer or more than 24 spacing values then I could possibly change that, perhaps up to about 40 spacings maximum. 24 just seems like a good number to me.

I have tested a version of this patch on my Glo with firmware 3.19.5761, but the 4.0.7523 version is untested, so if somethig seems wrong let me know.

Edit: As before, you might wish to customise the line spacing values to suit your device and reading preferences. If you are reading with a small font size you might find that increasing or decreasing the font slider by one position doesn't always result in a change in spacing. In that case consider increasing the step size between values.

For example, these values increase the minimum step size from 0.02 to 0.025:
Spoiler:
Code:
# 24 values for replacement, change these to suit:
#
base_address = 5DD260
replace_float = 0000, 1.0, 0.7
replace_float = 0008, 1.0, 0.725
replace_float = 0010, 1.0, 0.75
replace_float = 0018, 1.0, 0.775
replace_float = 0020, 1.0, 0.8
replace_float = 0028, 1.0, 0.825
replace_float = 0030, 1.0, 0.85
replace_float = 0038, 1.0, 0.875
replace_float = 0040, 1.0, 0.9
replace_float = 0048, 1.0, 0.925
replace_float = 0050, 1.0, 0.95
replace_float = 0058, 1.0, 0.975
replace_float = 0060, 1.0, 1.0
replace_float = 0068, 1.0, 1.025
base_address = 5DD3C0
replace_float = 0000, 1.05, 1.05
replace_float = 0008, 1.07, 1.0725
replace_float = 0010, 1.1, 1.1
replace_float = 0018, 1.35, 1.15
replace_float = 0020, 1.7, 1.2
replace_float = 0028, 1.8, 1.25
replace_float = 0030, 2.2, 1.3
replace_float = 0038, 2.4, 1.35
replace_float = 0040, 2.6, 1.4
replace_float = 0048, 2.8, 1.5

Last edited by GeoffR; 09-09-2016 at 09:13 AM. Reason: Increased step size example
GeoffR is offline   Reply With Quote