Quote:
Originally Posted by dedalos
How can I set the patch to obtain this result? Please help me and my aura hd.
|
That section of the prologue to
Conquistador looks as if the custom footer style is enabled in the patcher.
Code:
<Patch>
patch_name = `Custom reading footer style`
patch_enable = `yes`
replace_string = DBDBFC, `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: 70px;\n\tmax-height: 70px;\n\tqproperty-footerMargin: 105;\n}\n\n* {\n\tfont-size: 16px;\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 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.)
#
# Example for Touch/Mini:
#replace_string = DBDC0D, `min-height: 70px;`, `min-height: 32px;`
#replace_string = DBDC20, `max-height: 70px;`, `max-height: 32px;`
#replace_string = DBDC3D, `footerMargin: 105;`, `footerMargin: 105;`
#replace_string = DBDC58, `font-size: 16px;`, `font-size: 16px;`
#replace_string = DBDC6A, `padding-bottom: 0px;`, `padding-bottom: 4px;`
#replace_string = DBDC80, `margin-top: 0px;`, `margin-top: 0px;`
#
# Example for Glo/Aura:
#replace_string = DBDC0D, `min-height: 70px;`, `min-height: 40px;`
#replace_string = DBDC20, `max-height: 70px;`, `max-height: 40px;`
#replace_string = DBDC3D, `footerMargin: 105;`, `footerMargin: 105;`
#replace_string = DBDC58, `font-size: 16px;`, `font-size: 20px;`
#replace_string = DBDC6A, `padding-bottom: 0px;`, `padding-bottom: 5px;`
#replace_string = DBDC80, `margin-top: 0px;`, `margin-top: 0px;`
#
# Example for AuraHD/H2O:
replace_string = DBDC0D, `min-height: 70px;`, `min-height: 50px;`
replace_string = DBDC20, `max-height: 70px;`, `max-height: 50px;`
replace_string = DBDC3D, `footerMargin: 105;`, `footerMargin: 170;`
replace_string = DBDC58, `font-size: 16px;`, `font-size: 23px;`
replace_string = DBDC6A, `padding-bottom: 0px;`, `padding-bottom: 8px;`
replace_string = DBDC80, `margin-top: 0px;`, `margin-top: 0px;`
#
I've attached a sample of what I'm using above in libnickel.so.1.0.0.patch to give a similar looking result for the footer. The rest of the page is margin settings and css styling in the epub file.