Thread: EPUB output
View Single Post
Old 11-10-2008, 07:43 PM   #267
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,427
Karma: 27757236
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by thawk View Post
A more specific style may has higher priority than the style specified in --override-css. For example, ".myfont {font-family:...}" has higher priority than a --override-css "body {font-family:...}". I can't alter the font-family unless I know there's a .myfont class, and override the style for myfont class.

If html2epub can filter out the font-family property, the font-family specified in --override-css will always be used without exception.
html2epub doesn't filter CSS rules. However, it will eventually support embedded fonts, which should do what you need.
kovidgoyal is offline   Reply With Quote