Thread: Aura ONE Kobo Aura One owners thread
View Single Post
Old 09-12-2016, 05:16 PM   #429
MGlitch
Wizard
MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.MGlitch ought to be getting tired of karma fortunes by now.
 
Posts: 2,857
Karma: 22003124
Join Date: Aug 2014
Device: Kobo Forma, Kobo Sage, Kobo Libra 2
You asked how I got that extra line of text, it's the same way you can resolve the cut off bug with full screen kepubs

Use the patches from Geoff.

I even put my settings in the initial thread about patching 4.x

Quote:
Originally Posted by MGlitch View Post
These are my settings for the 4.x patch on the One. I have a margin which is very thin and roughly equal on all four sides using the Literata font. The bottom margin is clearly bigger, but I think it could hold, at best 1/5 of a line of text.

Font size/line spacing/margin settings as follows

Font Size - approximately 14 ticks from the lowest setting (this is going to be the option that needs playing with)

Line Spacing - set to minimum

Margin - set one tick above minimum

Spoiler:
Code:
# nickel in firmware 4.0.7523 (c213e8a341)
# For use by patch32lsb v0.10 or later.

#
# Lines beginning with '#' (such as this one) are treated as comments (ignored.)
# To 'comment out' a line means to insert a '#' character at the beginning.
# To 'uncomment' a line means to remove the '#' character from the beginning.
# Some patch options are commented out, and can be enabled by uncommenting.
#


#
# The following two patches are alternatives, don't enable both at once.
#
# `Disable reading footer`
# `Custom reading footer style`
#

<Patch>
patch_name = `Disable reading footer`
patch_enable = `no`
# Multi-version patch: 4.0.7523 - 4.0.7523+
# patch_group = `Reading footer alternatives`
#
## Removes the reading footer for both ePub and KePub books, leaving a 15px
## bottom margin which matches the 15px built-in top margin of ePub books.
#
find_base_address = `ReadingFooter {\n  qproperty-footerMargin: 105;\n}\n`
replace_string = 0000, `ReadingFooter {\n  qproperty-footerMargin: 105;\n}\n`, `ReadingFooter {min-height:15px;max-height:15px;}\n`
#
find_base_address = `#caption {\n  font-size: 16px;\n}\n`
Replace_string = 0000, `#caption {\n  font-size: 16px;\n}\n#caption[qApp_deviceIsPhoenix="true"] {\n  font-size: 20px;\n}`, `#caption {font-size:1px;color:transparent;}\n\0`
</Patch>


<Patch>
patch_name = `Custom reading footer style`
patch_enable = `no`
# Multi-version patch: 4.0.7523 - 4.0.7523+
# 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 {\n  font-size: 16px;\n}\n#caption[qApp_deviceIsPhoenix="true"] {\n  font-size: 20px;\n}\n#caption[qApp_deviceIsDragon="true"] {\n  font-size: 26px;\n}\n#caption[qApp_deviceIsDaylight="true"] {\n  font-size: 34px;\n}\n#caption[qApp_deviceIsAlyssum="true"] {\n  font-size: 30px;\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:16px;margin-top:+00px}\n#caption[qApp_deviceIsPhoenix="true"] {font-size:20px}\n#caption[qApp_deviceIsDragon="true"] {font-size:26px}\n#caption[qApp_deviceIsDaylight="true"] {font-size:34px}\n#caption[qApp_deviceIsAlyssum="true"] {font-size:30px}\n#caption[qApp_localeName="ja_JP"] {font-family:Sans-SerifJP,sans-serif;font-style:normal}\n`
#
# 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 = 0076, `min-height:80px`, `min-height:52px`
replace_string = 0086, `max-height:80px`, `max-height:52px`
# Replacement footer height values: AuraOne
replace_string = 00C4, `min-height:90px`, `min-height:68px`
replace_string = 00D4, `max-height:90px`, `max-height:68px`
#
#
# Replacement caption font size value for Touch/Mini:
replace_string = 00EF, `font-size:16px`, `font-size:16px`
# Replacement caption font size value for Glo/Aura/Aura2E:
replace_string = 0137, `font-size:20px`, `font-size:20px`
# Replacement caption font size value for AuraHD/H2O:
replace_string = 016D, `font-size:26px`, `font-size:26px`
# Replacement caption font size value for GloHD:
replace_string = 01DC, `font-size:30px`, `font-size:30px`
# Replacement caption font size value for AuraOne:
replace_string = 01A5, `font-size:34px`, `font-size:34px`
#
#
# 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 = 00FE, `margin-top:+00px`, `margin-top:-10px`
#replace_string = 00FE, `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 = 01EC, `#caption[qApp_localeName="ja_JP"] {font-family:Sans-SerifJP,sans-serif;font-style:normal}\n`, `#caption {font-family:Georgia}\n\0`
</Patch>

Last edited by MGlitch; 09-12-2016 at 05:18 PM.
MGlitch is offline   Reply With Quote