Quote:
Originally Posted by kovidgoyal
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.