View Single Post
Old 10-27-2012, 06:46 PM   #62
jackie_w
Wizard
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 2,905
Karma: 4329385
Join Date: Sep 2009
Location: UK
Device: Sony PRS-350, PB360, Kobo Glo/AuraHD/Aura6"/AuraH2O
@EbokJunkie,

I don't know about the newer PB models but this userStyle1.css gives me my chosen font (Charis) on my PB360 (original) with the hacked ADE version of fw15.2, even if there is a different embedded font.

Code:
@font-face {font-family: serif; font-weight: normal; font-style: normal; src: url(res:///mnt/ext1/system/fonts/CharisSIL-Regular.ttf)}
@font-face {font-family: serif; font-weight: normal; font-style: italic; src: url(res:///mnt/ext1/system/fonts/CharisSIL-Italic.ttf)}
@font-face {font-family: serif; font-weight: bold; font-style: normal; src: url(res:///mnt/ext1/system/fonts/CharisSIL-Bold.ttf)}
@font-face {font-family: serif; font-weight: bold; font-style: italic; src: url(res:///mnt/ext1/system/fonts/CharisSIL-BoldItalic.ttf)}

body, body.book, body.text, body.calibre, body.calibre1, body.calibre2, body.calibre3, body.calibre4  {
    font-family: serif;
    line-height: 1.2;
    widows: 0; orphans: 0;
    margin-left: 5pt; margin-right: 5pt;
    font-size: 1em
    }
The red bits are important. You can leave out the line-height/widows/orphans/margins/font-size lines if you do not want to override what is already in the epub css.
jackie_w is offline   Reply With Quote