View Single Post
Old 03-03-2014, 04:43 AM   #6
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
No need. The message is correct, the stylesheet is of no use if you don't actually use it...
Remove this:
Code:
<style type="text/css">
body {
font-family:'TeXGyreCursor';
font-style:normal;
}
</style>
and put it in your stylesheet. So, that will be:

Code:
@font-face{
font-family: 'TeXGyreCursor';
font-weight: normal;
font-style: normal;
scr:url('../Fonts/texgyrecursor.otf');
}

td.data{
font-family: 'TeXGyreCursor';
vertical-align:top;
}
Link the stylesheet to the XHTML file. You can easily do that by right clicking on the file in the book browser on the left side.

Since not Sigil but Nook will ignore font settings to the body. So, use for example this in your file:
Code:
<td class="data">OLIGODENDROGLIA<br />
TACHYARRHYTHMIA<br />
...
<br /></td>
I personally don't like the <br />, but that is probably me.
Toxaris is offline   Reply With Quote