Thread: EPUB output
View Single Post
Old 05-04-2010, 02:40 PM   #677
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,494
Karma: 28005164
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Important part is "should". No guarantees, when it comes to that, I'm afraid. The difficulty of just applying css and having it override pre existing styles is one of the reasons that I haven't yet written font embedding for EPUB yet.

Basically, to do it, I have to go through all the css, remove font-family definitions and replace them with user specified ones. Then there is the problem of figuring out when a font-family should be left alone and when it should be replaced.
kovidgoyal is offline   Reply With Quote