Quote:
Originally Posted by yolan
I have this style.css file in my /database/system/PRSPlus/epub folder, and the referred TTF fonts in the /fonts directory.... but nothing happens!! All my epubs look just the same as before
|
My style.css file is almost identical to yours and it works for every epub book I open including drm'd books that I have purchased.
1. Is the /fonts/ directory all lower case?
2. Does it make a difference that Verdana is a sans-serif font and you have the generic family as serif in the css file?
3. I thought maybe the 505 default font might be similar to verdana but the default is Bitstream's Dutch 801 Roman BT which is a serif font and not easily mistaken for verdana.
Sorry I couldn't be more help.
Code:
@font-face {
font-family: "Fontin";
font-weight: normal;
font-style: normal;
src: url(res:///Data/fonts/Fontin-Regular.ttf);
}
@font-face {
font-family: "Fontin";
font-weight: bold;
font-style: normal;
src: url(res:///Data/fonts/Fontin-Bold.ttf);
}
@font-face {
font-family: "Fontin";
font-weight: normal;
font-style: italic;
src: url(res:///Data/fonts/Fontin-Italic.ttf);
}
body {
font-family: "Fontin", serif;
widows: 0;
orphans: 0;
}
p
{
text-indent:1.1em;
}