Thread: Forma Changing system font
View Single Post
Old 05-07-2020, 07:18 AM   #15
babygau
Enthusiast
babygau began at the beginning.
 
Posts: 31
Karma: 10
Join Date: Apr 2020
Device: kobo libra h20
Quote:
Originally Posted by jackie_w View Post
Your patch states MustMatchLength: yes which means that your Find: and Replace: strings must be exactly the same length.

Based on the code you posted above:
Code:
Find:    "\n  font-family: Avenir;\n"
Replace: "font-family:Bitner;"
your Find & Replace strings (the parts between the double-quotes) are clearly NOT the same length, so correct the Replace string so that its length does match.

Alternatively you might find the thread kobopatch users & non-Kobo-supported languages useful (particularly posts #1, #2 and the summary in post #63) if you want to change the Kobo GUI fonts (Georgia and Avenir) to ones which support your language better.
thank you so much, i tried the patches you recommended and it worked! however, i have to reopen a kepub book again to have the fonts activated after every reboot.

i read another post about new `nickel menu` hack. i think if it is possible to overwrite my language supported georgia and avenir to kobo system fonts using script.

sorry i'm very new to scripting-world.
babygau is offline   Reply With Quote