View Single Post
Old 02-08-2025, 02:13 PM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 79,960
Karma: 146918083
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by C4thie View Post
BUT!

I'm wondering about one more thing. Fonts. Those provided by publishers often do not suit me and I prefer to use fonts available on my Kindle.
How to get rid of them safely? Without accidentally damaging the ebook?

As I see, when converting, there's option "fonts" in styling tab. However even when I use it, when I edit ebook (after converting), then I see that fonts wasn't removed. It only removes "font-family" from some css, but not all. However maybe it's enough?
Btw, when I edit book, there's also "Manage fonts" and option to "remove selected fonts" and it actually works - it removes all embeded fonts. But is it safe to do it this way?

Which option should I use? Or maybe both are fine?
I deal with fonts manually. I delete the font for the mail text. I'll use the one I prefer. If any of the other fonts are a sans-serif font, I'll remove them and change the font-family to font-family: sans-serif;. If any of the other embedded fonts are a series font, they go without the need for another font to take their place. If any fonts are specialized such as a handwriting font, I'll keep it.

In the CSS, for the fonts I'm deleting, I remove the @font-family and the font-family for those fonts. If there are classes in the CSS that are just for changing the font and I've dumped the font, I'll delete the entire class.

I will also remove unused classes in both the HTML and CSS. Also, when I am done editing the eBook, I will also subset the fonts if there are any remaining.
JSWolf is offline   Reply With Quote