Quote:
Originally Posted by Vetchy
Can I apply your patch with custom fonts which uploaded to book in FONTS folder?
|
Sort answer - yes.
Longer answer - re-read carefully JSWolf's query in post #328 and my detailed response in post #329,
especially the ETA in the second half.
The only other info you might need for a sideloaded font is if your new font-family name contains spaces, in which case you would need to wrap the new name in single-quotes, something like:
Code:
- {Find: "font-family: Avenir;", Replace: "font-family:'My Custom Fontname';"}
The longer the new name is, the more likely running kobopatch will throw a 'too long' error. So, you might need to use the trick, documented in post #329, to free some space by removing some of the Japanese (and/or Chinese) specific CSS not required on your own Kobo.
The patch I posted was only meant to be quick-and-dirty to let you use Georgia instead of Avenir. If/when I complete the official version it will have more help comments in the patch code.