Quote:
Originally Posted by abecedarian
No, I'm not assuming that it's the font itself, I just said that it might be font-related, that somehow it has something to do with the font. Still I have to say that I don't quite understand what you mean by how the font is embedded. What I do when I embed a font is I upload the fonts to the Fonts folder in the book and then I declare them in the css file. I always thought that's the only way to do it correctly, but I'm very much open to learning how to do it differently if that will get rid of the annoying split lines issue.
The way I declare the font in the css file is like this:
@font-face {
font-family: "Charis SIL";
src: url(../Fonts/CharisSILR.ttf);
font-style: normal;
font-weight: normal;
}
EPUB-Check gives the following comment:
INFO CSS-007 /OEBPS/Styles/stylesheet.css
(line 3, col 5) Font-face reference OEBPS/Fonts/CharisSILR.ttf refers to non-standard font type application/x-font-ttf.
EPUB-Check does not mark this as an error, but plainly there seems to be something unusual about this specific font declaration. Nonetheless, in other books this font and declaration only rarely lead to problems like this thread's issue.
I hope this helps to clear up the matter a little bit.
|
I agree, as I mentioned earlier, that this is a bizarre one. Everything you've done, to me,
looks okay.
I know that Wolfie, here on the forums, uses that Charis SIL all the time. I don't, so I don't know if there's something specific that needs to be addressed.
I have one suggestion and it's a dumb one, but...move the font URL declaration (src:url...) to the end of the @font-face declaration in the CSS sheet.
Try that and see if it helps. I know, I know, it's
dumb as hell, but I've had stupider ideas that worked.
Hitch