View Single Post
Old 03-11-2015, 06:17 PM   #7
jackie_w
Grand Sorcerer
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: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by Jasmine GreenTea View Post
Well, I'm stuck! Either I can have all the reader's system fonts but no Gentium, OR I have Gentium and no other font! And what I need is BOTH!
I don't have my Sony T1 anymore to test it but I think this may work...

In the epub css sheet, change
Code:
.calibre {
display: block;
font-family: "Gentium";}
to
Code:
body {
display: block;
font-family: "Gentium";}
and make sure there are no other font-family settings anywhere else in the css.

Then, when you set the Sony's font menu to Default (Original) you should see Gentium, but if you choose one of the built-in sans-serif fonts (such as Frutiger) you should see that instead.

Just FYI, as far as I remember, hard-coding the Sony built-in font names in the epub css file will have no effect at all on a Sony, that's not how font-changing works.

ETA: If that doesn't work, post the @font-face statements you're using in this epub.

Last edited by jackie_w; 03-11-2015 at 06:22 PM.
jackie_w is offline   Reply With Quote