View Single Post
Old 10-01-2019, 05:15 PM   #4
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: 5,270
Karma: 12221060
Join Date: Sep 2009
Location: UK
Device: PRS-350, Kobo: Aura6", H2O, GloHD, KA1, ClaraHD, Forma
New patch - "Custom new header/footer font"

This patch allows you to change font-family and/or font-size in the new header/footer. They will automatically be a matched pair.

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 in Book title and Chapter name.

It can also be used by anyone who wants to change the cosmetic appearance of each book page.

This patch and patch Reduce new header/footer height should cover all the options which used to be available in the old patch Custom reading footer style.

Users who would also like to see their header/footer not forced to UPPERCASE should look for new patch Don't uppercase header/footer text.

Part 1: Customise font-family

Part 2:
  • 2a. Customise font-size (by model)
  • 2b. Fine-tune header/footer vertical positions (all models)
    e.g. to avoid the footer text cutting the bottom progressbar.
    This option is most likely to be needed if you have used patch
    Reduce new header/footer height
    to aggressively reduce header/footer height, see images 3,4 below.

N.B:
  • If you customise any font-family and after install/reboot you still do not see the new font being used in the header/footer, 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.
    - in 1. set font to sideloaded Trebuchet and set text colour to mid-grey so it fades into the background more.
    - in 2a. increase font-size
  • Image 3: Shows the same book patched as in Image 2 but additionally patched with Reduce new header/footer height set to aggressively reduce height by 60%.
    Note how the footer text now cuts the progressbar.
  • Image 4: Shows the same book as Image 3 plus this patch's optional extra
    - in 2b. Fine-tune header/footer vertical positions.
    Note how the footer text no longer cuts the progressbar and how the header has moved slightly away from the top bezel.
  • Image 5: Shows an unpatched Kobo with a book with Book title and Chapter name containing Cyrillic characters.
    Note how poor Avenir and the fallback font are for this Kobo-non-supported language.
  • Image 6: Shows the same book after patching using the same customisation as Image 2.
    Note that customising to use the sideloaded Trebuchet font now displays Cyrillic better.
Attached Thumbnails
Click image for larger version

Name:	hfimage1_unpatched_eng.png
Views:	526
Size:	176.8 KB
ID:	173875   Click image for larger version

Name:	hfimage2_patched_eng.png
Views:	515
Size:	192.5 KB
ID:	173876   Click image for larger version

Name:	hfimage3_ftrcut.png
Views:	499
Size:	200.2 KB
ID:	173877   Click image for larger version

Name:	hfimage4_finetune.png
Views:	525
Size:	201.2 KB
ID:	173878   Click image for larger version

Name:	hfimage5_unpatched_cyr.png
Views:	444
Size:	153.2 KB
ID:	173879   Click image for larger version

Name:	hfimage6_patched_cyr.png
Views:	437
Size:	162.6 KB
ID:	173880  

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