View Single Post
Old 02-14-2010, 12:18 AM   #520
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by yolan View Post
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;
}
DoctorOhh is offline   Reply With Quote