05-29-2019, 04:05 PM | #16 |
Guru
Posts: 873
Karma: 252902
Join Date: Jun 2016
Device: Kobo
|
|
05-29-2019, 05:18 PM | #17 |
Grand Sorcerer
Posts: 6,206
Karma: 16228558
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
|
Advert | |
|
05-30-2019, 03:43 PM | #18 | |
eBook-Reader-Fan
Posts: 175
Karma: 444178
Join Date: Sep 2012
Location: Saarbruecken / DE
Device: Kobo Aura H2O 2nd Edition
|
@geek1011 thank you very much for the patches. They works very fine on our readers (H20 2nd Edition, GloHD and Glo).
Quote:
Here are the links to the patcher configurations we use: Patcher for Firmware 4.15.12920 für Kobo Aura H2O 2nd Edition 1st Version https://www.dropbox.com/sh/x11b8v6fa...-WpACzc7a?dl=0 Patcher for Firmware 4.15.12920 für Kobo Glo https://www.dropbox.com/sh/48v6utf0e...H-9Y8I33a?dl=0 Patcher for Firmware 4.15.12920 für Kobo Glo HD https://www.dropbox.com/sh/aq2t0ddd2...uFONzNW-a?dl=0 |
|
05-30-2019, 07:07 PM | #19 |
Wizard
Posts: 2,730
Karma: 6678757
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
|
05-30-2019, 08:13 PM | #20 |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
|
Advert | |
|
05-30-2019, 08:27 PM | #21 |
Grand Sorcerer
Posts: 6,206
Karma: 16228558
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
I'm not sure I'm entitled to a say but I'd vote for GeoffR's variation becoming the standard version of the patch because of it's more granular customisation. This is assuming you think it will be maintainable across new firmware upgrades.
|
05-31-2019, 11:30 AM | #22 |
Wizard
Posts: 2,730
Karma: 6678757
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
I'm more asking about if he wants it included as-is. It's not much harder to maintain, as I just need to check the value at the beginning of the function when I update it.
|
06-01-2019, 05:08 AM | #23 |
Wizard
Posts: 1,022
Karma: 10963125
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
|
While patching my Kobo Touch (A), I received this Log:
Spoiler:
The patch in question has this settings: Code:
Un-Force user font-family in KePubs: - Enabled: yes - Description: | The KePub reader uses a very heavy-handed method of setting the font selected by the user, overriding all fonts set by the publisher in the book unless "Publisher Default" is selected. This patch lets the font-family set by the publisher in the KePub stylesheet override the font-family selected by the reader from the device in some cases, which allows a mix of user-selected and publisher-selected fonts. Alternatives 1-3 give increasing preference to the publisher-selected fonts. - FindBaseAddressString: "* { font-family: %1 !important; }\n" # # Alternative 1: # * { font-family: %1 !important; }\n # --> div,p{font-family:%1!important; }\n - ReplaceString: # Offset: 0 # Find: "* { font-family: %1 !important; }\n" # Replace: "div,p{font-family:%1!important; }\n" # MustMatchLength: yes # # Alternative 2: (Similar to ePub default) # * { font-family: %1 !important; }\n # --> body,p{font-family:%1!important;}\n - ReplaceString: Offset: 0 Find: "* { font-family: %1 !important; }\n" Replace: "body,p{font-family:%1!important;}\n" MustMatchLength: yes # # Alternative 3: (similar to ePub with `Un-force font-family override p tags`) # * { font-family: %1 !important; }\n # --> body{font-family:%1 !important; }\n # - ReplaceString: # Offset: 0 # Find: "* { font-family: %1 !important; }\n" # Replace: "body{font-family:%1 !important; }\n" # MustMatchLength: yes |
06-01-2019, 05:26 AM | #24 |
Guru
Posts: 873
Karma: 252902
Join Date: Jun 2016
Device: Kobo
|
|
06-01-2019, 05:37 AM | #25 |
Wizard
Posts: 1,022
Karma: 10963125
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
|
|
06-01-2019, 03:16 PM | #26 |
In Cyberspace
Posts: 15
Karma: 2070024
Join Date: Feb 2017
Device: None
|
Can anyone get "ePub fixed/adjustable top/bottom margins" to work? I want to make the top and bottom margins adjustable so I leave everything commented but all I got is this. The margins are fixed.
This patch worked on GeoffR's version so I'm not sure what I did wrong. |
06-01-2019, 08:23 PM | #27 | |
Wizard
Posts: 2,730
Karma: 6678757
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
What exactly do you mean by GeoffR's version? He updated the patch himself: https://github.com/geek1011/kobopatc...818727465c1d11. |
|
06-02-2019, 07:04 PM | #28 | |
In Cyberspace
Posts: 15
Karma: 2070024
Join Date: Feb 2017
Device: None
|
Quote:
|
|
06-02-2019, 07:51 PM | #29 | |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Quote:
From your screenshot I guess you have enabled the Reduce top/bottom page spacer patch? (in nickel.yaml) If so then you should also edit the last line of the ePub fixed/adjustable top/bottom margins patch to reflect the new size of the built-in margins: Spoiler:
Edit: Two more things to check: * Check that the book really is an ePub. The adjustable top/bottom margins stopped working for KePubs in firmware version 4.12.12111. * Check that the book doesn't have an Adobe XPGT stylesheet: If it does then use the Modify Epub plugin in Calibre to remove it. Last edited by GeoffR; 06-02-2019 at 11:09 PM. Reason: Two more things to check: |
|
06-11-2019, 05:19 PM | #30 |
Wizard
Posts: 1,005
Karma: 98078
Join Date: Jul 2006
Location: Atlanta, GA
Device: iPad Mini 4
|
Feeling really stupid, but I can't seem to get the update to run. New to Kobo, but I've done the following per the instructions:
1. Upgraded to 4.15.12920 2. Downloaded patched version and unzipped 3. Downloaded original 4.15.12920 firmware 4. Copied original 4.15.12920 zip file to SRC folder in unzipped patched version 5. Copied patched folder to root directory of kobo 6. Unmounted I've read elsewhere that the update should start automatically, but that is not happening. |
Tags |
kobopatch, patch, patch32lsb, patches, patching |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Instructions for patching firmware 3.18.0 | GeoffR | Kobo Developer's Corner | 151 | 10-21-2016 06:15 AM |
Instructions for patching firmware 3.17.3 | GeoffR | Kobo Developer's Corner | 60 | 09-17-2015 05:35 PM |
Instructions for patching firmware 3.17.0 | GeoffR | Kobo Developer's Corner | 49 | 08-16-2015 05:20 AM |
Instructions for patching firmware 3.16.0 | GeoffR | Kobo Developer's Corner | 74 | 08-12-2015 02:12 PM |
Instructions for patching firmware 3.3.x, 3.4.x, 3.5.x | GeoffR | Kobo Developer's Corner | 285 | 08-27-2014 10:06 AM |