View Single Post
Old 06-06-2023, 08:57 PM   #1
h_nara
Member
h_nara began at the beginning.
 
Posts: 13
Karma: 10
Join Date: May 2023
Device: Kobo Libra 2
New Kobo owner: Need help changing system font

Hi fellow readers, I discovered this forum after searching online how to make my reading experience on Kobo better.

I read in Chinese for majority of my reading and Kobo doesn't have good support for it out of the box so the first thing i did was downloading Noto Serif SC here https://fonts.google.com/noto/specimen/Noto+Serif+SC and put those under the 'fonts' folder and that enabled Chinese characters to be displayed nicely for reading books. But for the book list view, the book titles are still not displayed properly. So now I need to change the system font. Let me list out things I've tried so far:

I came across this thread first
https://www.mobileread.com/forums/sh...d.php?t=313923
which is a 'custom patch' in kobopatch, well I didn't try the exact patch but I found an existing patch for setting header/footer font-family so i tried that first, but it didn't work;
then I found this thread:
https://www.mobileread.com/forums/sh...d.php?t=323350
in the #63 summary,
https://www.mobileread.com/forums/sh...6&postcount=63
the Part 2 suggests that kobopatch patches doesn't work anymore, no wonder my first attempt didn't work.
then I saw #91 and #96, which utilizes the `files` option in kobopatch.yaml, I tried this but sadly it didn't work still, but I believe this is the way to go and maybe it's because I did set up everything correctly. Here is what I did:
1. Put the font files under src/adds/Fonts/ of kobopatch directory;
2. In kobopatch.yaml, change the `files` section to this:
## ADDITIONAL FILES ##
# Uncomment the following to add additional files to the tgz (like init scripts or hyphen dicts)
# The files will be root-owned, and world readable, writable, and executable (0777)
files:
# Fonts
src/adds/Fonts/NotoSerifSC-Black.otf: usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/Avenir-Bold.ttf
src/adds/Fonts/NotoSerifSC-Bold.otf: usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/Avenir-BoldItalic.ttf
src/adds/Fonts/NotoSerifSC-ExtraLight.otf: usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/Avenir-Italic.ttf
src/adds/Fonts/NotoSerifSC-Light.otf: usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/Avenir.ttf
src/adds/Fonts/NotoSerifSC-Medium.otf: usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/georgia.ttf
src/adds/Fonts/NotoSerifSC-Regular.otf: usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/georgiab.ttf
src/adds/Fonts/NotoSerifSC-SemiBold.otf: usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/georgiai.ttf
src/adds/Fonts/NotoSerifTC-Medium.otf: usr/local/Trolltech/QtEmbedded-4.6.2-arm/lib/fonts/georgiaz.ttf

3. and then just follow the normal kobopatch installation process, generate the .tgz file by running the script and put it under .kobo folder, etc.

I have a few questions that I think I need the answers to make this work:
Do I need to rename my font files to the same as the system default ones?
Do I need to use fontforge to 'deeply' rename the font files?

I guess I'll likely have more questions later and if anyone have good Chinese font they recommend for Kobo, I greatly appreciate it.
Attached Thumbnails
Click image for larger version

Name:	IMG_0912.jpg
Views:	535
Size:	1.04 MB
ID:	201896   Click image for larger version

Name:	IMG_0913.jpg
Views:	479
Size:	1.40 MB
ID:	201897  
h_nara is offline   Reply With Quote