Quote:
Originally Posted by Rand Brittain
I'm making an ePub using the Vollkorn font, and I wound up deciding to use the semi-bold version instead of the bold version for my <strong> text, so I made my @font-face declarations as usual.
However, Calibre is throwing up an error because the proper font-family name for the semi-bold fonts is "Vollkorn Semi-Bold".
This is probably a very minor problem but I do want to get it cleared up.
What's the best practices way to declare all these fonts and tell the <body> to use them to get rid of the error?
|
The error message is correct. If you look at the font, the font-family name is Volkorn SemiBold. To modify this, you can edit the font family name. I used FontForge but there are several other free options. See the attached epub which calibre seems to be happy with. Oddly, calibre internal check is the only one I've run into that complains about the internal font family not matching. EpubCheck does not seem to care.