View Single Post
Old 07-23-2016, 08:22 PM   #74
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
Quote:
Originally Posted by superjoefly View Post
I notice that the footer patch, by default, on lines 62, 63, and 64 (Example replacement footer height values: Glo/Aura), that there is no '#'sign. However, I am doing this patch for the Glo HD. Should I comment out the above mentioned lines and uncomment (remove the '#' sign) lines 66, 67, and 68 in order to apply it to the Glo HD?
Yes uncomment the lines for the GloHD, but for this patch you also need to comment out the lines for the Glo/Aura. I.e. afterwards it should look like this:
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;`
Quote:
I'm also wondering if anyone has a picture of how this particular patch would appear once completed.
This post has a screenshot with and ePub from my Glo, if you use the settings for the GloHD then it should be similar on that device. But things are complicated because while the patch controls the size of the footer itself there are a lot of other factors that affect the amount of space between the footer and the last line of text on the page, such as the font face, font size, line spacing selected as well as page margins in the book itself. Also the same footer is used for ePub and KePub books, but KePub books have a non-adjustable header which can make the proportions look wrong in KePubs if you change the footer.
GeoffR is offline   Reply With Quote