Thread: PRS-T1 Modified Sony home screen
View Single Post
Old 08-18-2012, 09:56 AM   #437
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,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
@snarkophilus,

Firstly, if you think you may have a lot of epubs whose own css is full of font-family:"Times New Roman" statements I think you could take some global evasive action in the 6/7 css files by replacing all the
Code:
@font-face{font-family: serif; ...}
lines with
Code:
@font-face{font-family: "Times New Roman", serif; ...}

Secondly, re: choosing not to override embedded fonts. You could remove all font-family references from the default.css file and read your book with font set to 'Original'. The embedded fonts should be used.

Based on your initial post of your default.css file this would leave
Code:
@page {
        margin-top: 5pt;
        margin-bottom: 0;
        margin-left: 2pt;
        margin-right: 2pt;
}

body, body.book, body.text, body.calibre, body.calibre1, body.calibre2, body.calibre3, body.calibre4 {
    /* font-family: serif */
    margin-left: 0; margin-right: 0;
    text-align: justify;
}
If you did this you would have to put a full set of @font-faces in all of the 6 css files because nothing would 'drop through' from default.css. Similarly, you would also need to include a
Code:
body, body.book, body.text, body.calibre, body.calibre1, body.calibre2, body.calibre3, body.calibre4 {
    font-family: serif}
in each of the 6 css files.
jackie_w is offline