Thanks.
I've followed these instructions for adding a font to an epub in Sigil:
http://web.sigil.googlecode.com/git/...bed_fonts.html
I've added the font using Sigil (option 'add from existing file' when right clicking on Fonts on the left pannel).
I have defined the font in the stylesheet "style001.css" as indicated, eg:
/* normal case */
@font-face {
font-family: 'DejaVuSans';
src: local(‘☺’), url('../Fonts/DejaVuSans.ttf') format('truetype');
}
And I have defined a class for that font in the stylesheet:
.deja
{
font-family: 'DejaVuSans', sans-serif;
font-weight: normal;
font-style: normal;
}
Each html page of the epub is linked to the stylesheet with:
<head>
<link href="../Styles/style001.css" rel="stylesheet" type="text/css"/>
<title></title>
</head>
I invoke the class deja in the body:
<span class="deja">∃</span>
Indeed, I just want to use the font for the mathematical symbols, not for the rest of the text.
But when I check my epub for W3C compliancy in Sigil, it keeps telling me that the font is unused.
What should I do?
I've looked at many pages by googling, but I don't understand what I'm doing wrong, and nothing is detailed enough to help me on this particular issue.