|
The CSS is currently back to
blog {
font-family: monospace;
}
Monospace shows in the font list, but not as embedded. If I try to embed it, Calibre claims there are no embeddable fonts.
The courierprime fonts that I put in this ebook before have been removed, so then there were no font files at all.
Since that didn't work, I tried adding courier.ttf (and italic and bold) to the ebook, and set
.blog {
font-family: Courier;
}
At that point Courier showed as an embedded font. But opening up the ebook...still nothing. It's displaying as normal text unless I put publisher font on, or select courier as a font option.
The font-faces are thus
@font-face {
src: url(..Fonts/Courier.ttf);
font-family: "Courier";
font-weight: normal;
font-style: normal;
font-stretch: normal;
}
@font-face {
src: url(..Fonts/Courier-Bold.ttf);
font-family: "Courier";
font-weight: normal;
font-style: bold;
font-stretch: normal;
}
@font-face {
src: url(...fonts/courier-italic.ttf);
font-family: "Courier";
font-weight: normal;
font-style: italic;
font-stretch: normal;
}
It looks perfect in the Calibre Editor and Viewer, but not on the Kobo, still.
|