Thread: EPUB output
View Single Post
Old 11-10-2008, 07:24 PM   #265
thawk
Connoisseur
thawk began at the beginning.
 
Posts: 57
Karma: 10
Join Date: Oct 2008
Device: prs 505
Quote:
Originally Posted by kovidgoyal View Post
Well I've fixed that --override-css now has second highest priority behind <style title="override_css"> elements in the html file
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.
thawk is offline   Reply With Quote