Quote:
Originally Posted by Percivale
Could anyone please explain it to me (step by step) what values I should change in order to get a tiny footer with a visible pager number.
The header can be reduced ONLY by 50% (this is what I know)
|
Reducing the header by 50% also reduces the space you have to press at the top and it's too small. Use 33%.
As for the footer, this is what I think you should try. It's from nickel.patch. I've lightly changed the numbers from my H2O numbers given the larger screen and higher resolution. Replace the patch in nickel.patch with this one and give it a go.
Spoiler:
<Patch>
patch_name = `Custom reading footer style`
patch_enable = `no`
# Multi-version patch: 4.6.9960 - 4.7.10413+
# patch_group = `Reading footer alternatives`
#
## This patch customises the following properties of the reading footer:
##
## * Footer height (the amount of the screen reserved for the footer.)
## * Caption font size (Caption = page number or other progress indicator)
## * Caption top margin, which changes its vertical position within the footer.
## * Caption font family.
#
# When editing the replacement values below, BE CAREFUL NOT TO CHANGE THE LENGTH
# OF THE REPLACEMENT STRING! If a replacement string is too long you will get
# an error when making the patch, but if one is too short then there will be no
# error, but strange things will happen to the reading footer.
#
find_base_address = `ReadingFooter {\n qproperty-footerMargin: 105;\n}\n`
replace_string = 0000, `ReadingFooter {\n qproperty-footerMargin: 105;\n}\nReadingFooter[qApp_deviceIsDragon=true] {\n qproperty-footerMargin: 170;\n}\nReadingFooter[qApp_deviceIsDaylight=true] {\n qproperty-footerMargin: 221;\n}\n#caption[qApp_deviceIsTrilogy=true] {\n font-size: 19px;\n}\n#caption[qApp_deviceIsPhoenix=true] {\n font-size: 23px;\n}\n#caption[qApp_deviceIsDragon=true] {\n font-size: 29px;\n}\n#caption[qApp_deviceIsAlyssum=true] {\n font-size: 32px;\n}\n#caption[qApp_deviceIsDaylight=true] {\n font-size: 37px;\n}\n#caption[qApp_localeName="ja_JP"] {\n font-family: Sans-SerifJP, sans-serif;\n font-style: normal;\n}\n`, `ReadingFooter {qproperty-footerMargin:105;min-height:70px;max-height:70px}\nReadingFooter[qApp_deviceIsDragon=true] {min-height:80px;max-height:80px}\nReadingFooter[qApp_deviceIsDaylight=true] {min-height:90px;max-height:90px}\n#caption {font-size:19px;margin-top:+00px}\n#caption[qApp_deviceIsPhoenix=true] {font-size:23px}\n#caption[qApp_deviceIsDragon=true] {font-size:29px}\n#caption[qApp_deviceIsAlyssum=true] {font-size:32px}\n#caption[qApp_deviceIsDaylight=true] {font-size:37px}\n#caption[qApp_localeName="ja_JP"] {font-family:Sans-SerifJP,sans-serif;font-style:normal}\n\0`
#
# 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`
# Replacement footer height values: AuraHD/H2O/GloHD
replace_string = 0074, `min-height:80px`, `min-height:52px`
replace_string = 0084, `max-height:80px`, `max-height:52px`
# Replacement footer height values: AuraOne
replace_string = 00C0, `min-height:90px`, `min-height:34px`
replace_string = 00D0, `max-height:90px`, `max-height:34px`
#
#
# Replacement caption font size value for Touch/Mini:
replace_string = 00EB, `font-size:19px`, `font-size:16px`
# Replacement caption font size value for Glo/Aura/Aura2E:
replace_string = 0131, `font-size:23px`, `font-size:20px`
# Replacement caption font size value for AuraHD/H2O:
replace_string = 0165, `font-size:29px`, `font-size:26px`
# Replacement caption font size value for GloHD:
replace_string = 019A, `font-size:32px`, `font-size:30px`
# Replacement caption font size value for AuraOne:
replace_string = 01D0, `font-size:37px`, `font-size:30px`
#
#
# Optional Replacement caption top margin value for all devices:
# (A negative top margin moves the caption text upwards,
# further from the bezel and closer to the page content.)
#
#replace_string = 00FA, `margin-top:+00px`, `margin-top:-10px`
replace_string = 00FA, `margin-top:+00px`, `margin-top:-05px`
#
#
# Uncomment the replace_string line below to use a fixed replacement caption
# font family, for all devices: You can change Georgia to another font name of
# your choice, but Avenir or Georgia are recommended because other fonts might
# not be loaded when the book is first opened and so might cause problems.
# Unlike other strings it is OK if this replacement string is a bit longer or
# shorter than the original.
#
#replace_string = 01E0, `#caption[qApp_localeName="ja_JP"] {font-family:Sans-SerifJP,sans-serif;font-style:normal}\n`, `#caption {font-family:Georgia}\n\0`
</Patch>