View Single Post
Old 01-19-2015, 10:53 PM   #133
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 80,073
Karma: 147983159
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Nick_1964 View Post
Brings me to another problem, my girlfriend now owns a Kobo but she often have no time to read,when she calls the reader alive, with the patch the footer is always below the bezel ( I mean page xx of xx ). The only way to make it looks okay is to go into font settings,change the margins a bit,then it renders and it is okay.

Is there no way to prevent this from happening ? I think it is also the reason that Kobo uses the big footers,just to be sure that it all fits the reading window ?
I don't know which model your GF has, but here are my settings for the H2O that work very well.

Code:
<Patch>
patch_name = `Custom reading footer style (Aura HD/H2O)`
patch_enable = `yes`
replace_string = E359A4, `ReadingFooter {\n\tmin-height: 70px;\n\tmax-height: 70px;\n\tqproperty-footerMargin: 105;\n}\n\nReadingFooter[qApp_deviceCodeName="phoenix"] {\n\tmin-height: 82px;\n\tmax-height: 82px;\n}\n\nReadingFooter[qApp_deviceCodeName="dragon"] {\n\tmin-height: 120px;\n\tmax-height: 120px;\n\tqproperty-footerMargin: 170;\n}\n\n* {\n\tfont-size: 16px;\n}\n\n[qApp_deviceCodeName="phoenix"] {\n\tfont-size: 20px;\n}\n\n[qApp_deviceCodeName="dragon"] {\n\tfont-size: 26px;\n}\n\n[qApp_localeName="ja_JP"] {\n\tfont-family: A-OTF Gothic MB101 Pr6N;\n}`, `ReadingFooter {\n\tmin-height:120px;\n\tmax-height:120px;\n\tqproperty-footerMargin: 170;\n}\n\n* {\n\tfont-size: 26px;\n\tpadding-bottom: 0px;\n\tmargin-top: 0px;\n\t/*font-family:none;*/\n}\n\n[qApp_localeName="ja_JP"] {\n\tfont-family: A-OTF Gothic MB101 Pr6N;\n}`
#
# Uncomment the three replace_string lines of one of the examples below,
# comment out the rest. If you choose to make further changes to the examples,
# BE CAREFUL NOT TO ALTER THE LENGTH OF THE REPLACEMENT STRINGS! (Add or remove
# spaces if necessary to keep the total length the same.)
#
# Examples 1 or 4 are recommended for use with the adjustable/fixed top/bottom
# margin patches when configured to set both top and bottom margins.
#
# Examples 4, 5 or 6 are recommended if you also read kepubs, because the space
# between bezel and footer matches the space between bezel and kepub header.
#
#
# Example 1: Small footer, close to bezel
replace_string = E359B5, `min-height:120px;`, `min-height: 35px;`
replace_string = E359C8, `max-height:120px;`, `max-height: 30px;`
replace_string = E35A12, `padding-bottom: 0px;`, `padding-bottom: 4px;`
#
# Example 2: Medium footer, close to bezel
#replace_string = E359B5, `min-height:120px;`, `min-height: 52px;`
#replace_string = E359C8, `max-height:120px;`, `max-height: 52px;`
#replace_string = E35A12, `padding-bottom: 0px;`, `padding-bottom: 7px;`
#
# Example 3: Large footer, close to bezel
#replace_string = E359B5, `min-height:120px;`, `min-height: 80px;`
#replace_string = E359C8, `max-height:120px;`, `max-height: 80px;`
#replace_string = E35A12, `padding-bottom: 0px;`, `padding-bottom: 0px;`
#
# Example 4: Small footer, away from bezel
#replace_string = E359B5, `min-height:120px;`, `min-height: 40px;`
#replace_string = E359C8, `max-height:120px;`, `max-height: 40px;`
#replace_string = E35A12, `padding-bottom: 0px;`, `padding-bottom:36px;`
#
# Example 5: Medium footer, away from bezel
#replace_string = E359B5, `min-height:120px;`, `min-height: 52px;`
#replace_string = E359C8, `max-height:120px;`, `max-height: 52px;`
#replace_string = E35A12, `padding-bottom: 0px;`, `padding-bottom:30px;`
#
# Example 6: Large footer, away from bezel
#replace_string = E359B5, `min-height:120px;`, `min-height: 80px;`
#replace_string = E359C8, `max-height:120px;`, `max-height: 80px;`
#replace_string = E35A12, `padding-bottom: 0px;`, `padding-bottom:16px;`
#
#
# Uncomment the following line to reduce the footer font size:
replace_string = E35A00, `font-size: 26px;`, `font-size: 26px;`
#
# Uncomment the following line to further reduce the space above the footer:
replace_string = E35A28, `margin-top: 0px;`, `margin-top:-7px;`
#
# Uncomment one of the following lines to use a fixed font style. This is
# recommended if you have chosen examples 1 or 4 above, because some other
# fonts sit too low in the footer and get cut off at the bottom.
# Also enable one of the Custom header style patches below with the same font
# style if you read kepubs.
#
replace_string = E35A3A, `/*font-family:none;*/`, `font-family:  Amasis;`
#replace_string = E35A3A, `/*font-family:none;*/`, `font-family:  Avenir;`
#replace_string = E35A3A, `/*font-family:none;*/`, `font-family: Georgia;`
#
</Patch>
JSWolf is offline   Reply With Quote