View Single Post
Old 01-29-2010, 12:40 AM   #7
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 porkupan View Post
Like this? The trouble with this approach is that you won't have italics or bold. To get those you need to have italic or bold fonts in the reader.
My ignorance knows no bounds, so the following may not apply. I have a 505 and currently use PRSplus. PRSplus has allowed me to place fonts and a style.css file on my reader. I have placed the free fontin fonts on my reader and my css is:

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
}

/* 
   To increase ePub font size Remove rem slashes 
   surrounding the paragraph and division statements below. 
   Then adjust percentage higher, try 110% to start.
*/

/*
p {font-size:110%}

div {font-size:110%}
*/

/* 
   To increase ePub line height Remove rem slashes 
   surrounding the paragraph and division statements below. 
   Then adjust percentage higher, try 110% to start.
*/

/*

p {line-height: 110%}

div {line-height: 110%}

*/
This setup causes all epub files (including DRM'd) I read to use this font. It obviously doesn't mimic lrf files but it is how I have set my reader up. I think this setup would work with any fonts I chose.

Last edited by DoctorOhh; 01-29-2010 at 12:44 AM.
DoctorOhh is offline   Reply With Quote