Thread: Kobo Patcher
View Single Post
Old 12-08-2013, 02:00 PM   #592
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,254
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Thank you, guys, for your insights on the rather awkward Footer patch. It kind of explains why the code I posted in #565 works for me - purely by accident, my 'new value' was pretty much the same string-length as the 'old value' - so no nasty surprises.

Using your new info about the terminating \x00 character, the following works for me on my Glo and AuraHD, plus I think it allows customisation of:
  • footer height (using min-height and max-height values)
  • font-size of 'Page x of y' (using font-size value)
  • amount of space between 'Page x of y' text and bottom of screen (using padding-bottom value)
  • I still don't know what qproperty-footerMargin actually does (if anything) so I've kept the new value the same as the old value.

Replacement string for Glo (and hopefully Aura6" but I can't test):
Code:
`ReadingFooter {\n\tmin-height: 40px;\n\tmax-height: 40px;\n\tqproperty-footerMargin: 15;\n}\n\n* {\n\tfont-size: 20px;\n\tpadding-bottom: 5px;\n}\n\n\x00`
Replacement string for AuraHD:
Code:
`ReadingFooter {\n\tmin-height: 50px;\n\tmax-height: 50px;\n\tqproperty-footerMargin: 20;\n}\n\n* {\n\tfont-size: 26px;\n\tpadding-bottom: 8px;\n}\n\n\x00`
jackie_w is offline   Reply With Quote