Quote:
Originally Posted by Carmelocotonto
This idea was on mobileread (I don't remember who is the origen but I can look for it).
Edit: In version 4.18.13737 existed these lines:
Code:
# Don't change anything below. It exists to free up some space for
# your changes above by removing Japanese/Chinese-specific CSS code blocks
# so that kobopatch will run without giving some kind of 'too long' error message.
- {Find: "#caption[localeName=\"ja\"] {\n font-family: Sans-SerifJP, sans-serif;\n font-style: normal;\n}", Replace: "\n"}
- {Find: "#caption[localeName=\"zh\"] {\n font-family: Sans-SerifZH-Traditional, sans-serif;\n font-style: normal;\n}", Replace: "\n"}
- {Find: "#caption[localeName=\"zh-HK\"] {\n font-family: Sans-SerifZH-Traditional, sans-serif;\n font-style: normal;\n}", Replace: "\n"}
- {Find: "#caption[localeName=\"zh-TW\"] {\n font-family: Sans-SerifZH-Traditional, sans-serif;\n font-style: normal;\n}", Replace: "\n"}
|
In fw 4.19 Kobo changed something to do with the default font for one of the Chinese locales.
See the line in red. Try changing it to (with the correct indentation)
Code:
- {Find: "#caption[localeName=\"zh\"] {\n font-family: Sans-SerifZH-Simplified, sans-serif;\n font-style: normal;\n}", Replace: "\n"}
and try again. Or, alternatively, just comment out this line.
I haven't had time to test geek1011's changes to this patch yet. If the above doesn't work I'll have better info when I've done my own testing.
ETA: Testing done. 'Custom new header/footer font' patch corrected on geek1011's GitHub site for next release.