I'm just discovering that Sigil is the best tool for embedding fonts, but I have a problem. I can't seem to embed more than one font and I would like to have one font for chapter headings and one font for text. here is how I'm doing it. In the stylesheet.css I use this:
Code:
@font-face
{
font-family: "Davida Bd BT";
src: url("Davida.ttf");
}
@font-face
{
font-family: "High Tower Text";
src: url("HTOWERI.TTF");
}
In .calibre4 and .calibre6 I use font-family: Davida etc...
The Davida is for chapter headings and it shows up fine. The Hitower is for the body and it doesn't show up. I had premonition that something was wrong because the color of the first @fontface is blue and the second is red. Sure enough when I examined one of the html files the chapter headings were correct but the body isn't. Now I read somewhere that IE does not allow a second @fontface(less power to them!) but it shouldn't matter since this is for an epub and I use FF on my linux machine anyway. I also use Calibre of course.
Could someone help me get this straight?
Thanks,
Paul