I've spent that last couple of days groping around trying to embed DejaVuSans.ttf font into an ebook I'm preparing which uses the full range of Greek characters - including those with accents and diacretics - and has some of the English and Greek Words italicised. So far I can get the full range of Greek characters to show on my Sony PRS T1, Kindle3 (after converting with calibre), and iPad/iBooks.
But though the italics show on the Kindle and iPad they don't show on the Sony.
I'm using the CSS below:
@font-face {
font-family: 'DejaVuSans';
src: url(Fonts/DejaVuSans.ttf);
}
body {
margin: 0; padding: 0; border-width: 0;
font-size: 95%;
text-align: justify;
line-height: 120%;
font-family

ejaVuSans; DejaVuSans-Oblique;
}
with
<item href="Fonts/DejaVuSans.ttf" id="DejaVuSans.ttf" media-type="application/x-font-ttf" />
in the content.opf file.
If I add
@font-face {
font-family: 'DejaVuSans';
src: url(Fonts/DejaVuSans-Oblique.ttf);
}
to the stylesheet file and
<item href="Fonts/DejaVuSans-Oblique.ttf" id="DejaVuSans-Oblique.ttf" media-type="application/x-font-ttf" />
to the content.opf file
all the text is italicised on the Sony, not just those parts around which I've put <i></i> tags.
What am I doing wrong? Is there a font I can embed which does not need a
an italicised font to be embedded? And why do the <i></i> tags work in mobi and on the iPad but not on the Sony?
Edit: I've no idea why the big grin smilie shows above - I certainly didn't put it there.