View Single Post
Old 11-03-2013, 03:37 AM   #156
eutimiaf
Junior Member
eutimiaf began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Nov 2013
Device: kobo glo
Quote:
Originally Posted by DNSB View Post
That post was for the earlier version of the patcher, with v7 of the patcher, there is a single location for the patch which got around some errors where the replacement code was too large to fit in the available space. For v7, I commented out the first line by adding a # before it which removes the footer and, uncommented and modified the second line as follows as in the code box below.

Code:
<Patch>
patch_name = `Custom reading footer style`
patch_enable = `yes`
# Disable footer example
# replace_zlib = 13508E4, `ReadingFooter {\n\tmin-height: 70px;\n\tmax-height: 70px;\n\tqproperty-footerMargin: 40;\n}\n\nReadingFooter[deviceCodeName="kraken"], \nReadingFooter[deviceCodeName="phoenix"] {\n\tmin-height: 82px;\n\tmax-height: 82px;\n\tqproperty-footerMargin: 15;\n}\n\nReadingFooter[deviceCodeName="dragon"] {\n\tmin-height: 120px;\n\tmax-height: 120px;\n\tqproperty-footerMargin: 20;\n}\n\n* {\n\tfont-size: 16px;\n}\n\n[deviceCodeName="kraken"], \n[deviceCodeName="phoenix"] {\n\tfont-size: 20px;\n}\n\n[deviceCodeName="dragon"] {\n\tfont-size: 26px;\n}\n\n[localeName="ja_JP"] {\n\tfont-family: A-OTF Gothic MB101 Pr6N;\n}`, `* {\n\theight: 5px;\n\tfont-size: 1px;\n\tcolor: transparent;\n}\n\n`
# Decrease footer example
replace_zlib = 13508E4, `ReadingFooter {\n\tmin-height: 70px;\n\tmax-height: 70px;\n\tqproperty-footerMargin: 40;\n}\n\nReadingFooter[deviceCodeName="kraken"], \nReadingFooter[deviceCodeName="phoenix"] {\n\tmin-height: 82px;\n\tmax-height: 82px;\n\tqproperty-footerMargin: 15;\n}\n\nReadingFooter[deviceCodeName="dragon"] {\n\tmin-height: 120px;\n\tmax-height: 120px;\n\tqproperty-footerMargin: 20;\n}\n\n* {\n\tfont-size: 16px;\n}\n\n[deviceCodeName="kraken"], \n[deviceCodeName="phoenix"] {\n\tfont-size: 20px;\n}\n\n[deviceCodeName="dragon"] {\n\tfont-size: 26px;\n}\n\n[localeName="ja_JP"] {\n\tfont-family: A-OTF Gothic MB101 Pr6N;\n}`, `* {\n\theight: 25px;\n\tfont-size: 20px;\n}\n\n`
</Patch>
For the Glo, I would replace the `* {\n\theight: 25px;\n\tfont-size: 20px;\n}\n\n` with `* {\n\theight: 18px;\n\tfont-size: 14px;\n}\n\n` allowing for the lower pixel count on the Glo screen.

Do not use the two lines as I've posted since the data location is modified for the v2.9.0 firmware, just modify the last portion of the line.

I'd suggest checking the Kobo Patcher thread in the Kobo Developer's Corner forum for more information on the various versions of the patcher before you apply it to your ereader.

Regards,
David
: Thanks: David.
eutimiaf is offline   Reply With Quote