View Single Post
Old 12-10-2015, 03:37 PM   #29
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
The patch has changed a bit, there is no way around that because the firmware changed and I had to adapt. But it should be possible to get the same result with the new patch I think.

The patch has some example values set for the Glo/Aura. When you uncomment the AuraHD/H2O/GloHD example then you need to comment out the Glo/Aura example.

i.e. change:
Code:
# Example replacement footer height values: Touch/Mini
#replace_string = 001A, `footerMargin: 105;`, `footerMargin: 105;`
#replace_string = 002D, `min-height: 70px;`, `min-height: 32px;`
#replace_string = 003F, `max-height: 70px;`, `max-height: 32px;`
# Example replacement footer height values: Glo/Aura
replace_string = 001A, `footerMargin: 105;`, `footerMargin: 105;`
replace_string = 002D, `min-height: 70px;`, `min-height: 40px;`
replace_string = 003F, `max-height: 70px;`, `max-height: 40px;`
# Example replacement footer height values: AuraHD/H2O/GloHD
#replace_string = 001A, `footerMargin: 105;`, `footerMargin: 170;`
#replace_string = 002D, `min-height: 70px;`, `min-height: 52px;`
#replace_string = 003F, `max-height: 70px;`, `max-height: 52px;`
to:
Code:
# Example replacement footer height values: Touch/Mini
#replace_string = 001A, `footerMargin: 105;`, `footerMargin: 105;`
#replace_string = 002D, `min-height: 70px;`, `min-height: 32px;`
#replace_string = 003F, `max-height: 70px;`, `max-height: 32px;`
# Example replacement footer height values: Glo/Aura
#replace_string = 001A, `footerMargin: 105;`, `footerMargin: 105;`
#replace_string = 002D, `min-height: 70px;`, `min-height: 40px;`
#replace_string = 003F, `max-height: 70px;`, `max-height: 40px;`
# Example replacement footer height values: AuraHD/H2O/GloHD
replace_string = 001A, `footerMargin: 105;`, `footerMargin: 170;`
replace_string = 002D, `min-height: 70px;`, `min-height: 52px;`
replace_string = 003F, `max-height: 70px;`, `max-height: 52px;`
If you change the replacement values, then you need to make sure the replacement is exactly the same length as the original. e.g. for a footer height of 36px, change:
Code:
replace_string = 002D, `min-height: 70px;`, `min-height: 52px;`
replace_string = 003F, `max-height: 70px;`, `max-height: 52px;
to:
Code:
replace_string = 002D, `min-height: 70px;`, `min-height: 36px;`
replace_string = 003F, `max-height: 70px;`, `max-height: 36px;
GeoffR is offline   Reply With Quote