View Single Post
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