Patches v74, firmware 4.31.19086

Updated hosts.txt
master
Jay Logan 2022-02-13 00:43:33 -06:00
parent d100d1d160
commit 4689b09533
5 changed files with 71269 additions and 28838 deletions

View File

@ -1,5 +1,5 @@
## Sixthhokage1's kobopatch config
version: 4.30.18838
version: 4.31.19086
in: src/latest.zip
out: out/KoboRoot.tgz
log: out/log.txt

File diff suppressed because it is too large Load Diff

View File

@ -6,5 +6,5 @@ Remove PDF map widget shown during panning:
- BaseAddress: {Sym: "N3AdobeReader::showMapWidget()"}
# tail: N3AdobeReader::updatePanningMap() -> N3AdobeReader::hideMapWidget()
# TODO: figure out what broke the plt parsing in kobopatch for libadobe in 18730+
- ReplaceBytes: {Offset: 80, FindInstBW: 0x1BD1C, ReplaceInstBW: 0x1B08C}
- ReplaceBytes: {Offset: 192, FindInstBW: 0x1BD1C, ReplaceInstBW: 0x1B08C}
- ReplaceBytes: {Offset: 80, FindInstBW: 0x1BDE8, ReplaceInstBW: 0x1B11C}
- ReplaceBytes: {Offset: 192, FindInstBW: 0x1BDE8, ReplaceInstBW: 0x1B11C}

View File

