View Single Post
Old 12-10-2009, 04:10 PM   #19
omro
Addict
omro ought to be getting tired of karma fortunes by now.omro ought to be getting tired of karma fortunes by now.omro ought to be getting tired of karma fortunes by now.omro ought to be getting tired of karma fortunes by now.omro ought to be getting tired of karma fortunes by now.omro ought to be getting tired of karma fortunes by now.omro ought to be getting tired of karma fortunes by now.omro ought to be getting tired of karma fortunes by now.omro ought to be getting tired of karma fortunes by now.omro ought to be getting tired of karma fortunes by now.omro ought to be getting tired of karma fortunes by now.
 
Posts: 375
Karma: 452000
Join Date: Nov 2008
Location: Hamilton, On
Device: Kobo Aura HD
Quote:
Originally Posted by wallcraft View Post
Calibre can do this via its --extra-css option, but only for DRM-free ePubs, see Fonts and Epub - What works on Sony, Works for Pocket Pro too! The extra CSS you need is identical to userStyle.css, and like userStyle.css you can refer to local fonts because you know they are in the right folder (because you put them there) - there is no need to embed the fonts in each ePub.

I have not looked to see if .css files are typically encrypted in DRMed ePubs. If not, then it might be possible to write a simple utility to add a userStyle.css to any existing ePub.
and this works on a feedbooks.com epub which seems to be full of css files which is why I couldn't make the font change stick
omro is offline   Reply With Quote