Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 01-12-2017, 07:20 PM   #76
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,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by mimbel View Post
the patch working only on epubs not on kepub for kobo glo
Okay, that is possible. Unfortunately I don't have a solution in that case.

Edit: I've added a note of this problem to post #2 of this thread.

Last edited by GeoffR; 01-12-2017 at 07:34 PM.
GeoffR is offline   Reply With Quote
Old 01-12-2017, 08:03 PM   #77
mimbel
Enthusiast
mimbel began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Jan 2014
Location: Algeria
Device: Kobo Glo kobo Clara HD
I changed the values for margin footer to 30 and 26 PX but problem still with kpubs ebooks
Thank you very match GeoffR and sorry for may English

Envoyé de mon ONE A2005
mimbel is offline   Reply With Quote
Advert
Old 01-12-2017, 08:20 PM   #78
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,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
I think the solution for the KePub footer might involve reducing the height of the bottom menus, in a similar way to jackie_w's patch for the KePub header reduces the top menus.

I haven't time to experiment with it at the moment, but this compressed CSS in nickel might be what needs changing:
Code:
QWidget[footerFixedHeight="true"][qApp_deviceIsTrilogy="true"] {
  min-height: 70px;
  max-height: 70px;
}
QWidget[footerFixedHeight="true"][qApp_deviceIsPhoenix="true"] {
  min-height: 82px;
  max-height: 82px;
}
QWidget[footerFixedHeight="true"][qApp_deviceIsDragon="true"] {
  min-height: 120px;
  max-height: 120px;
}
QWidget[footerFixedHeight="true"][qApp_deviceIsDaylight="true"] {
  min-height: 156px;
  max-height: 156px;
}
GeoffR is offline   Reply With Quote
Old 01-12-2017, 09:52 PM   #79
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by GeoffR View Post
I think the solution for the KePub footer might involve reducing the height of the bottom menus, in a similar way to jackie_w's patch for the KePub header reduces the top menus.

I haven't time to experiment with it at the moment, but this compressed CSS in nickel might be what needs changing:
Code:
QWidget[footerFixedHeight="true"][qApp_deviceIsTrilogy="true"] {
  min-height: 70px;
  max-height: 70px;
}
QWidget[footerFixedHeight="true"][qApp_deviceIsPhoenix="true"] {
  min-height: 82px;
  max-height: 82px;
}
QWidget[footerFixedHeight="true"][qApp_deviceIsDragon="true"] {
  min-height: 120px;
  max-height: 120px;
}
QWidget[footerFixedHeight="true"][qApp_deviceIsDaylight="true"] {
  min-height: 156px;
  max-height: 156px;
}
Re: the Custom Footer patch. I have fw 4.2.8110 loaded on 3 different devices, H2O, GloHD and KA1. It's working as well as it always has done for me in both epub and kepub.

Re: the 'footerFixedHeight' code above. I thought I'd tried just about every likely contender I could find in nickel CSS streams, but no joy. Still, if you find time, a second opinion is always worthwhile I did think I was going in circles by the time I finished looking!

The only useful success I had with any kind of reduced footer in nickel - apart from your long-standing 'ReadingFooter' widget patch - was with the footer you get when you do a 'search in book'. This one works pretty much like the 'reduce kepub header' and can be found in the compressed stream containing the widget #SearchMenuView.

ETA: I'm not sure why it would make a difference to the results but perhaps I should also have mentioned this. Because I have rather a lot of nickel patches, many of which are to compressed CSS streams, I use the pipcat-method to apply all nickel patches, rather than doing some through the pipcat-method and some through the main Patcher.

Last edited by jackie_w; 01-12-2017 at 09:58 PM. Reason: ETA
jackie_w is offline   Reply With Quote
Old 01-13-2017, 12:33 AM   #80
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,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
Quote:
Originally Posted by jackie_w View Post
Re: the Custom Footer patch. I have fw 4.2.8110 loaded on 3 different devices, H2O, GloHD and KA1. It's working as well as it always has done for me in both epub and kepub.
Thanks. It's been a long time since I read a KePub other than full-screen, so I spent a bit of time testing the `Custom reading footer style` patch in firmware 3.19.5761.

I did notice a difference between ePub and kePub: In KePubs I can get the text a lot closer to the page number than without the patch, but I still can't get it quite as close as I can in ePubs.
GeoffR is offline   Reply With Quote
Advert
Old 01-13-2017, 07:22 AM   #81
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by GeoffR View Post
Okay, that is possible. Unfortunately I don't have a solution in that case.

Edit: I've added a note of this problem to post #2 of this thread.
I just tried a kepub with my H2O on 4.2.8110 and I think you can remove the note. The footer is the same size as with RMDSK and I can get the text pretty close to the footer. So as far as the H2O goes, the patches seem to work.
JSWolf is offline   Reply With Quote
Old 01-23-2017, 08:33 AM   #82
jamalau
Connoisseur
jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.jamalau knows what's going on.
 
Posts: 78
Karma: 25542
Join Date: Nov 2013
Location: NRW Germany
Device: Kobo Forma
Is there a patch available to Changing the info panel in full size screensaver (upper left corner)?
jamalau is offline   Reply With Quote
Old 02-06-2017, 12:47 AM   #83
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,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
`Brightness fine control` patch

Here is the `Brightness fine control` patch for firmware 4.2.8110, paste into libnickel.so.1.0.0.patch:
Spoiler:
Code:
<Patch>
patch_name = `Brightness fine control`
patch_enable = `yes`
#
## Sun symbols change the frontlight brightness in 1% instead of 5% steps.
#
# ValueDisplaySlider::setStep(5) --> ValueDisplaySlider::setStep(1)
replace_int = 73C82E, 5, 1
</Patch>
GeoffR is offline   Reply With Quote
Old 02-06-2017, 04:01 AM   #84
Martina Schein
eBook-Reader-Fan
Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.Martina Schein ought to be getting tired of karma fortunes by now.
 
Martina Schein's Avatar
 
Posts: 175
Karma: 444178
Join Date: Sep 2012
Location: Saarbruecken / DE
Device: Kobo Aura H2O 2nd Edition
Thank you very much, GeoffR. The `Brightness fine control` patch woks very fine on my H2O.
Martina Schein is offline   Reply With Quote
Old 02-06-2017, 06:08 AM   #85
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by GeoffR View Post
Here is the `Brightness fine control` patch for firmware 4.2.8110, paste into libnickel.so.1.0.0.patch:
Spoiler:
Code:
<Patch>
patch_name = `Brightness fine control`
patch_enable = `yes`
#
## Sun symbols change the frontlight brightness in 1% instead of 5% steps.
#
# ValueDisplaySlider::setStep(5) --> ValueDisplaySlider::setStep(1)
replace_int = 73C82E, 5, 1
</Patch>
Very nice! Thank you.
JSWolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Instructions for patching firmware 3.15.0 GeoffR Kobo Developer's Corner 146 05-24-2016 06:10 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.12.1 GeoffR Kobo Developer's Corner 56 03-20-2015 05:14 AM
Instructions for patching firmware 3.1.1 GeoffR Kobo Developer's Corner 64 04-18-2014 01:23 PM


All times are GMT -4. The time now is 01:50 PM.


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