@ -484,10 +484,6 @@ Ignore .otf fonts:
(Currently the only pre-installed .otf font is OpenDyslexic.)
Embedded .otf fonts should continue to work as normal.
- FindReplaceString: {Find: "*.otf", Replace: "_.otf"}
# MISSING: Set font scale factor (this will need a complete rewrite for 18220+
# since the logic has been completely reworked; also note that it may not be
# necessary on certain devices anymore)
# The following patch(es) were made by jackie_w
Dictionary text font-family/font-size/line-height:
@ -611,6 +607,28 @@ KePub stylesheet additions - optimizeSpeed:
# *** Don't change anything in the 4 ReplaceString lines above ***
#
- FindReplaceString: {Find: "/*********************************/", Replace: "body{text-rendering:optimizeSpeed }", MustMatchLength: yes}
KePub stylesheet additions - optimizeLegibility:
- Enabled: no
- PatchGroup: KePub stylesheet additions alternatives
- Description: |
Enables ligatures/kerning in KePubs, but may cause some additional
rendering problems for fully justified text.
N.B. May have unexpected side effects when highlighting text in languages
which display vertical text, e.g. Chinese/Japanese
- FindBaseAddressString: ".KBSearchResult, .KBAnnotation, .KBHighlighting {"
# *** Don't change anything in the 4 ReplaceString lines below ***
# Create some room to add the extra CSS
- ReplaceString: {Find: ".KBSearchResult, .KBAnnotation, .KBHighlighting { font-size: 100% !important; -webkit-text-combine: inherit !important; }\n", Replace: ".KBSearchResult,.KBAnnotation,.KBHighlighting{font-size:100%!important;-webkit-text-combine:inherit!important}.KBAnnotatio", MustMatchLength: yes}
- ReplaceString: {Offset: 122, Find: ".KBAnnotation[writingMode=\"horizontal-tb\"] { border-bottom: 2px solid black !important; }\n", Replace: "n[writingMode=\"horizontal-tb\"]{border-bottom:2px solid #000!important}.KBAnnotation[writin", MustMatchLength: yes}
- ReplaceString: {Offset: 212, Find: ".KBAnnotation[writingMode=\"vertical-rl\"] { border-right: 2px solid black !important; }\n", Replace: "gMode=\"vertical-rl\"]{border-right:2px solid #000!important}.KBAnnotation[writingMode=\"v", MustMatchLength: yes}
- ReplaceString: {Offset: 299, Find: ".KBAnnotation[writingMode=\"vertical-lr\"] { border-left: 2px solid black !important; }", Replace: "ertical-lr\"]{border-left:2px solid #000}/*******************************************/", MustMatchLength: yes}
# *** Don't change anything in the 4 ReplaceString lines above ***
#
- FindReplaceString:
Find: "/*******************************************/"
Replace: "body{text-rendering:optimizeLegibility }"
MustMatchLength: yes
# The following patch(es) are ported from jcn363's patches
Shorten dictionary entry not found message:
@ -700,7 +718,7 @@ Greek Keyboard (GloHD/ClaraHD/AuraOne/H2O2):
- Enabled: no
- PatchGroup: Keyboard alternatives
- Description: |
Replaces keys on the Extended Latin keypad with Cyrillic alternatives.
Replaces keys on the Extended Latin keypad with Greek alternatives.
Note that after the device boots, the keypad might just show blank squares
until after the first book has been opened.
@ -836,7 +854,7 @@ Both page turn sides go next:
- Enabled: no
- Description: Make both page turn sides go next in the reader.
# In ReadingView::processTap(TapGesture*) where the page direction is checked:
- BaseAddress: {Sym: "ReadingView::processTap(TapGesture*)", Rel: 652}
- BaseAddress: {Sym: "ReadingView::processTap(TapGesture*)", Rel: 560}
- ReplaceBytes: {Offset: 0, FindInstBLX: {SymPLT: "ReadingView::leftToRightPageProgressDirection() const"}, CheckOnly: true}
# nop the branch for checking if left-to-right (so it always runs the swap of back/forward)
- ReplaceBytes: {Offset: 4, FindH: 18 B9, ReplaceInstNOP: true}
@ -864,7 +882,7 @@ Replace adobe page numbers toggle with invert screen:
See https://github.com/pgaskin/NickelMenu/issues/111 for more information.
# Settings page
- BaseAddress: "N3SettingsReadingView::N3SettingsReadingView(QWidget*)"
- ReplaceBytes: {Offset: 914, FindInstBLX: {SymPLT: "ReadingSettings::getShowAdobePageNumbers()"}, ReplaceInstBLX: {SymPLT: "FeatureSettings::invertScreen()"}}
- ReplaceBytes: {Offset: 900, FindInstBLX: {SymPLT: "ReadingSettings::getShowAdobePageNumbers()"}, ReplaceInstBLX: {SymPLT: "FeatureSettings::invertScreen()"}}
# Settings page controller
- BaseAddress: {Sym: "N3SettingsReadingController::showAdobePageNumbersToggled()"}
- ReplaceBytes: {Offset: 74, FindInstBLX: {SymPLT: "ReadingSettings::getShowAdobePageNumbers()"}, ReplaceInstBLX: {SymPLT: "FeatureSettings::invertScreen()"}}
@ -1350,10 +1368,6 @@ Enable advanced settings for all fonts:
FindInstBLX: {SymPLT: "N3FontTypeUtil::isMonotypeFont(QString const&)"}
ReplaceH: 4F F0 01 00
# MISSING: ePub uniform font scale (this will need a complete rewrite for 18220+
# since the logic has been completely reworked; also note that it may not be
# necessary on certain devices anymore)
Customize ComfortLight settings:
- Enabled: no
- Description: |
@ -1369,7 +1383,7 @@ Customize ComfortLight settings:
# In an unnamed subroutine two layers into FrontLightPopupController::loadView
# (find it by going back from QTime::addSecs), the times for the dropdown are
# generated into a QVector<QPair<QString, QTime>> with a simple loop.
- BaseAddress: 0xC104A0 # find the base of the unnamed subroutine with the x-ref to _ZN5QTimeC1Eiiii
- BaseAddress: 0xCB22A4 # find the base of the unnamed subroutine with the x-ref to _ZN5QTimeC1Eiiii
#
# Change the initial hour / first bedtime dropdown item passed to the QTime
# constructor (mov r1, #21):
@ -1398,21 +1412,21 @@ Customize ComfortLight settings:
# Change the sunset time (the transition to a warmer temperature starts here
# and transitions until the bedtime chosen) (this should be 1-3 hours before
# the minimum bedtime from the first replacement above) (mov r1, #18):
- ReplaceInt: {Offset: 158, Find: 18, Replace: 16} # 18:00 (9PM-3=6PM) -> 16:00 (5PM-1=4PM)
- ReplaceInt: {Offset: 228, Find: 18, Replace: 16} # 18:00 (9PM-3=6PM) -> 16:00 (5PM-1=4PM)
#
# Change the time for the sunset timer to fire at (this is passed to a QTime
# constructor which is passed to PowerTime::fireAt) (mov r1, #18):
- ReplaceInt: {Offset: 438, Find: 18, Replace: 16} # should match the sunset time above
- ReplaceInt: {Offset: 508, Find: 18, Replace: 16} # should match the sunset time above
#
# Optional: Change the sunrise start time (the transition back to a cooler
# temperature starts here) (this should be sometime after the last bedtime,
# but before the sunset time) (mov r1, #5):
- ReplaceInt: {Offset: 192, Find: 5, Replace: 5} # 5AM
- ReplaceInt: {Offset: 262, Find: 5, Replace: 5} # 5AM
#
# Optional: Change the sunrise end time (the transition back to a cooler
# temperature ends here) (this should be 1-3 hours after the sunrise start but
# before the sunset time or bad things will happen with negative values) (mov r1, #7):
- ReplaceInt: {Offset: 138, Find: 7, Replace: 7} # 5AM+2=7AM
- ReplaceInt: {Offset: 208, Find: 7, Replace: 7} # 5AM+2=7AM
# The following patches allow you to enable a config file option with a patch.
@ -1463,7 +1477,9 @@ Unify font sizes:
# 25.0. It seems RMSDK must be handling DPI elsewhere however, because the
# DPI multiplication here seems to have a detrimental effect, and behaves
# differently on different devices. This patch changes the 'scale_factor' to
# 1.0, and replaces the call to get DPI with a constant multiplier (6.5).
# 2.5, and replaces the call to get DPI with a constant multiplier (16).
# The results of using these values are equivalent to
# ( font_size / 15.0 ) * 96 which is what I suspect the kepub formula is.
# Note, that the replacement values are limited to 0.25 - 31.0 in 0.25
# increments.
#
@ -1473,13 +1489,13 @@ Unify font sizes:
- BaseAddress:
Sym: "AdobeStyling::update(QString const&)"
Rel: 5800 # at ReadingSettings::getReadingFontSizeScaleFactor(float, float)
# Negate the scale factor by setting it to 1.0
# Set the scale factor to 2.5
- ReplaceBytes:
Offset: -20
FindH: F3 EE 09 0A # vmov.f32 s1, #25.0
ReplaceH: F7 EE 00 0A # vmov.f32 s1, #1.0
# Replace QScreen::logicalDotsPerInchX() with our own multiplier
ReplaceH: F0 EE 04 0A # vmov.f32 s1, #2.5
# Replace QScreen::logicalDotsPerInchX() with our own multiplier of 16.0
- ReplaceBytes:
Offset: 26
FindInstBLX: {SymPLT: "QScreen::logicalDotsPerInchX() const"}
ReplaceH: B1 EE 0A 0B # vmov.f64 d0, #6.5
ReplaceH: B3 EE 00 0B # vmov.f64 d0, #16.0

View File

