View Single Post
Old 01-10-2010, 05:31 PM   #134
daffy4u
I'm Super Kindle-icious
daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.
 
daffy4u's Avatar
 
Posts: 6,734
Karma: 2434103
Join Date: Apr 2008
Location: Long Drive, Calinadia Candafornia
Device: KDXG, KT, Oasis
I finally figured out how make the font substitution work with PRSPlus so that I don't have to go through Calibre to embed the font.

Per the PRSPlus site.

Code:
(path to custom css is: internal memory /database/system/PRSPlus/epub/style.css)
I already had my fontin css file saved as a txt file. I just renamed a copy as "style.css" and droped it in the PRSPlus/epub/ folder. I already had a fonts folder per Zelada's instructions. I then downloaded a book from Feedbooks and moved it directly onto the 505 without every opening Calibre. It worked!

Now does anyone know how I would add the border parameter to my css file?

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);
}

@font-face {
  font-family: "Fontin Sans";
  font-weight: bold;
  font-style: italic;
  src: url(res:///Data/fonts/Fontin_Sans_BI.otf);
}

body {
  font-family: "Fontin", serif;
}
Attached Thumbnails
Click image for larger version

Name:	books folder.PNG
Views:	235
Size:	17.2 KB
ID:	43110   Click image for larger version

Name:	font folder.PNG
Views:	226
Size:	10.6 KB
ID:	43111   Click image for larger version

Name:	css file.PNG
Views:	250
Size:	10.0 KB
ID:	43112   Click image for larger version

Name:	2010-1-10.jpg
Views:	279
Size:	80.8 KB
ID:	43113  
daffy4u is offline   Reply With Quote