View Single Post
Old 01-12-2017, 06:28 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 mimbel View Post
yes i tried and i do an upgrade from 3.19 version
I am still running 3.19.5761 on my Glo so I can't test it for myself, but if the patch is not working as it did in earlier firmware versions then I don't have any solution, sorry.

Maybe someone else will confirm that the `Custom reading footer style` patch is not working for them either?

Edit: I just saw your pictures of the margintest.epub book and that looks to me like the patch is working properly for ePubs, the rectangle gets close to the page number. The gap between the text and the page number on the other pages should be able to be reduced if you change the font size and/or line spacing.

Edit2: The rectangle shows how small the gap can be, if you want it to be even smaller than that then you can change 40px value in the following lines in the `Custom reading footer style` patch from:
Code:
# Replacement footer height values: Touch/Mini/Glo/Aura/Aura2E
replace_string = 002A, `min-height:70px`, `min-height:40px`
replace_string = 003A, `max-height:70px`, `max-height:40px`
to something like 30px or thereabouts:
Code:
# Replacement footer height values: Touch/Mini/Glo/Aura/Aura2E
replace_string = 002A, `min-height:70px`, `min-height:30px`
replace_string = 003A, `max-height:70px`, `max-height:30px`
Edit3: Looking at your pucture of the text in the margintest.epub book I can calculate that the gap between the last line of text and the footer is just slightly too small to fit one more line of text, You have the `ePub fixed top/bottom margins` patch enabled with a page margin of 25px top and 0px bottom, and there is a built-in top margin of 15px and a 40px footer, so the number of pixels available for text is 1024-24-15-40 = 944px. You have font size and line spacing set to give 27 lines of text on the screen, so the total line height is 944\72 = 34px, and the unused space is 944-(27*34) = 26px.

If you change the patch as above to further reduce the reading footer from 40px to 30px then there will be just enough room for one more line of text, with only 2px to spare instead of 26px. Or, if you leave the reading footer at 40px and adjust the font size and/or line spacing so that there are 26 lines of text on the screen, then the gap would be 8px instead of 26px.

Last edited by GeoffR; 01-12-2017 at 07:06 PM.
GeoffR is offline   Reply With Quote