Quote:
Originally Posted by kovidgoyal
Because unlike most other css rules, @fontface rules apply globally, not via a selector. Therefore they can, in principle, be different for every HTML file.
|
Many thanks, Kovid.
I may be wrong, but when you have only one css applied to an epub, all these declarations apply to every html/xhtml file. Unless, of course, you have inline declarations, which will have higher specificity.
I'm aware that there can be several css files in a epub - especially in omnibus editions - and that several font declarations may apply to the different titles contained in an epub.
But...when those fonts no longer exist because they have been removed before the conversion, wouldn't it make sense to remove the declarations altogether?