CSS Help Please
Ok, so I have PRS+ installed on my Sony readers. Below is an example CSS file for one of the fonts that I installed. The problem is that, regardless of what I set line height to, nothing at all seems to actually change with regards to line height. I've tinkered with making it huge (just to see if it changes anything) and tiny, and nothing changes. Can anyone help?
Could it be that, in Calibre, when I convert to Epub, in "Look and Feel" I have Base Font Size set to 11.5pt and Line Height set to 13 pt? Is the CSS unable to override this? Is there any way around this without having to reconvert the thousands of books in my library?
@font-face {
font-family: "Vollkorn";
font-weight: normal;
font-style: normal;
src: url(res:///Data/fonts/Vollkorn-Regular.ttf);
}
@font-face {
font-family: "Vollkorn";
font-weight: bold;
font-style: normal;
src: url(res:///Data/fonts/Vollkorn-Bold.ttf);
}
@font-face {
font-family: "Vollkorn";
font-weight: normal;
font-style: italic;
src: url(res:///Data/fonts/Vollkorn-Italic.ttf);
}
@font-face {
font-family: "Vollkorn";
font-weight: bold;
font-style: italic;
src: url(res:///Data/fonts/Vollkorn-BoldItalic.ttf);
}
body {
font-family: "Vollkorn"; line-height: 1.9em
}
p {
line-height: 1.9em !important;
text-indent: 1.5em !important;
}
html {
font-family: Vollkorn !important;
}
.mainBody {
font-family: Vollkorn !important;
}
.calibre {
font-family: Vollkorn !important;
}
|