12-17-2018, 07:12 PM | #61 |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
|
12-17-2018, 07:24 PM | #62 |
Wizard
Posts: 2,730
Karma: 6675565
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
|
Advert | |
|
12-18-2018, 02:12 AM | #63 | |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
ePub left/right margins step size (testing)
I haven't found how to change the space at the top of the ePub, but while looking I found this patch which might be useful to some in its own right. I haven't tested it on firmware 4.12.12111, but here it is in case someone else wants to try:
Quote:
Spoiler:
Last edited by GeoffR; 12-18-2018 at 02:14 AM. Reason: Added - Enabled: no to patch |
|
12-18-2018, 06:35 AM | #64 |
Evangelist
Posts: 439
Karma: 287725
Join Date: Sep 2014
Location: Europe
Device: Kobo Aura H2O/Glo HD/Libra 2, Kindle PW3/PW5
|
|
12-18-2018, 07:34 AM | #65 |
Connoisseur
Posts: 71
Karma: 72010
Join Date: Nov 2014
Device: none
|
Is there a faq, wiki, thread that says a bit more about what these patches do and change from the base line?
|
Advert | |
|
12-18-2018, 07:42 AM | #66 |
Wizard
Posts: 2,730
Karma: 6675565
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
The index of metazoa patches describes the oldest ones, and the kobopatch request thread has links to describe the newest ones. The ones in between are scattered or nonexistent.
|
12-18-2018, 03:08 PM | #67 |
Connoisseur
Posts: 76
Karma: 10742
Join Date: Jul 2017
Location: Serbia
Device: Kobo Aura One
|
Based on everything that I've read, it seems that this update removed the old fullscreen mode, adding separate options for displaying the header and footer instead. The end result, as far as I gather, is that no matter what patch combo or setting I apply, the top and bottom margins will never be as small as before?
Applying the two header and footer menu size patches mentioned in the thread didn't seem to alter the margins, and I'm no longer sure if that was even their intended consequence? This was while paired with the left and right margins patch. Applying just the epub adjustable patch netted an overall okay result, though the footer always seems slightly larger, and both margins appear to be slightly larger on epubs than on kepubs. Is the adjustable patch the best end-result that can be had at the moment, or is there a more effective patch combo that I missed? I'm running an Aura One, though I presume that doesn't make much difference. |
12-18-2018, 03:43 PM | #68 | |
Wizard
Posts: 2,730
Karma: 6675565
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
|
Quote:
Other than that, this is the best there is at the moment. |
|
12-19-2018, 04:01 AM | #69 |
Zealot
Posts: 137
Karma: 398492
Join Date: Apr 2018
Device: Kobo Aura One
|
Hello,
I think there may be a problem with the patch "Increase the view details container size" in version 37 of the patches for the latest firmware. With the patch enabled without modification, it appears that the lower lines are obscured by the pagination indicator and navigation (most clear when the info is more than one page long). |
12-19-2018, 05:18 AM | #70 |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Testing ePub viewport
Could someone who is familliar with the ePub reader test these patches (one at a time) and let me know how they affect the header/footer size in ePub books when the "Show title" / "Show footer" options are unticked?
Decrease ReaderService viewport height: (libnickel.so.1.0.0.yaml) Spoiler:
Increase ReaderService viewport height: (libnickel.so.1.0.0.yaml) Spoiler:
I tried them with firmware 4.8.11073 and decreasing the height seemed to work as I would expect, the area available for book content decreased and remained vertically centred, but increasing it didn't work at all. Maybe it will give a clue where to look for a solution though. |
12-19-2018, 09:53 AM | #71 |
absolute beginner
Posts: 323
Karma: 1750999
Join Date: May 2017
Location: Go with the wind (43°19'17.7"N 2°00'19.4"W)
Device: ka1
|
KA1 with 4.12.12111.
If you need something more... Good luck. |
12-19-2018, 12:56 PM | #72 |
BLAM!
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Not sure if that's going to be helpful, but by playing with a few debugging features, we can get the widget class names logged.
(Right now, I've got EnableDebugServices, EnableInspector & ShowWidget in DeveloperSettings, and ShowLayoutRectangles in FeatureSettings. It's... err, busy ;D). With header & footer hidden, that's: Code:
Dec 19 18:53:12 nickel: ( 248.895 @ 0x553010 / ui.debug) draw widget: 46 QStackedWidget QRect(0,11 1080x1429) Dec 19 18:53:12 nickel: ( 248.896 @ 0x553010 / ui.debug) ===> parent widget: AbstractMainWindow Dec 19 18:53:12 nickel: ( 248.941 @ 0x553010 / ui.debug) draw widget: 46 QFrame QRect(0,55 1080x1341) Dec 19 18:53:12 nickel: ( 248.941 @ 0x553010 / ui.debug) ===> parent widget: ReadingView 1429 is indeed the effective height of the H2O (Out of the 1440, hence the 0, 11 offset). And 1429 - 1341 == 44*2, so that tracks with what we got from the screenshots. I'll check GeoffR's experimental patches next . Last edited by NiLuJe; 12-19-2018 at 02:24 PM. |
12-19-2018, 02:09 PM | #73 |
BLAM!
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
First round of tests with the "Decrease" patch (on a H2O).
Footer + Header: Code:
Dec 19 19:58:28 nickel: ( 643.716 @ 0x553010 / ui.debug) draw widget: 46 QStackedWidget QRect(0,11 1080x1429) Dec 19 19:58:28 nickel: ( 643.716 @ 0x553010 / ui.debug) ===> parent widget: AbstractMainWindow Dec 19 19:58:28 nickel: ( 643.762 @ 0x553010 / ui.debug) draw widget: 46 QFrame QRect(0,132 1080x1188) Dec 19 19:58:28 nickel: ( 643.762 @ 0x553010 / ui.debug) ===> parent widget: ReadingView Dec 19 19:58:28 nickel: ( 643.838 @ 0x553010 / ui.debug) draw widget: 46 TouchLabel QRect(170,1320 740x120) "Page 1 <i>of</i> 3" Dec 19 19:58:28 nickel: ( 643.838 @ 0x553010 / ui.debug) ===> parent widget: ReadingFooter Dec 19 19:58:28 nickel: ( 643.842 @ 0x553010 / ui.debug) draw widget: 46 RegularTouchLabel QRect(86,11 908x120) "Margin Test" Dec 19 19:58:28 nickel: ( 643.843 @ 0x553010 / ui.debug) ===> parent widget: GenericContainerWidget Dec 19 19:58:28 nickel: ( 643.847 @ 0x553010 / ui.debug) draw widget: 46 QLabel QRect(0,131 1080x1) "" Dec 19 19:58:28 nickel: ( 643.847 @ 0x553010 / ui.debug) ===> parent widget: StatusBarView Code:
Dec 19 19:59:58 nickel: ( 733.480 @ 0x553010 / ui.debug) draw widget: 46 QStackedWidget QRect(0,11 1080x1429) Dec 19 19:59:58 nickel: ( 733.480 @ 0x553010 / ui.debug) ===> parent widget: AbstractMainWindow Dec 19 19:59:58 nickel: ( 733.525 @ 0x553010 / ui.debug) draw widget: 46 QFrame QRect(0,55 1080x1265) Dec 19 19:59:58 nickel: ( 733.526 @ 0x553010 / ui.debug) ===> parent widget: ReadingView Dec 19 19:59:58 nickel: ( 733.606 @ 0x553010 / ui.debug) draw widget: 46 TouchLabel QRect(170,1320 740x120) "Page 1 <i>of</i> 3" Dec 19 19:59:58 nickel: ( 733.606 @ 0x553010 / ui.debug) ===> parent widget: ReadingFooter Code:
Dec 19 20:01:05 nickel: ( 800.190 @ 0x553010 / ui.debug) draw widget: 46 QStackedWidget QRect(0,11 1080x1429) Dec 19 20:01:05 nickel: ( 800.191 @ 0x553010 / ui.debug) ===> parent widget: AbstractMainWindow Dec 19 20:01:05 nickel: ( 800.236 @ 0x553010 / ui.debug) draw widget: 46 QFrame QRect(0,132 1080x1264) Dec 19 20:01:05 nickel: ( 800.237 @ 0x553010 / ui.debug) ===> parent widget: ReadingView Dec 19 20:01:05 nickel: ( 800.318 @ 0x553010 / ui.debug) draw widget: 46 RegularTouchLabel QRect(86,11 908x120) "Margin Test" Dec 19 20:01:05 nickel: ( 800.318 @ 0x553010 / ui.debug) ===> parent widget: GenericContainerWidget Dec 19 20:01:05 nickel: ( 800.323 @ 0x553010 / ui.debug) draw widget: 46 QLabel QRect(0,131 1080x1) "" Dec 19 20:01:05 nickel: ( 800.323 @ 0x553010 / ui.debug) ===> parent widget: StatusBarView Code:
Dec 19 20:01:53 nickel: ( 848.100 @ 0x553010 / ui.debug) draw widget: 46 QStackedWidget QRect(0,11 1080x1429) Dec 19 20:01:53 nickel: ( 848.100 @ 0x553010 / ui.debug) ===> parent widget: AbstractMainWindow Dec 19 20:01:53 nickel: ( 848.146 @ 0x553010 / ui.debug) draw widget: 46 QFrame QRect(0,55 1080x1341) Dec 19 20:01:53 nickel: ( 848.146 @ 0x553010 / ui.debug) ===> parent widget: ReadingView Last edited by NiLuJe; 12-19-2018 at 02:24 PM. |
12-19-2018, 02:15 PM | #74 |
Zealot
Posts: 113
Karma: 32126
Join Date: Dec 2017
Location: Madrid (Spain)
Device: Kobo Aura H2O Ed2, Onyx Boox C67ML
|
I have just installed the fw 4.12.12111 and added some new patches I didn´t have before:
Enable rotation on all devices: It works, but when you rotate to landscape, you only can turn pages. Yo cannot select any menu item (including coming back to portrait!) and you cannot connect to the PC (you cannot confirm the question about connection yes/no!). Here I started to be very afraid that I have to full reset the ereader (I had no way to put another patch), but switching OFF and ON the ereader, luckly it returns to the menu in portrait position . Then, you can patch again to remove this option ... What a pity ... Note: I have an H2O Ed2 v1 Always show confirmation dialog before upgrading: I have had no posibility to check it, as I already updated the firmware before patching. See next time. Freedom to advanced fonts control: Very nice patch (I do not know why I did not install it before) The patch I used for fixed epub margins, now (with the last change by geoffr) still leaves a bottom margin bigger than expected, while the top looks to be less "big". The other patches seems to work as before. |
12-19-2018, 02:21 PM | #75 |
BLAM!
Posts: 13,477
Karma: 26012492
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
And with the Increase patch:
Footer + Header: Code:
Dec 19 20:11:31 nickel: ( 185.993 @ 0x553010 / ui.debug) draw widget: 46 QStackedWidget QRect(0,11 1080x1429) Dec 19 20:11:31 nickel: ( 185.993 @ 0x553010 / ui.debug) ===> parent widget: AbstractMainWindow Dec 19 20:11:31 nickel: ( 186.038 @ 0x553010 / ui.debug) draw widget: 46 QFrame QRect(0,132 1080x1188) Dec 19 20:11:31 nickel: ( 186.038 @ 0x553010 / ui.debug) ===> parent widget: ReadingView Dec 19 20:11:31 nickel: ( 186.113 @ 0x553010 / ui.debug) draw widget: 46 TouchLabel QRect(1079,132 108x1429) "" Dec 19 20:11:31 nickel: ( 186.113 @ 0x553010 / ui.debug) ===> parent widget: N3AdobeReader Dec 19 20:11:31 nickel: ( 186.116 @ 0x553010 / ui.debug) draw widget: 46 TouchLabel QRect(170,1320 740x120) "Page 1 <i>of</i> 3" Dec 19 20:11:31 nickel: ( 186.116 @ 0x553010 / ui.debug) ===> parent widget: ReadingFooter Dec 19 20:11:31 nickel: ( 186.120 @ 0x553010 / ui.debug) draw widget: 46 RegularTouchLabel QRect(86,11 908x120) "Margin Test" Dec 19 20:11:31 nickel: ( 186.121 @ 0x553010 / ui.debug) ===> parent widget: GenericContainerWidget Dec 19 20:11:31 nickel: ( 186.125 @ 0x553010 / ui.debug) draw widget: 46 QLabel QRect(0,131 1080x1) "" Dec 19 20:11:31 nickel: ( 186.125 @ 0x553010 / ui.debug) ===> parent widget: StatusBarView Code:
Dec 19 20:13:13 nickel: ( 287.650 @ 0x553010 / ui.debug) draw widget: 46 QStackedWidget QRect(0,11 1080x1429) Dec 19 20:13:13 nickel: ( 287.650 @ 0x553010 / ui.debug) ===> parent widget: AbstractMainWindow Dec 19 20:13:13 nickel: ( 287.695 @ 0x553010 / ui.debug) draw widget: 46 QFrame QRect(0,55 1080x1265) Dec 19 20:13:13 nickel: ( 287.696 @ 0x553010 / ui.debug) ===> parent widget: ReadingView Dec 19 20:13:13 nickel: ( 287.776 @ 0x553010 / ui.debug) draw widget: 46 TouchLabel QRect(1079,55 108x1429) "" Dec 19 20:13:13 nickel: ( 287.776 @ 0x553010 / ui.debug) ===> parent widget: N3AdobeReader Dec 19 20:13:13 nickel: ( 287.778 @ 0x553010 / ui.debug) draw widget: 46 TouchLabel QRect(170,1320 740x120) "Page 1 <i>of</i> 3" Dec 19 20:13:13 nickel: ( 287.779 @ 0x553010 / ui.debug) ===> parent widget: ReadingFooter Code:
Dec 19 20:14:04 nickel: ( 338.344 @ 0x553010 / ui.debug) draw widget: 46 QStackedWidget QRect(0,11 1080x1429) Dec 19 20:14:04 nickel: ( 338.344 @ 0x553010 / ui.debug) ===> parent widget: AbstractMainWindow Dec 19 20:14:04 nickel: ( 338.390 @ 0x553010 / ui.debug) draw widget: 46 QFrame QRect(0,132 1080x1264) Dec 19 20:14:04 nickel: ( 338.390 @ 0x553010 / ui.debug) ===> parent widget: ReadingView Dec 19 20:14:04 nickel: ( 338.470 @ 0x553010 / ui.debug) draw widget: 46 TouchLabel QRect(1079,132 108x1429) "" Dec 19 20:14:04 nickel: ( 338.470 @ 0x553010 / ui.debug) ===> parent widget: N3AdobeReader Dec 19 20:14:04 nickel: ( 338.473 @ 0x553010 / ui.debug) draw widget: 46 RegularTouchLabel QRect(86,11 908x120) "Margin Test" Dec 19 20:14:04 nickel: ( 338.473 @ 0x553010 / ui.debug) ===> parent widget: GenericContainerWidget Dec 19 20:14:04 nickel: ( 338.478 @ 0x553010 / ui.debug) draw widget: 46 QLabel QRect(0,131 1080x1) "" Dec 19 20:14:04 nickel: ( 338.479 @ 0x553010 / ui.debug) ===> parent widget: StatusBarView Code:
Dec 19 20:14:46 nickel: ( 380.719 @ 0x553010 / ui.debug) draw widget: 46 QStackedWidget QRect(0,11 1080x1429) Dec 19 20:14:46 nickel: ( 380.719 @ 0x553010 / ui.debug) ===> parent widget: AbstractMainWindow Dec 19 20:14:46 nickel: ( 380.765 @ 0x553010 / ui.debug) draw widget: 46 QFrame QRect(0,55 1080x1341) Dec 19 20:14:46 nickel: ( 380.766 @ 0x553010 / ui.debug) ===> parent widget: ReadingView Dec 19 20:14:46 nickel: ( 380.850 @ 0x553010 / ui.debug) draw widget: 46 TouchLabel QRect(1079,55 108x1429) "" Dec 19 20:14:46 nickel: ( 380.851 @ 0x553010 / ui.debug) ===> parent widget: N3AdobeReader So, yeah, no dice. Not quite sure why one of them seemed to affect the L/R margins like that, though. (MarginLeft/MarginRight is set to 1, not 0. if I set it to 0, I *think* that matches dec @ 1, FWIW. Which is how my LR margins usually look.). Last edited by NiLuJe; 12-19-2018 at 02:36 PM. |
Tags |
kobopatch, patch, patch32lsb, patches, patching |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Instructions for patching firmware 3.13.1 | GeoffR | Kobo Developer's Corner | 56 | 07-01-2016 09:59 AM |
Instructions for patching firmware 3.16.10 | GeoffR | Kobo Developer's Corner | 12 | 08-14-2015 03:40 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.12.1 | GeoffR | Kobo Developer's Corner | 56 | 03-20-2015 05:14 AM |
Instructions for patching firmware 3.12.0 | GeoffR | Kobo Developer's Corner | 165 | 02-07-2015 09:22 AM |