View Single Post
Old 11-07-2010, 10:15 PM   #8
sherman
Guru
sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.sherman ought to be getting tired of karma fortunes by now.
 
Posts: 856
Karma: 2676800
Join Date: Aug 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
Guys, deleting the css file in an epub is complete overkill if you just want to remove the font.

What you should do is explode the epub using calibre. edit the css file using your favorite text editor (yes, notepad will work, although I wouldn't recommend it) and search for and delete the following...

Any instances of
Code:
@font-face {
some font related styles
}
and
Code:
font-family: font-name(s);
The @font-face rules will generally be grouped together in the CSS, and you can do a simple find/replace using wildcards or regular expressions for the font-family rules.


Then rebuild the epub using calibre and you're done.

Last edited by sherman; 11-07-2010 at 10:18 PM.
sherman is offline   Reply With Quote