View Single Post
Old 02-16-2013, 04:01 AM   #1
ADelm
Junior Member
ADelm began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Feb 2013
Location: Belgium
Device: none - calibre on Windows
Inverse behaviour of fonts

Hi!

I did define in the stylesheet a font like this (example for p):
p
{
margin:0pt;
text-indent:1.5em;
text-align: justify;
font-family: "Rokwell",serif;
font-size: 1.00em;
widows: 2;
orphans: 2;
}
In another book I did suppress the font-family line.
I didn't define a @font-face.

I Calibre and in FBreader (under Windows 7) I defined the default font for serif as Rokwell. (I do have Rokwell on my computer)
The book with the defined font-family appears as sans-serif and the one without definition appears with Rokwell.
But in both cases, italics are sans-serif!

Any suggestion?

Should there always be an "src: url..." line in the definition of a @font-face

Thanks,

Alain
ADelm is offline   Reply With Quote