Quote:
Originally Posted by DNSB
You should not change the @font-face declarations. Only in the body of the CSS. If the font is being used as the body font, I just place it in the body declaration.
Code:
@font-face {
font-family: 'Charis SIL';
font-weight: normal;
font-style: normal;
src: url('../Fonts/CharisSILR.ttf');
}
@font-face {
font-family: 'Charis SIL';
font-weight: normal;
font-style: italic;
src: url('../Fonts/CharisSILI.ttf');
}
@font-face {
font-family: 'Charis SIL';
font-weight: bold;
font-style: normal;
src: url('../Fonts/CharisSILB.ttf');
}
@font-face {
font-family: 'Charis SIL';
font-weight: bold;
font-style: italic;
src: url('../Fonts/CharisSILBI.ttf');
}
body {
display: block;
font-family: "Charis SIL", serif;
font-size: 1em;
margin: 0 0 0 0;
padding: 0 0 0 0;
text-indent: 0;
widows: 1;
orphans: 1;
}
|
I'm not sure I fully understand what to do with that (my error, I don't understand CSS coding/formatting). As far as I can tell there is nothing that says '@Font-Face' in any of the book files for this book/series, but I genuinely don't understand CSS and the formatting so I could be missing something obvious.
Everything I did the find/change for font-family was labelled either 'style' or 'justify'.
EDIT my bad, I see that there is @font-face in page_styles.css, I totally missed that. Here's what it looks like:
Code:
@page {
margin-bottom: 5pt;
margin-top: 5pt
}
@font-face {
font-family: "oppjfhltckennerleypro";
src: url(fonts/00001.otf)
}
@font-face {
font-family: "oppjfiltckennerleyproitalic";
src: url(fonts/00002.otf)
}