Quote:
Originally Posted by geek1011
Is this a customized version of the patch? I was able to apply the patch successfully as-is and with the extras uncommented.
|
I put this version of the patch on 4.18.13737 and worked:
- FindZlib: "ReadingFooter"
- ReplaceZlibGroup:
Replacements:
# Part 1. Customise font-family (built-in or sideloaded font)
# Please see notes at
#
https://www.mobileread.com/forums/sh...90&postcount=2
# for general considerations whenever you change font-family in the Kobo GUI
# #caption[newHeader=true] and #caption[newFooter=true]
# N.B: If new font-family contains spaces wrap in 'single quotes', e.g. 'Kobo Nickel'
# Un-comment and edit replacement font-family to change header/footer font
- {Find: "font-family: Avenir;", Replace: "font-family:Bookerly; font-weight:normal; color:#444;"}
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:
# 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"}
Edit 2:
This is the answer from jackie_w
https://www.mobileread.com/forums/sh...5&postcount=17