View Single Post
Old 10-01-2019, 04:14 PM   #3
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
New patch - "Custom page navigation scrubber"

This patch allows you to customise various parts of the new 'scrubber'. The 'scrubber' is the navigation/progressbar which pops up at the bottom of the screen when you tap to bring up the in-book menus.

It will be of most use to those who read books in languages not officially supported by Kobo, e.g. Russian, Vietnamese, where Kobo's default Avenir font is a poor choice for displaying the necessary unicode characters for chapter names.

It can also be used by those who just want to change the scrubber's cosmetic appearance.

Part 1: Customise these 3 buttons:
- Left & Right 'Back to page nnn'
- Current chapter name (bottom left, next to TOC icon)
  • 1a. Change font-size (by model)
  • 1b. Change other font properties, e.g. font-family, bold, italic ... and anything else you can do with CSS

Part 2: Customise central 'Page x of y' label
  • 2a. Change font-size (by model)
  • 2b. Change other font properties, similar to 1b.

N.B:
  • If you customise any font-family and after install/reboot you still do not see the new font being used in the scrubber, please see help notes at https://www.mobileread.com/forums/sh...90&postcount=2
  • *** This patch is not suitable for Japanese/Chinese locale users ***

In the attached screenshots:
  • Image 1: Shows an unpatched Kobo with an English book.
  • Image 2: Shows the same book after patching with cosmetic customisation. (Whether I made it better or worse is subjective )
    - in 1a. reduce font-size slightly
    - in 2a. increase font-size
    - in 1b. & 2b. use sideloaded Bookerly font, un-bolded
    - in 1b. make the 3 buttons look more like buttons and less like labels by using a light-grey background.
    - in 2b. remove forced UPPERCASE
  • Image 3: Shows an unpatched Kobo with a book with chapter names containing Cyrillic characters.
    Note how poor Avenir and the fallback font are for this Kobo-non-supported language.
  • Image 4: Shows the same book after patching using the same customisation as Image 2.
    Note that customising to use the Bookerly font now displays Cyrillic better.
Attached Thumbnails
Click image for larger version

Name:	image1_unpatched_eng.png
Views:	3320
Size:	111.9 KB
ID:	173871   Click image for larger version

Name:	image2_patched_eng.png
Views:	2866
Size:	149.5 KB
ID:	173872   Click image for larger version

Name:	image3_unpatched_cyr.png
Views:	2654
Size:	176.7 KB
ID:	173873   Click image for larger version

Name:	image4_patched_cyr.png
Views:	2578
Size:	198.8 KB
ID:	173874  

Last edited by jackie_w; 10-01-2019 at 04:44 PM. Reason: added screenshots
jackie_w is offline   Reply With Quote