View Single Post
Old 03-01-2011, 05:29 PM   #7
elemenoP
Wizard
elemenoP ought to be getting tired of karma fortunes by now.elemenoP ought to be getting tired of karma fortunes by now.elemenoP ought to be getting tired of karma fortunes by now.elemenoP ought to be getting tired of karma fortunes by now.elemenoP ought to be getting tired of karma fortunes by now.elemenoP ought to be getting tired of karma fortunes by now.elemenoP ought to be getting tired of karma fortunes by now.elemenoP ought to be getting tired of karma fortunes by now.elemenoP ought to be getting tired of karma fortunes by now.elemenoP ought to be getting tired of karma fortunes by now.elemenoP ought to be getting tired of karma fortunes by now.
 
Posts: 1,717
Karma: 3790058
Join Date: Oct 2010
Location: NYC
Device: Kindle Paperwhite, Sony 650
As I recall, my regular "blanket" settings took care of such problems. This is what I have used on one such book:

@font-face {
font-family: "Charis";
font-weight: normal;
font-style: normal;
src: url(res:///Data/fonts/CharisSILR.ttf);
}
@font-face {
font-family: "Charis";
font-weight: bold;
font-style: normal;
src: url(res:///Data/fonts/CharisSILB.ttf);
}
@font-face {
font-family: "Charis";
font-weight: normal;
font-style: italic;
src: url(res:///Data/fonts/CharisSILI.ttf);
}
@font-face {
font-family: "Charis";
font-weight: bold;
font-style: italic;
src: url(res:///Data/fonts/CharisSILBI.ttf);
}
body {
font-family: "Charis";
text-align:justify;
font-size: medium;
line-height: 1.2em;
margin-top: 1em;
margin-left: 1em;
margin-right: 1em;
}

It is all standard stuff. (I have the Charis font loaded on my reader.) If that doesn't work, you will need to explode the epub and look for the offending stylesheet name. I've never had to go that, so I won't be any help, but I'm certain some smartie on here will be.

In addition to margins, I have also seen a different text size on the first page of a chapter. My stylesheet above somehow wiped that out too.

eP
elemenoP is offline   Reply With Quote