View Single Post
Old 01-11-2011, 12:14 PM   #18
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,257
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
@oddman5,

Try the following:
  1. For each occurrence, in the first 4 @font-faces, of
    Code:
    font-family: -ua-default;
    replace with
    Code:
    font-family: "Arial", serif, sans-serif;
  2. Unless you particularly want your level-1 headings (<h1>) styled with the font tt0003m_.ttf rather than Arial you can remove the last 2 items
    Code:
    @font-face {
    font-family: "sans-serif1";
    src:url(res:///opt/sony/ebook/FONT/tt0003m_.ttf);
    }
    
    h1 {
    font-family: sans-serif1, sans-serif;
    }
  3. Add this extra item after the final @font-face
    Code:
    body {font-family: "Arial", serif, sans-serif;}

It's a bit "belt and braces" but this userStyle.css may handle some epubs that the original didn't.

If it still doesn't work, I'd need to see some of the particular epub which doesn't work.
jackie_w is offline   Reply With Quote