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-11-2024, 03:58 PM   #46
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,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
Quote:
Originally Posted by Usered View Post
Another tip if anybody can help: how should I edit the nickel.yaml file under the "Custom header/footer captions" patch if I only want the header and footer font to show in grey, and no other change (I'm satisfied enough with the reduced space from another patch)?
You appear to have a Libra2, so look for these lines in the current patch:
Code:
          # LibraH2O/Libra2
        - Find:    "[qApp_deviceIsStorm=true] {\n  font-size: 29px;\n}"
          Replace: "[qApp_deviceIsStorm=true] {\n  font-size: 29px; margin-top: 0px;\n}"
and change the 3rd line to something like the following:
Code:
          Replace: "[qApp_deviceIsStorm=true] {\n  font-size:29px;margin-top:0px;color:#555;\n}"
You can change the grey level (in red) to whatever you like.


Quote:
Originally Posted by Usered View Post
Plus, is there any patch to force the kepub reader on the device to show ligatures and good kerning (seems only avaiable for epubs)?
You no longer need a patch for this, you can manually edit the Kobo config file. See this post for details.

Once you've done that and seen the effect in kepubs you might also consider patch KePub stylesheet additions - word-spacing in libnickel.so.1.0.0.yaml if you usually read your books full-justified and you're not happy with the existing kepub word spacing.

ETA: The ligatures and kerning will only be as good as the font you've chosen to read your kepub.

Last edited by jackie_w; 01-11-2024 at 04:02 PM. Reason: ETA
jackie_w is offline   Reply With Quote
Old 01-11-2024, 07:15 PM   #47
Usered
Junior Member
Usered began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2024
Device: Kobo Libra 2
Really helpful, thank you
Usered is offline   Reply With Quote
Reply

Tags
kobopatch, patch, patch32lsb, patches, patching


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
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.2.0 DNSB Kobo Developer's Corner 66 12-05-2014 07:28 AM
Instructions for patching firmware 3.8.0 GeoffR Kobo Developer's Corner 92 10-22-2014 07:22 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 12:42 AM.


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