Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader > Kobo Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 12-17-2018, 07:12 PM   #61
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,739
Karma: 17473000
Join Date: Nov 2012
Location: Tāmaki Makaurau
Device: Kobo Glo
Quote:
Originally Posted by geek1011 View Post
Is this final (i.e. do you want this added to the zips)?
Yes, thanks.
GeoffR is offline   Reply With Quote
Old 12-17-2018, 07:24 PM   #62
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 1,133
Karma: 2582511
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Kobo Aura Edition 2, Moto G5
Quote:
Originally Posted by GeoffR View Post
Yes, thanks.
Done (https://github.com/geek1011/kobopatc...3f220a4164a7be) and released (https://github.com/geek1011/kobopatc...leases/tag/v37).
geek1011 is offline   Reply With Quote
Advert
Old 12-18-2018, 02:12 AM   #63
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,739
Karma: 17473000
Join Date: Nov 2012
Location: Tāmaki Makaurau
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:
Left/Right margin size seems to be calculated in ReaderService::setViewport as W*(N/100.0), where W is screen width and N is the value selected from the margins slider. This patch changes the denominator from 100.0 (1% step size) to 200.0 (0.5% step size). Change 200.0 to any other value you like, e.g. 125.0 = 0.8%, 133.3 = 0.75%, 400.0 = 0.25%, etc. (percentage of screen width.)

Note that the step value N is affected by the `Custom left/right margins` patch, and if you use the `ePub fixed/adjustable top/bottom margins` patch then you should adjust the suggested step size value in that patch to match the change made here, e.g. halve it there if using the 200.0 value here.

Beware that enabling this patch means that the margin step size will be different in ePub and KePub books, which could be annoying if you read both. To be really useful we would also need a KePub version of this patch, plus a patch to add more values to the margins slider.

(And as always, the actual final margin size might be affected by things in the individual book's stylesheet.)
ePub left/right margins step size: (libnickel.so.1.0.0.yaml)
Spoiler:
Code:
ePub left/right margins step size:
  - Enabled: no
  # Local constant in ReaderService::setViewport
  - ReplaceFloat: {Offset: 0x490178, Find: 100.0, Replace: 200.0}

Last edited by GeoffR; 12-18-2018 at 02:14 AM. Reason: Added - Enabled: no to patch
GeoffR is offline   Reply With Quote
Old 12-18-2018, 06:35 AM   #64
mathil
Addict
mathil can do the Funky Gibbon.mathil can do the Funky Gibbon.mathil can do the Funky Gibbon.mathil can do the Funky Gibbon.mathil can do the Funky Gibbon.mathil can do the Funky Gibbon.mathil can do the Funky Gibbon.mathil can do the Funky Gibbon.mathil can do the Funky Gibbon.mathil can do the Funky Gibbon.mathil can do the Funky Gibbon.
 
Posts: 263
Karma: 82795
Join Date: Sep 2014
Location: Europe
Device: Kobo Aura H2O/Glo HD, Kindle Paperwhite 3
Quote:
Originally Posted by jcn363 View Post
Yes, you can still use `Change the font-size of footnotes pop-up and alikes` and `Change the font-family of footnotes pop-up and alikes` in this version.
Spoiler:
Code:
Change the font-size of footnotes pop-up and alikes:
  - Enabled: no
  - Description: |
      Change footnotes and alike font-size
  - FindZlib:  "QWidget[small"
# Pop-up header (footnotes and alike)
  - ReplaceZlib:
      Find:    "HeaderMediumElidedLabel,\n\
                HeaderMediumTouchLabel,\n\
                HeaderMediumLabel {\n  font-family: Georgia;\n  qproperty-alignment: 'AlignLeft|AlignVCenter';\n}\n\
                HeaderMediumElidedLabel[qApp_deviceIsTrilogy=true],\n\
                HeaderMediumTouchLabel[qApp_deviceIsTrilogy=true],\n\
                HeaderMediumLabel[qApp_deviceIsTrilogy=true] {\n  font-size: 30px;\n}\n\
                HeaderMediumElidedLabel[qApp_deviceIsPhoenix=true],\n\
                HeaderMediumTouchLabel[qApp_deviceIsPhoenix=true],\n\
                HeaderMediumLabel[qApp_deviceIsPhoenix=true] {\n  font-size: 36px;\n}\n\
                HeaderMediumElidedLabel[qApp_deviceIsDragon=true],\n\
                HeaderMediumTouchLabel[qApp_deviceIsDragon=true],\n\
                HeaderMediumLabel[qApp_deviceIsDragon=true] {\n  font-size: 46px;\n}\n\
                HeaderMediumElidedLabel[qApp_deviceIsAlyssum=true],\n\
                HeaderMediumTouchLabel[qApp_deviceIsAlyssum=true],\n\
                HeaderMediumLabel[qApp_deviceIsAlyssum=true] {\n  font-size: 50px;\n}\n\
                HeaderMediumElidedLabel[qApp_deviceIsNova=true],\n\
                HeaderMediumTouchLabel[qApp_deviceIsNova=true],\n\
                HeaderMediumLabel[qApp_deviceIsNova=true] {\n  font-size: 50px;\n}\n\
                HeaderMediumElidedLabel[qApp_deviceIsDaylight=true],\n\
                HeaderMediumTouchLabel[qApp_deviceIsDaylight=true],\n\
                HeaderMediumLabel[qApp_deviceIsDaylight=true] {\n  font-size: 60px;\n}"
      Replace: "HeaderMediumElidedLabel,HeaderMediumTouchLabel,HeaderMediumLabel{font-family:Georgia;qproperty-alignment:'AlignLeft|AlignVCenter';font-size:60px;}"
# Pop-up text (footnotes and alike)
  - ReplaceZlib:
      Find:    "RegularTouchLabel {\n  font-family: Georgia;\n  font-style: italic;\n}\n\
                RegularTouchLabel[qApp_deviceIsTrilogy=true] {\n  font-size: 19px;\n}\n\
                RegularTouchLabel[qApp_deviceIsPhoenix=true] {\n  font-size: 23px;\n}\n\
                RegularTouchLabel[qApp_deviceIsDragon=true] {\n  font-size: 29px;\n}\n\
                RegularTouchLabel[qApp_deviceIsAlyssum=true] {\n  font-size: 32px;\n}\n\
                RegularTouchLabel[qApp_deviceIsNova=true] {\n  font-size: 32px;\n}\n\
                RegularTouchLabel[qApp_deviceIsDaylight=true] {\n  font-size: 37px;\n}"
      Replace: "RegularTouchLabel{font-family:Georgia;font-style:italic;font-size:37px;}"

Change the font-family of footnotes pop-up and alikes:
  - Enabled: no
  - Description: |
      This patch allows you to change the font-family for the kepub pop-up footnotes (it
      will also affect a few other dialogs, like no wifi, marked as finished, marked as
      unread, etc).
  # In ReadingController::showFootnoteDialog(Bookmark const&), a ConfirmationDialog is created.
  # This changes the styles for ConfirmationDialog > #text
  - FindZlib: "#ConfirmationDialog"
  - ReplaceZlib: {Find: "font-family: Avenir;", Replace: "font-style:italic;}"} # with this change you'll have the same font family (for header and message) and italic for message
  - ReplaceZlib: {Find: "font-family: Sans-SerifJP, sans-serif;", Replace: "font-family: Georgia;"}

Good luck.
Did that, everything working as it should thank you so much!
mathil is offline   Reply With Quote
Old 12-18-2018, 07:34 AM   #65
please55
Connoisseur
please55 did not drink the Kool Aid.please55 did not drink the Kool Aid.please55 did not drink the Kool Aid.please55 did not drink the Kool Aid.please55 did not drink the Kool Aid.please55 did not drink the Kool Aid.please55 did not drink the Kool Aid.please55 did not drink the Kool Aid.please55 did not drink the Kool Aid.please55 did not drink the Kool Aid.please55 did not drink the Kool Aid.
 
Posts: 60
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?
please55 is offline   Reply With Quote
Advert
Old 12-18-2018, 07:42 AM   #66
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 1,133
Karma: 2582511
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Kobo Aura Edition 2, Moto G5
Quote:
Originally Posted by please55 View Post
Is there a faq, wiki, thread that says a bit more about what these patches do and change from the base line?
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.
geek1011 is offline   Reply With Quote
Old 12-18-2018, 03:08 PM   #67
Alanon
Enthusiast
Alanon doesn't litterAlanon doesn't litterAlanon doesn't litter
 
Alanon's Avatar
 
Posts: 25
Karma: 200
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.
Alanon is offline   Reply With Quote
Old 12-18-2018, 03:43 PM   #68
geek1011
Wizard
geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.geek1011 ought to be getting tired of karma fortunes by now.
 
Posts: 1,133
Karma: 2582511
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Kobo Aura Edition 2, Moto G5
Quote:
Originally Posted by Alanon View Post
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.
Your observations are mostly correct. The custom footer style patch (GeoffR's) only makes a difference when the footer is shown, and the custom footer menubar patch (mine) only affects the footer menubar, not the footer with the page. As for the header, the reduce header menubar patch only affects the size when the menubar is shown. If you don't mind losing the top menu, you could modify the css to replace it with 0px, or 10 px to make it just enough to touch (and not lose it).

Other than that, this is the best there is at the moment.
geek1011 is offline   Reply With Quote
Old 12-19-2018, 04:01 AM   #69
JeanPierre
Connoisseur
JeanPierre is clearly one to watchJeanPierre is clearly one to watchJeanPierre is clearly one to watchJeanPierre is clearly one to watchJeanPierre is clearly one to watchJeanPierre is clearly one to watchJeanPierre is clearly one to watchJeanPierre is clearly one to watchJeanPierre is clearly one to watchJeanPierre is clearly one to watchJeanPierre is clearly one to watch
 
Posts: 60
Karma: 10940
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).
JeanPierre is offline   Reply With Quote
Old 12-19-2018, 05:18 AM   #70
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 3,739
Karma: 17473000
Join Date: Nov 2012
Location: Tāmaki Makaurau
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:
Code:
Decrease ReaderService viewport height:
  - Enabled: yes
  - ReplaceBytes: {Offset: 0xB7D00C, FindH: D8 F8 04 30, ReplaceH: 43 46 59 68}
  - ReplaceBytes: {Offset: 0xB7D010, FindH: D8 F8 08 20, ReplaceH: 09 68 9A 68}
  - ReplaceBytes: {Offset: 0xB7D014, FindH: 19 68 12 68, ReplaceH: 12 68 00 3A}
  # Number of pixels to decrease by
  - ReplaceInt: {Offset: 0xB7D016, Find: 0, Replace: 48}


Increase ReaderService viewport height: (libnickel.so.1.0.0.yaml)
Spoiler:
Code:
Increase ReaderService viewport height:
  - Enabled: no
  - ReplaceBytes: {Offset: 0xB7D00C, FindH: D8 F8 04 30, ReplaceH: 43 46 59 68}
  - ReplaceBytes: {Offset: 0xB7D010, FindH: D8 F8 08 20, ReplaceH: 09 68 9A 68}
  - ReplaceBytes: {Offset: 0xB7D014, FindH: 19 68 12 68, ReplaceH: 12 68 00 32}
  # Number of pixels to increase by
  - ReplaceInt: {Offset: 0xB7D016, Find: 0, Replace: 48}


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.
GeoffR is offline   Reply With Quote
Old 12-19-2018, 09:53 AM   #71
jcn363
absolute beginner
jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.jcn363 ought to be getting tired of karma fortunes by now.
 
jcn363's Avatar
 
Posts: 322
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.
Attached Thumbnails
Click image for larger version

Name:	footer_decrease.png
Views:	109
Size:	13.2 KB
ID:	168464   Click image for larger version

Name:	header_decrease.png
Views:	106
Size:	16.1 KB
ID:	168465   Click image for larger version

Name:	header_and_footer_decrease.png
Views:	101
Size:	17.8 KB
ID:	168466   Click image for larger version

Name:	NO_header_NO_footer_decrease.png
Views:	98
Size:	16.1 KB
ID:	168467   Click image for larger version

Name:	footer_increase.png
Views:	96
Size:	17.7 KB
ID:	168468   Click image for larger version

Name:	header_increase.png
Views:	84
Size:	16.5 KB
ID:	168469   Click image for larger version

Name:	both_increase.png
Views:	85
Size:	17.8 KB
ID:	168470   Click image for larger version

Name:	no_one_increase.png
Views:	91
Size:	16.6 KB
ID:	168471  
jcn363 is offline   Reply With Quote
Old 12-19-2018, 12:56 PM   #72
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 8,300
Karma: 10777779
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O & Forma
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
(both ePub & kePub).

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.
NiLuJe is offline   Reply With Quote
Old 12-19-2018, 02:09 PM   #73
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 8,300
Karma: 10777779
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O & Forma
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
No Header:

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
No Footer:

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
FS:

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
(In the FS case, you can see the extra 24 pixels on each side in *pure white*, vs. the *very nearly white* hard margin. Colors courtesy of one of the debug setting mentioned earlier).
Attached Thumbnails
Click image for larger version

Name:	dec.png
Views:	68
Size:	16.7 KB
ID:	168481   Click image for larger version

Name:	dec_noh.png
Views:	62
Size:	11.2 KB
ID:	168482   Click image for larger version

Name:	dec_nof.png
Views:	61
Size:	12.6 KB
ID:	168483   Click image for larger version

Name:	dec_fs.png
Views:	58
Size:	2.5 KB
ID:	168484  

Last edited by NiLuJe; 12-19-2018 at 02:24 PM.
NiLuJe is offline   Reply With Quote
Old 12-19-2018, 02:15 PM   #74
JIPG-reader
Connoisseur
JIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beautyJIPG-reader does all things with Zen-like beauty
 
JIPG-reader's Avatar
 
Posts: 88
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.
JIPG-reader is offline   Reply With Quote
Old 12-19-2018, 02:21 PM   #75
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 8,300
Karma: 10777779
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, (PW) & PW2; Kobo H2O & Forma
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
No Header:

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
No Footer:

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
FS:

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.).
Attached Thumbnails
Click image for larger version

Name:	inc.png
Views:	53
Size:	17.5 KB
ID:	168485   Click image for larger version

Name:	inc_noh.png
Views:	50
Size:	12.0 KB
ID:	168486   Click image for larger version

Name:	inc_nof.png
Views:	44
Size:	13.4 KB
ID:	168487   Click image for larger version

Name:	inc_fs.png
Views:	46
Size:	2.5 KB
ID:	168488  

Last edited by NiLuJe; 12-19-2018 at 02:36 PM.
NiLuJe is offline   Reply With Quote
Reply

Tags
kobopatch, patch, patch32lsb, patches, patching

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


All times are GMT -4. The time now is 12:29 PM.


MobileRead.com is a privately owned, operated and funded community.