Quote:
Originally Posted by sparklemotion
I embedded fonts into a couple books on my PW2 in calibre and it came out great. However, I'm now trying to play around and use a different font (charis) on a third book and for some odd reason when I embed it, and then choose publisher font, the font isn't charis, but instead it's helvetica.
Any ideas what could be causing this? I can't seem to get the proper font to embed for this one book.
|
I see that a lot when I try to view the publisher/embedded font on the iOS apps, but rarely on the PW2. I don't use calibre to make conversions so I cannot say for sure. But if you use Sigil to modify an ePub, then the CSS has to resemble this:
Code:
@font-face {
font-family: "CaeciliaHeavy";
font-weight: normal;
font-style: normal;
src: url("../Fonts/Caecilia-Bold.otf");
}
@font-face {
font-family: "CaeciliaHeavy";
font-weight: normal;
font-style: italic;
src: url("../Fonts/Caecilia-BoldItalic.otf");
}
@font-face {
font-family: "CaeciliaHeavy";
font-weight: bold;
font-style: normal;
src: url("../Fonts/Caecilia-Heavy.otf");
}
@font-face {
font-family: "CaeciliaHeavy";
font-weight: bold;
font-style: italic;
src: url("../Fonts/Caecilia-HeavyItalic.otf");
}
body {
font-family: "CaeciliaHeavy";
}