@ElsieC,
Yes, but don't set your PRS+ css font-size in point units (15pt), use em units (1.25em) or percentages (125%) instead. If you use point sizes you'll find your Sony zoom button no longer has any effect. Ems and %s are scaleable -- pts (and also pixels, px, I think) are fixed.
Quote:
Originally Posted by Belfaborac
Same question as ElsieC here. Could you perhaps paste in an example of a css-script jackie_w?
|
This is a simple one to display epub in font CharisSIL, with font-size 0.85em and line spacing of 1.2. Tweak to suit.
Code:
@font-face { font-family: serif; font-weight: normal; font-style: normal; src: url(res:///Data/fonts/CharisSILR.ttf);}
@font-face { font-family: serif; font-weight: normal; font-style: italic; src: url(res:///Data/fonts/CharisSILI.ttf);}
@font-face { font-family: serif; font-weight: bold; font-style: normal; src: url(res:///Data/fonts/CharisSILB.ttf);}
@font-face { font-family: serif; font-weight: bold; font-style: italic; src: url(res:///Data/fonts/CharisSILBI.ttf);}
body, body.calibre, body.calibre1, body.calibre2, body.calibre3, body.book {
font-family: serif;
font-size: 0.85em;
line-height: 1.2}
Caveat: Please be aware that sooner or later you will come across an epub whose own css file will stop your PRS+ css files working properly. So don't be discouraged if it happens to be the first one you try (Sod's Law
). Try a few more. The problem usually boils down to the fact that the epub internal css file also contains one or more conflicting
font-family: settings. The problem epub can be fixed by manually editing its css file and removing these offending font-family settings.