Quote:
Originally Posted by UrbanR
one thing I don't quite understand is the relation between (1) the font filename (2) the id it is assigned in the content.opf file (3) the "font-family" property in the CSS.
|
(1) can be anything, you can change it and it shouldn't matter, as long as you change all references.
(2) can be anything, you can change it and it shouldn't matter, as long as you change all references (and most likely there are none).
(3) can be anything, you can change it and it shouldn't matter, as long as you change all references.
So the relation is "none at all". The only caveat is that some readers want (3) to match the internal name of the font, and calibre will warn you if it doesn't. The internal name of the font is probably not the filename, and it's not obvious how to find it, because there may be a few of them. Other readers (and most web browsers) are not so picky and then the above holds.