View Single Post
Old 09-27-2019, 09:03 AM   #335
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,257
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by Vetchy View Post
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.
jackie_w is offline   Reply With Quote