View Single Post
Old 09-25-2019, 08:04 AM   #322
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 Vetchy View Post
Does it possible to create patch, allow set fonts for all menu on Kobo. After last update we got new header and footer where supported only Latin font. With Cyrillic its looks ugly.
Maybe it exist?

In next photo I'm marked different font family in header and footer.
It's not possible to do a global patch to change font-family for the whole GUI. At least I can't think of a way to do it. Perhaps geek1011 can correct me if I'm wrong.

In both your images I believe all those highlighted fields are default coded as Avenir sans-serif. There is probably special code to cater to other Kobo-supported languages (e.g. Japanese/Chinese) It looks like Avenir is unsuitable for Cyrillic and, no doubt, many other not-officially-supported languages. It also looks like some of your highlights are using a fallback to Georgia - yes, it's ugly but better than displaying blanks. I think the previous firmware used whatever font-family was selected for the book to display header/footer. This would probably work better for everyone but I've no idea how to do that.

As it stands, I think your 7 highlighted area styles may require at least 6 different patches. Before patching it you have to find the relevant code. It can be like looking for a needle in a haystack. Sometimes you're looking in the wrong haystack. It's tedious, time-consuming and requires a lot of trial and error as, not surprisingly, there's no documentation.

More eyes looking would help but volunteers seem to be few and far between at the moment. There are a lot more patch requesters than patch creators (i.e. 2) and even patch creators deserve some leisure time to read books.

On a slightly more positive note, I have found some of the code which styles the header's chapter name and the footer's book title (see your 2nd image). However, it doesn't seem to control the progress text (right-half of the header/footer). Nor can it be used to un-force the UPPERCASE. A new patch may become available for this, but not yet.

In the meantime, if the current appearance is too ugly, you could take the sweep-it-under-the-rug options in libnickel.so.1.0.0.yaml:
  • enable 'Remove title from reading header/footer' leaving only the progress text visible in header/footer
  • enable both 'Custom header/footer page number text' and 'Custom navigation menu page number text' to show '10 / 20' instead of '10 OF 20'
jackie_w is offline   Reply With Quote