@ -19,10 +19,10 @@ Reduce top/bottom page spacer:
# AuraHD/H2O/GloHD/ClaraHD: 44px --> 22px
- Find: "MediumVertSpacer[qApp_deviceIsDragon=true] {\n min-height: 44px;\n max-height: 44px;\n}"
Replace: "MediumVertSpacer[qApp_deviceIsDragon=true] {\n min-height: 22px;\n max-height: 22px;\n}"
# AuraOne/Forma: 56px --> 28px
# AuraOne/Forma/Sage/Elipsa: 56px --> 28px
- Find: "MediumVertSpacer[qApp_deviceIsDaylight=true] {\n min-height: 56px;\n max-height: 56px;\n}"
Replace: "MediumVertSpacer[qApp_deviceIsDaylight=true] {\n min-height: 28px;\n max-height: 28px;\n}"
# LibraH2O: 50px --> 25px
# LibraH2O/Libra2: 50px --> 25px
- Find: "MediumVertSpacer[qApp_deviceIsStorm=true] {\n min-height: 50px;\n max-height: 50px;\n}"
Replace: "MediumVertSpacer[qApp_deviceIsStorm=true] {\n min-height: 25px;\n max-height: 25px;\n}"
@ -36,8 +36,9 @@ Custom synopsis details line spacing:
- {Find: "line-height: 1.45em;", Replace: "line-height: 1.3em;"}
# Glo/Aura/Aura2E (Phoenix)
- {Find: "line-height: 1.4em;", Replace: "line-height: 1.3em;"}
# AuraHD/H2O/GloHD/ClaraHD (Dragon) and
# AuraOne (Daylight) and LibraH2O (Storm)
# AuraHD/AuraH2O/AuraH2O2/GloHD/ClaraHD (Dragon) and
# LibraH2O/Libra2 (Storm) and
# AuraOne/Forma/Sage/Elipsa (Daylight)
- {Find: "line-height: 1.35em;", Replace: "line-height: 1.3em;"}
Custom synopsis font size:
@ -48,9 +49,10 @@ Custom synopsis font size:
Replacements:
- {Find: "font-size: 19px;", Replace: "font-size: 20px;"} # Touch/Mini (Trilogy)
- {Find: "font-size: 23px;", Replace: "font-size: 25px;"} # Glo/Aura/Aura2E/Nia (Phoenix)
- {Find: "font-size: 29px;", Replace: "font-size: 32px;"} # AuraHD/AuraH2O/Clara/Elipsa/Libra2 (Dragon)
- {Find: "font-size: 34px;", Replace: "font-size: 37px;"} # LibraH2O (Storm)
- {Find: "font-size: 37px;", Replace: "font-size: 40px;"} # AuraONE/Forma/Sage (Daylight)
- {Find: "font-size: 29px;", Replace: "font-size: 32px;"} # AuraHD/AuraH2O/AuraH2O2 (Dragon)
- {Find: "font-size: 32px;", Replace: "font-size: 35px;"} # GloHD/ClaraHD (Alyssum/Nova)
- {Find: "font-size: 34px;", Replace: "font-size: 37px;"} # LibraH2O/Libra2 (Storm)
- {Find: "font-size: 37px;", Replace: "font-size: 40px;"} # AuraONE/Forma/Sage/Elipsa (Daylight)
Increase home screen cover size:
- Enabled: no
@ -65,15 +67,16 @@ Increase home screen cover size:
# Glo/Aura/Aura2E/Nia (Phoenix)
- {Find: "qproperty-leftMargin: 40px;", Replace: "qproperty-leftMargin: 16px;"}
- {Find: "qproperty-rightMargin: 40px;", Replace: "qproperty-rightMargin: 16px;"}
# AuraHD/AuraH2O/Clara/Elipsa/Libra2 (Dragon)
# AuraHD/AuraH2O/AuraH2O2/GloHD/ClaraHD (Dragon)
- {Find: "qproperty-leftMargin: 57px;", Replace: "qproperty-leftMargin: 22px;"}
- {Find: "qproperty-rightMargin: 57px;", Replace: "qproperty-rightMargin: 22px;"}
# AuraONE/Forma/Sage (Daylight)
# AuraONE/Forma/Sage/Elipsa (Daylight)
- {Find: "qproperty-leftMargin: 74px;", Replace: "qproperty-leftMargin: 29px;"}
- {Find: "qproperty-rightMargin: 74px;", Replace: "qproperty-rightMargin: 29px;"}
# LibraH2O (Storm)
# LibraH2O/Libra2 (Storm)
- {Find: "qproperty-leftMargin: 67px;", Replace: "qproperty-leftMargin: 29px;"}
- {Find: "qproperty-rightMargin: 67px;", Replace: "qproperty-rightMargin: 29px;"}
# The following patch(es) are ported from jackie_w's patches
Dictionary pop-up - increase available text area:
@ -96,10 +99,10 @@ Dictionary pop-up - increase available text area:
# Glo/Aura/Aura2/Nia
- Find: "#dictionary[qApp_deviceIsPhoenix=true] {\n margin-top: 20px;\n margin-left: 20px;\n}"
Replace: "#dictionary[qApp_deviceIsPhoenix=true] {\n margin-top: 7px;\n margin-left: 0px;\n}"
# AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa/Libra2
# AuraHD/AuraH2O/AuraH2O2/GloHD/ClaraHD/LibraH2O/Libra2
- Find: "#dictionary[qApp_deviceIsDragon=true] {\n margin-top: 30px;\n margin-left: 30px;\n}"
Replace: "#dictionary[qApp_deviceIsDragon=true] {\n margin-top: 10px;\n margin-left: 0px;\n}"
# AuraOne/Forma/Sage
# AuraOne/Forma/Sage/Elipsa
- Find: "#dictionary[qApp_deviceIsDaylight=true] {\n margin-top: 42px;\n margin-left: 42px;\n}"
Replace: "#dictionary[qApp_deviceIsDaylight=true] {\n margin-top: 14px;\n margin-left: 0px;\n}"
#
@ -110,10 +113,10 @@ Dictionary pop-up - increase available text area:
# Glo/Aura/Aura2/Nia
- Find: "#header[qApp_deviceIsPhoenix=true] {\n max-height: 60px;\n min-height: 60px;\n}"
Replace: "#header[qApp_deviceIsPhoenix=true] {\n max-height: 50px;\n min-height: 50px;\n}"
# AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa/Libra2
# AuraHD/AuraH2O/AuraH2O2/GloHD/ClaraHD/LibraH2O/Libra2
- Find: "#header[qApp_deviceIsDragon=true] {\n max-height: 90px;\n min-height: 90px;\n}"
Replace: "#header[qApp_deviceIsDragon=true] {\n max-height: 70px;\n min-height: 70px;\n}"
# AuraOne/Forma/Sage
# AuraOne/Forma/Sage/Elipsa
- Find: "#header[qApp_deviceIsDaylight=true] {\n max-height: 120px;\n min-height: 120px;\n}"
Replace: "#header[qApp_deviceIsDaylight=true] {\n max-height: 90px;\n min-height: 90px;\n}"
#
@ -124,13 +127,13 @@ Dictionary pop-up - increase available text area:
# Glo/Aura/Aura2/Nia
- Find: "#mainContainer[qApp_deviceIsPhoenix=true] {\n qproperty-leftMargin: 16px;\n qproperty-rightMargin: 16px;\n}"
Replace: "#mainContainer[qApp_deviceIsPhoenix=true] {\n qproperty-leftMargin: 8px;\n qproperty-rightMargin: 8px;\n}"
# AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa/Libra2
# AuraHD/AuraH2O/AuraH2O2/GloHD/ClaraHD
- Find: "#mainContainer[qApp_deviceIsDragon=true] {\n qproperty-leftMargin: 22px;\n qproperty-rightMargin: 22px;\n}"
Replace: "#mainContainer[qApp_deviceIsDragon=true] {\n qproperty-leftMargin: 11px;\n qproperty-rightMargin: 11px;\n}"
# AuraOne/Forma/Sage
# AuraOne/Forma/Sage/Elipsa
- Find: "#mainContainer[qApp_deviceIsDaylight=true] {\n qproperty-leftMargin: 28px;\n qproperty-rightMargin: 28px;\n}"
Replace: "#mainContainer[qApp_deviceIsDaylight=true] {\n qproperty-leftMargin: 14px;\n qproperty-rightMargin: 14px;\n}"
# LibraH2O
# LibraH2O/Libra2
- Find: "#mainContainer[qApp_deviceIsStorm=true] {\n qproperty-leftMargin: 25px;\n qproperty-rightMargin: 25px;\n}"
Replace: "#mainContainer[qApp_deviceIsStorm=true] {\n qproperty-leftMargin: 12px;\n qproperty-rightMargin: 12px;\n}"
#
@ -145,12 +148,12 @@ Dictionary pop-up - increase available text area:
Find: "DictionaryViewFooter[qApp_deviceIsPhoenix=true] {\n max-height: 60px;\n min-height: 60px;\n}"
Replace: "DictionaryViewFooter[qApp_deviceIsPhoenix=true] {\n max-height: 50px;\n min-height: 50px;\n}"
MustMatchLength: yes
# AuraHD/AuraH2O/AuraH202/ClaraHD/LibraH20/Elipsa/Libra2
# AuraHD/AuraH2O/AuraH2O2/GloHD/ClaraHD/LibraH2O/Libra2
- FindReplaceString:
Find: "DictionaryViewFooter[qApp_deviceIsDragon=true] {\n max-height: 90px;\n min-height: 90px;\n}"
Replace: "DictionaryViewFooter[qApp_deviceIsDragon=true] {\n max-height: 60px;\n min-height: 60px;\n}"
MustMatchLength: yes
# AuraOne/Forma/Sage
# AuraOne/Forma/Sage/Elipsa
- FindReplaceString:
Find: "DictionaryViewFooter[qApp_deviceIsDaylight=true] {\n max-height: 120px;\n min-height: 120px;\n}"
Replace: "DictionaryViewFooter[qApp_deviceIsDaylight=true] {\n max-height: 80px;\n min-height: 80px;\n}"
@ -170,15 +173,15 @@ Increase Book Details synopsis area:
# Portrait mode: #bookInfoWidget[isLandscape=false]:
- {Find: "height: 300px;", Replace: "height: 200px;"} #Touch/Mini
- {Find: "height: 390px;", Replace: "height: 230px;"} #Glo/Aura/Aura2/Nia
- {Find: "height: 550px;", Replace: "height: 370px;"} #AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa/Libra2
- {Find: "height: 642px;", Replace: "height: 425px;"} #LibraH2O (*untested)
- {Find: "height: 715px;", Replace: "height: 500px;"} #AuraOne/Forma/Sage
- {Find: "height: 550px;", Replace: "height: 370px;"} #AuraHD/AuraH2O/AuraH202/GloHD/ClaraHD
- {Find: "height: 642px;", Replace: "height: 425px;"} #LibraH2O/Libra2
- {Find: "height: 715px;", Replace: "height: 500px;"} #AuraOne/Forma/Sage/Elipsa
# Landscape mode: #bookInfoWidget[isLandscape=true]:
- {Find: "height: 210px;", Replace: "height: 200px;"} #Touch/Mini
- {Find: "height: 265px;", Replace: "height: 230px;"} #Glo/Aura/Aura2/Nia
- {Find: "height: 420px;", Replace: "height: 370px;"} #AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa
- {Find: "height: 490px;", Replace: "height: 425px;"} #LibraH2O (*untested)
- {Find: "height: 540px;", Replace: "height: 500px;"} #AuraOne/Forma/Sage
- {Find: "height: 420px;", Replace: "height: 370px;"} #AuraHD/AuraH2O/AuraH202/GloHD/ClaraHD
- {Find: "height: 490px;", Replace: "height: 425px;"} #LibraH2O/Libra2
- {Find: "height: 540px;", Replace: "height: 500px;"} #AuraOne/Forma/Sage/Elipsa
Increase library cover size:
- Enabled: no
@ -197,13 +200,13 @@ Increase library cover size:
# Glo/Aura/Aura2/Nia (Phoenix)
- {Find: "width: 70px;", Replace: "width: 82px;"}
- {Find: "height: 110px;", Replace: "height: 130px;"}
# AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa/Libra2 (Dragon)
# AuraHD/AuraH2O/AuraH202/GloHD/ClaraHD (Dragon)
- {Find: "width: 108px;", Replace: "width: 122px;"}
- {Find: "height: 168px;", Replace: "height: 190px;"}
# AuraOne/Forma/Sage (Daylight)
# AuraOne/Forma/Sage/Elipsa (Daylight)
- {Find: "width: 140px;", Replace: "width: 164px;"}
- {Find: "height: 218px;", Replace: "height: 255px;"}
# LibraH2O (Storm)
# LibraH2O/Libra2 (Storm)
- {Find: "width: 126px;", Replace: "width: 144px;"}
- {Find: "height: 196px;", Replace: "height: 225px;"}
@ -231,11 +234,11 @@ Custom collection/author header title font:
- {Find: "font-size: 16px;", Replace: "font-size: 28px;"}
# Glo/Aura/Aura2/Nia (Phoenix)
- {Find: "font-size: 20px;", Replace: "font-size: 36px;"}
# AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa/Libra2 (Dragon)
# AuraHD/AuraH2O/AuraH202/GloHD/ClaraHD (Dragon)
- {Find: "font-size: 28px;", Replace: "font-size: 42px;"}
# LibraH2O (Storm)
# LibraH2O/Libra2 (Storm)
- {Find: "font-size: 32px;", Replace: "font-size: 46px;"}
# AuraOne/Forma/Sage (Daylight)
# AuraOne/Forma/Sage/Elipsa (Daylight)
- {Find: "font-size: 36px;", Replace: "font-size: 50px;"}
Reduce new header/footer height:
@ -257,13 +260,13 @@ Reduce new header/footer height:
# Glo/Aura/Aura2/Nia (Phoenix)
- Find: "ReadingFooter[qApp_deviceIsPhoenix=true] {\n min-height: 71px;\n max-height: 71px;\n}"
Replace: "ReadingFooter[qApp_deviceIsPhoenix=true] {\n min-height: 47px;\n max-height: 47px;\n}"
# AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa/Libra2 (Dragon)
# AuraHD/AuraH2O/AuraH202/GloHD/ClaraHD (Dragon)
- Find: "ReadingFooter[qApp_deviceIsDragon=true] {\n min-height: 101px;\n max-height: 101px;\n}"
Replace: "ReadingFooter[qApp_deviceIsDragon=true] {\n min-height: 66px;\n max-height: 66px;\n}"
# AuraOne/Forma/Sage (Daylight)
# AuraOne/Forma/Sage/Elipsa (Daylight)
- Find: "ReadingFooter[qApp_deviceIsDaylight=true] {\n min-height: 131px;\n max-height: 131px;\n}"
Replace: "ReadingFooter[qApp_deviceIsDaylight=true] {\n min-height: 86px;\n max-height: 86px;\n}"
# LibraH2O (Storm)
# LibraH2O/Libra2 (Storm)
- Find: "ReadingFooter[qApp_deviceIsStorm=true] {\n min-height: 118px;\n max-height: 118px;\n}"
Replace: "ReadingFooter[qApp_deviceIsStorm=true] {\n min-height: 78px;\n max-height: 78px;\n}"
@ -284,15 +287,12 @@ Custom header/footer captions:
fw 4.23.15505 No longer possible to customise font-size for GloHD/ClaraHD
separately from AuraHD/H2O.
fw 4.29.18730 No longer possible to style header/footer separately,
Touch/Mini not separate anymore
- FindZlib: "ReadingFooter" # qss/ReadingFooter.qss
- ReplaceZlibGroup:
Replacements:
# Part 1. Customise font-family (built-in or sideloaded font)
# Part 1: Customise font-family (built-in or sideloaded font)
# #caption
# If new font-family contains spaces wrap in 'single quotes', e.g. 'Kobo Nickel'
# Un-comment and customise ONLY ONE of the following to change header/footer font-family
#- {Find: "font-family: Avenir;", Replace: "font-family:Avenir;"}
#- {Find: "font-family: Avenir;", Replace: "font-family:Avenir; background:transparent;"}
@ -302,38 +302,41 @@ Custom header/footer captions:
# Setting the caption's background to transparent instead of the default, opaque white,
# should avoid the potential "dogear bookmark problem" outlined below in Part 3 of this patch.
# Part 2. Change font-size
# Part 2:
# 2a. Change font-size (header & footer simultaneously)
# Separate values for GloHD & ClaraHD (Alyssum & Nova) removed in 4.23.15505
#
# 2b.(optional): Fine-tune footer position by adjusting value of margin-top.
# A negative margin-top (e.g. -10px) moves the footer text
# slightly upwards, further away from the bottom bezel/progressbar,
# closer to the page content.
# N.B. A non-zero margin-top also automatically shifts the header text
# vertically by the same amount and in the same direction
# as the footer text.
# #caption
# Touch/Mini/Touch2
# Touch/Mini
- Find: "[qApp_deviceIsTrilogy=true] {\n font-size: 14px;\n}"
Replace: "[qApp_deviceIsTrilogy=true] {\n font-size: 14px;\n}"
Replace: "[qApp_deviceIsTrilogy=true] {\n font-size: 14px; margin-top: 0px;\n}"
# Glo/Aura/Aura2/Nia
- Find: "[qApp_deviceIsPhoenix=true] {\n font-size: 17px;\n}"
Replace: "[qApp_deviceIsPhoenix=true] {\n font-size: 17px;\n}"
# AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa/Libra2
Replace: "[qApp_deviceIsPhoenix=true] {\n font-size: 17px; margin-top: 0px;\n}"
# AuraHD/AuraH2O/AuraH202/GloHD/ClaraHD
- Find: "[qApp_deviceIsDragon=true] {\n font-size: 25px;\n}"
Replace: "[qApp_deviceIsDragon=true] {\n font-size: 25px;\n}"
# LibraH2O
Replace: "[qApp_deviceIsDragon=true] {\n font-size: 25px; margin-top: 0px;\n}"
# LibraH2O/Libra2
- Find: "[qApp_deviceIsStorm=true] {\n font-size: 29px;\n}"
Replace: "[qApp_deviceIsStorm=true] {\n font-size: 29px;\n}"
# AuraOne/Forma/Sage
Replace: "[qApp_deviceIsStorm=true] {\n font-size: 29px; margin-top: 0px;\n}"
# AuraOne/Forma/Sage/Elipsa
- Find: "[qApp_deviceIsDaylight=true] {\n font-size: 32px;\n}"
Replace: "[qApp_deviceIsDaylight=true] {\n font-size: 32px;\n}"
Replace: "[qApp_deviceIsDaylight=true] {\n font-size: 32px; margin-top: 0px;\n}"
# 2a. All models (optional): Fine-tune footer position by adjusting margin-top/margin-bottom value
# A negative margin-top/margin-bottom (e.g. -10px) moves the footer/bottom text slightly upwards
# further from the bottom bezel/progressbar, closer to the page content.
- Find: "#caption[qApp_deviceIsTrilogy=true] {\n font-size: 14px;\n}"
Replace: "#caption { font-size: 14px; margin-top: 0; }" # change margin-top/margin-bottom
# Part 3. Increase the width of header/footer captions by reducing the width
# Part 3: Increase the width of header/footer captions by reducing the width
# of the pageturn tap zones in the footer's left/right corners
# N.B:
# The default Replace values below have been set larger than you might prefer.
# This is to avoid the possibility of the "dogear" bookmark icon
# in the top right corner being partially obscured by the header caption's white background.
# See screenshot at following link for an example of what can sometimes happen
# See screenshot at following link for an example of what can happen
# if the new Replace value is too small.
# https://www.mobileread.com/forums/showpost.php?p=4069755&postcount=34
# Feel free to reduce your custom Replace values if a wider caption area
@ -342,15 +345,15 @@ Custom header/footer captions:
# the "dogear" problem.
#
# Customise one or more of the 3 Replace values below as required
# Touch/Mini/Touch2/Glo/Aura/Aura2E/Nia needs default value 64.
# Touch/Mini could be reduced to 57 with no ill effects
# Touch/Mini/Touch2/Glo/Aura/Aura2/Nia
# N.B. Touch/Mini/Touch2 could be reduced to 57 with no ill effects
- {Find: "footerMargin: 105;", Replace: "footerMargin:64;"}
# LibraH20 needs default value 116.
# AuraHD/H2O/H2Ov2/GloHD/ClaraHD/Libra2 could be reduced to 102 with no ill effects
# AuraHD/AuraH2O/AuraH2O2/GloHD/ClaraHD/LibraH2O/Libra2
# N.B. AuraH2O/AuraH2O2/GloHD/ClaraHD could be reduced to 102 with no ill effects
- {Find: "footerMargin: 170;", Replace: "footerMargin:116;"}
# AuraOne/Forma/Sage
# AuraOne/Forma/Sage/Elipsa
- {Find: "footerMargin: 221;", Replace: "footerMargin:133;"}
# Don't change anything below. It exists to free up some space for
@ -367,7 +370,6 @@ Custom page navigation scrubber:
This patch allows you to customise various parts of the new 'scrubber'. Full details & screenshots at:
https://www.mobileread.com/forums/showpost.php?p=3897174&postcount=3
N.B: This patch is not suitable for Japanese/Chinese locale users
- FindZlib: "#scrubberContainer" # qss/ReadingMenuScrubberView.qss
- ReplaceZlibGroup:
Replacements:
@ -382,7 +384,7 @@ Custom page navigation scrubber:
# Glo/Aura/Aura2/Nia (Phoenix)
- Find: "[qApp_deviceIsPhoenix=true] {\n font-size: 23px;"
Replace: "[qApp_deviceIsPhoenix=true] {\n font-size: 23px;"
# AuraHD/AuraH2O/AuraH202/Elipsa/Libra2 (Dragon)
# AuraHD/AuraH2O/AuraH202 (Dragon)
- Find: "[qApp_deviceIsDragon=true] {\n font-size: 29px;"
Replace: "[qApp_deviceIsDragon=true] {\n font-size: 29px;"
# GloHD (Alyssum)
@ -391,10 +393,10 @@ Custom page navigation scrubber:
# ClaraHD (Nova)
- Find: "[qApp_deviceIsNova=true] {\n font-size: 32px;"
Replace: "[qApp_deviceIsNova=true] {\n font-size: 32px;"
# LibraH2O (Storm)
# LibraH2O/Libra2 (Storm)
- Find: "[qApp_deviceIsStorm=true] {\n font-size: 34px;"
Replace: "[qApp_deviceIsStorm=true] {\n font-size: 34px;"
# AuraOne/Forma/Sage (Daylight)
# AuraOne/Forma/Sage/Elipsa (Daylight)
- Find: "[qApp_deviceIsDaylight=true] {\n font-size: 37px;"
Replace: "[qApp_deviceIsDaylight=true] {\n font-size: 37px;"
@ -411,7 +413,6 @@ Custom page navigation scrubber:
# use this Replace instead. If it can be done with CSS you can do it here.
#Replace: "{font-family:Avenir; font-weight:normal; font-style:normal; background-color:#ddd;}"
# Part 2. Customise the central 'Page x of y' label (#page)
# Provided for those who want to create a uniform look & feel
# 2a. Customise font-size for desired model(s):
@ -421,7 +422,7 @@ Custom page navigation scrubber:
# Glo/Aura/Aura2/Nia (Phoenix)
- Find: "#page[qApp_deviceIsPhoenix=true] {\n font-size: 22px;"
Replace: "#page[qApp_deviceIsPhoenix=true] {\n font-size: 22px;"
# AuraHD/AuraH2O/AuraH202/Elipsa/Libra2 (Dragon)
# AuraHD/AuraH2O/AuraH202 (Dragon)
- Find: "#page[qApp_deviceIsDragon=true] {\n font-size: 26px;"
Replace: "#page[qApp_deviceIsDragon=true] {\n font-size: 26px;"
# GloHD (Alyssum)
@ -430,10 +431,10 @@ Custom page navigation scrubber:
# ClaraHD (Nova)
- Find: "#page[qApp_deviceIsNova=true] {\n font-size: 30px;"
Replace: "#page[qApp_deviceIsNova=true] {\n font-size: 30px;"
# LibraH2O (Storm)
# LibraH2O/Libra2 (Storm)
- Find: "#page[qApp_deviceIsStorm=true] {\n font-size: 30px;"
Replace: "#page[qApp_deviceIsStorm=true] {\n font-size: 30px;"
# AuraOne/Forma/Sage (Daylight)
# AuraOne/Forma/Sage/Elipsa (Daylight)
- Find: "#page[qApp_deviceIsDaylight=true] {\n font-size: 34px;"
Replace: "#page[qApp_deviceIsDaylight=true] {\n font-size: 34px;"
@ -442,7 +443,7 @@ Custom page navigation scrubber:
# font-family, font-weight, font-style, etc.
# Un-comment next 2 lines and change Replace CSS as desired
#- Find: "#page {\n padding-left: 0px;\n}"
# Replace: "#page {padding-left: 0px; font-family:Georgia; text-transform:none;}"
# Replace: "#page {padding-left:0px; font-family:Georgia; text-transform:none;}"
Customise Header back button:
- Enabled: no
@ -472,13 +473,13 @@ Series list increase cover thumbnails:
# Glo/Aura/Aura2/Nia
- {Find: "topMargin: 12px;", Replace: "topMargin: 4px;"}
- {Find: "bottomMargin: 12px;", Replace: "bottomMargin: 0px;"}
# AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa/Libra2
# AuraHD/AuraH2O/AuraH202/GloHD/ClaraHD
- {Find: "topMargin: 14px;", Replace: "topMargin: 5px;"}
- {Find: "bottomMargin: 14px;", Replace: "bottomMargin: 0px;"}
# AuraOne/Forma/Sage
# AuraOne/Forma/Sage/Elipsa
- {Find: "topMargin: 21px;", Replace: "topMargin: 7px;"}
- {Find: "bottomMargin: 21px;", Replace: "bottomMargin: 0px;"}
# LibraH2O
# LibraH2O/Libra2
- {Find: "topMargin: 17px;", Replace: "topMargin: 6px;"}
- {Find: "bottomMargin: 17px;", Replace: "bottomMargin: 0px;"}
#
@ -489,13 +490,13 @@ Series list increase cover thumbnails:
# Glo/Aura/Aura2/Nia
- {Find: "width: 70px;", Replace: "width: 83px;"}
- {Find: "height: 115px;", Replace: "height: 137px;"}
# AuraHD/AuraH2O/AuraH202/ClaraHD/Elipsa/Libra2
# AuraHD/AuraH2O/AuraH202/GloHD/ClaraHD
- {Find: "width: 108px;", Replace: "width: 120px;"}
- {Find: "height: 175px;", Replace: "height: 195px;"}
# AuraOne/Forma/Sage
# AuraOne/Forma/Sage/Elipsa
- {Find: "width: 140px;", Replace: "width: 164px;"}
- {Find: "height: 222px;", Replace: "height: 260px;"}
# LibraH2O
# LibraH2O/Libra2
- {Find: "width: 126px;", Replace: "width: 141px;"}
- {Find: "height: 205px;", Replace: "height: 229px;"}
#
@ -512,64 +513,89 @@ Increase headlines font:
Increase the font-size of the tab header labels in My Books, Activity, Bookstore...
See https://www.mobileread.com/forums/showpost.php?p=3931942&postcount=183
- FindZlib: "#tabContainer > N3TabItem" # qss/N3TabWidget.qss
- ReplaceZlib:
Find: "#tabContainer > N3TabItem[qApp_deviceIsTrilogy=true] {\n font-size: 16px;\n}"
Replace: "#tabContainer > N3TabItem[qApp_deviceIsTrilogy=true] {\n font-size: 28px;\n}"
- ReplaceZlib:
Find: "#tabContainer > N3TabItem[qApp_deviceIsPhoenix=true] {\n font-size: 20px;\n}"
Replace: "#tabContainer > N3TabItem[qApp_deviceIsPhoenix=true] {\n font-size: 36px;\n}"
- ReplaceZlib:
Find: "#tabContainer > N3TabItem[qApp_deviceIsDragon=true] {\n font-size: 28px;\n}"
Replace: "#tabContainer > N3TabItem[qApp_deviceIsDragon=true] {\n font-size: 42px;\n}"
- ReplaceZlib:
Find: "#tabContainer > N3TabItem[qApp_deviceIsStorm=true] {\n font-size: 32px;\n}"
Replace: "#tabContainer > N3TabItem[qApp_deviceIsStorm=true] {\n font-size: 46px;\n}"
- ReplaceZlib:
Find: "#tabContainer > N3TabItem[qApp_deviceIsDaylight=true] {\n font-size: 36px;\n}"
Replace: "#tabContainer > N3TabItem[qApp_deviceIsDaylight=true] {\n font-size: 50px;\n}"
- ReplaceZlibGroup:
Replacements:
# Touch/Mini
- Find: "#tabContainer > N3TabItem[qApp_deviceIsTrilogy=true] {\n font-size: 16px;\n}"
Replace: "#tabContainer > N3TabItem[qApp_deviceIsTrilogy=true] {\n font-size: 28px;\n}"
# Glo/Aura/Aura2E/Nia
- Find: "#tabContainer > N3TabItem[qApp_deviceIsPhoenix=true] {\n font-size: 20px;\n}"
Replace: "#tabContainer > N3TabItem[qApp_deviceIsPhoenix=true] {\n font-size: 36px;\n}"
# AuraHD/AuraH2O/AuraH2O2/GloHD/ClaraHD
- Find: "#tabContainer > N3TabItem[qApp_deviceIsDragon=true] {\n font-size: 28px;\n}"
Replace: "#tabContainer > N3TabItem[qApp_deviceIsDragon=true] {\n font-size: 42px;\n}"
# LibraH2O/Libra2
- Find: "#tabContainer > N3TabItem[qApp_deviceIsStorm=true] {\n font-size: 32px;\n}"
Replace: "#tabContainer > N3TabItem[qApp_deviceIsStorm=true] {\n font-size: 46px;\n}"
# AuraONE/Forma/Sage/Elipsa
- Find: "#tabContainer > N3TabItem[qApp_deviceIsDaylight=true] {\n font-size: 36px;\n}"
Replace: "#tabContainer > N3TabItem[qApp_deviceIsDaylight=true] {\n font-size: 50px;\n}"
New home screen subtitle custom font:
- Enabled: no
- Description: |
Increase subtitle font size, font color black. Works best when used
with with patch `New home screen increasing cover size`
- BaseAddress: 0x168120B # qss/GenericHomeWidget.qss
- ReplaceZlib: {Find: "MetaDataLabel {\n color: #666666;\n qproperty-indent: 0;\n}", Replace: "MetaDataLabel {\n color: #000000;\n qproperty-indent: 0;\n}"}
- ReplaceZlib:
Find: "MetaDataLabel[qApp_deviceIsTrilogy=true] {\n font-size: 13px;\n}"
Replace: "MetaDataLabel[qApp_deviceIsTrilogy=true] {\n font-size: 14px;\n}"
- ReplaceZlib:
Find: "MetaDataLabel[qApp_deviceIsPhoenix=true] {\n font-size: 17px;\n}"
Replace: "MetaDataLabel[qApp_deviceIsPhoenix=true] {\n font-size: 18px;\n}"
- ReplaceZlib:
Find: "MetaDataLabel[qApp_deviceIsDragon=true] {\n font-size: 24px;\n}"
Replace: "MetaDataLabel[qApp_deviceIsDragon=true] {\n font-size: 26px;\n}"
- ReplaceZlib:
Find: "MetaDataLabel[qApp_deviceIsDaylight=true] {\n font-size: 31px;\n}"
Replace: "MetaDataLabel[qApp_deviceIsDaylight=true] {\n font-size: 34px;\n}"
Increase subtitle font size, font color black.
Subtitle examples are the grey text captions containing:
- 'x HOURS TO GO' for kepubs (not shown for epubs) - top row
- 'x BOOKS' under 'My Books' - middle row
Works best when used with with patch `Increase home screen cover size`
- FindZlib: "#homeWidgetTopContainer" # qss/GenericHomeWidget.qss
- ReplaceZlibGroup:
Replacements:
# Change subtitle font colour from mid-grey to black
- {Find: "MetaDataLabel {\n color: #666666;\n qproperty-indent: 0;\n}", Replace: "MetaDataLabel {\n color: #000000;\n qproperty-indent: 0;\n}"}
#
# Increase subtitle font-size
# Touch/Mini (Trilogy)
- Find: "MetaDataLabel[qApp_deviceIsTrilogy=true] {\n font-size: 13px;\n}"
Replace: "MetaDataLabel[qApp_deviceIsTrilogy=true] {\n font-size: 14px;\n}"
# Glo/Aura/Aura2E/Nia (Phoenix)
- Find: "MetaDataLabel[qApp_deviceIsPhoenix=true] {\n font-size: 17px;\n}"
Replace: "MetaDataLabel[qApp_deviceIsPhoenix=true] {\n font-size: 18px;\n}"
# AuraHD/AuraH2O/AuraH2O2/GloHD/ClaraHD (Dragon)
- Find: "MetaDataLabel[qApp_deviceIsDragon=true] {\n font-size: 24px;\n}"
Replace: "MetaDataLabel[qApp_deviceIsDragon=true] {\n font-size: 26px;\n}"
# LibraH2O/Libra2 (Storm)
- Find: "MetaDataLabel[qApp_deviceIsStorm=true] {\n font-size: 28px;\n}"
Replace: "MetaDataLabel[qApp_deviceIsStorm=true] {\n font-size: 30px;\n}"
# AuraONE/Forma/Sage/Elipsa (Daylight)
- Find: "MetaDataLabel[qApp_deviceIsDaylight=true] {\n font-size: 31px;\n}"
Replace: "MetaDataLabel[qApp_deviceIsDaylight=true] {\n font-size: 34px;\n}"
Remove footer (row3) and increase cover size on new home screen:
- Enabled: no
- PatchGroup: Home screen layout tweaks
- Description: |
Combines two patches together which share the same PatchGroup:
- `Increase home screen cover size`
- `Remove footer (row3) on new home screen`
- FindZlib: "#row1col2" # qss/HomePageView.qss
- ReplaceZlibGroup:
Replacements:
# patch `Increase home screen cover size`
# Touch/Mini (Trilogy)
- {Find: "qproperty-leftMargin: 32px;", Replace: "qproperty-leftMargin: 16px;"}
- {Find: "qproperty-rightMargin: 32px;", Replace: "qproperty-rightMargin: 16px;"}
# Glo/Aura/Aura2E/Nia (Phoenix)
- {Find: "qproperty-leftMargin: 40px;", Replace: "qproperty-leftMargin: 16px;"}
- {Find: "qproperty-rightMargin: 40px;", Replace: "qproperty-rightMargin: 16px;"}
# AuraHD/AuraH2O/AuraH2O2/GloHD/ClaraHD (Dragon)
- {Find: "qproperty-leftMargin: 57px;", Replace: "qproperty-leftMargin: 22px;"}
- {Find: "qproperty-rightMargin: 57px;", Replace: "qproperty-rightMargin: 22px;"}
# AuraONE/Forma/Sage/Elipsa (Daylight)
- {Find: "qproperty-leftMargin: 74px;", Replace: "qproperty-leftMargin: 29px;"}
- {Find: "qproperty-rightMargin: 74px;", Replace: "qproperty-rightMargin: 29px;"}
# LibraH2O/Libra2 (Storm)
- {Find: "qproperty-leftMargin: 67px;", Replace: "qproperty-leftMargin: 29px;"}
- {Find: "qproperty-rightMargin: 67px;", Replace: "qproperty-rightMargin: 29px;"}
#
# patch `Remove footer (row3) on new home screen`
- Find: "#row1col2 {\n qproperty-visible: false;\n}"
Replace: "#row1col2 {\n qproperty-visible: false;\n}\n#row3 {\n qproperty-visible: false;\n}"
Remove footer (row3) on new home screen:
- Enabled: no
- PatchGroup: Home screen visibility tweaks
- PatchGroup: Home screen layout tweaks
- FindZlib: "#row1col2" # qss/HomePageView.qss
- ReplaceZlib:
Find: "#row1col2 {\n qproperty-visible: false;\n}"
@ -591,7 +617,7 @@ Remove forgot pin button from lock screen:
Removes the Forgot PIN -> Sign Out button from the lock screen.
If this is enabled and you forget your pin, you will need to
hard reset your Kobo.
- BaseAddress: 0x1683BDA # qss/PinCodeInputDialog.qss
- BaseAddress: 0x1673B62 # qss/PinCodeInputDialog.qss
- ReplaceZlib:
Find: "#lblForgotPin[qApp_deviceIsDragon=true],\n#lblSignOut[qApp_deviceIsDragon=true] {\n font-size: 26px;\n}"
Replace: "#lblForgotPin,#lblSignOut{qproperty-visible:false;}"
@ -599,7 +625,7 @@ Remove forgot pin button from lock screen:
Increase size of kepub chapter progress chart:
- Enabled: no
- Description: Originally by oren64, rewritten for 4.16.13337 by pgaskin (geek1011).
- BaseAddress: 0x167D310 # qss/ReadingMenuStatsView.qss
- BaseAddress: 0x1667475 # qss/ReadingMenuStatsView.qss
- ReplaceZlibGroup:
Replacements:
# Top padding is already set to 15px, 25px, 33px, vertical aligned to middle.