View Single Post
Old 01-11-2020, 09:44 PM   #432
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: 2,808
Karma: 7423683
Join Date: May 2016
Location: Ontario, Canada
Device: Kobo Mini, Aura Edition 2 v1, Clara HD
Quote:
Originally Posted by jackie_w View Post
I tried everything I could think of to do this by customising existing nickel CSS. I came to the conclusion that the code that handles the right-hand text (page numbers, %, time remaining) must have been moved out of the nickel GUI CSS we normally use for patching. It's somewhere deeper in the firmware code. Wherever Kobo have hidden it, it's now out of my reach ... unless geek1011 has some bright ideas ...
It's in an ordinary string in libnickel. The fonts values are set through format strings, so there isn't any easy way to sacrifice CSS to be able to set this. It might be possible to replace them in the code (and it is possible for certain if you modify the ELF layout, but that's quite a bit more work). It might be possible to make it changeable from the CSS by assigning it a selector, though. I don't have time to look at it right now, but remind me about it next firmware version if I forget.
geek1011 is offline   Reply With Quote