Well, here are some font refs that validate:
Quote:
<item id="BNKGOTHM.TTF" href="Fonts/BNKGOTHM.TTF" media-type="application/x-font-truetype"/>
<item id="BRUSHSCI.TTF" href="Fonts/BRUSHSCI.TTF" media-type="application/x-font-truetype"/>
<item id="HANSON-H.TTF" href="Fonts/HANSON-H.TTF" media-type="application/x-font-truetype"/>
<item id="SCHWRZW.TTF" href="Fonts/SCHWRZW.TTF" media-type="application/x-font-truetype"/>
<item id="TrajanPro-Bold.otf" href="Fonts/TrajanPro-Bold.otf" media-type="application/x-font-opentype"/>
<item id="TrajanPro-Regular.otf" href="Fonts/TrajanPro-Regular.otf" media-type="application/x-font-opentype"/>
<item id="Vivaldii.TTF" href="Fonts/Vivaldii.TTF" media-type="application/x-font-truetype"/>
|
This is with the Fonts directory and the opf file both immediately inside the OEBPS directory.
And here is a font declaration in the stylesheet:
Quote:
@font-face {
font-family: "Vivaldi";
font-style: normal;
font-weight: normal;
src:url(../Fonts/Vivaldii.TTF) format(truetype);;
}
|
Note that the stylesheet is inside a directory within the OEBPS directory, so the url is relative to the current directory. I think that is correct, but I'll do more checking soon.
And here is a class reference for the font:
Quote:
{
font-family: "Vivaldi", cursive
}
|
Note the fallback to cursive if Vivaldi is unavailable.
I hope this helps.