Quote:
Originally Posted by Nightjar
Ok, after quite a long time I still haven't found a solution, so I have made a sample template based on the Epub3 standard template we created from scratch. It is 100% valid with both EPUBCheck 5.0.0 and Ace by DAISY. CSS3 is also valid, with the exception of a minor sets of hyphens warnings.
Our pre-publication tests usually include checking ebooks with:
* Adobe Digital Editions v.4.5.11
* Apple iPad
* Apple Books (macOS)
* Kindle Paperwhite 2022
* Kindle Fire HD 7"
* Samsung Galaxy Tab 3
This is the current situation:
ePub3 -> SendtoKindle -> Kindle reader: Publisher fonts missing (although the reader reports them as active)
ePub3 -> Sideload via USB -> Kindle reader (documents folder): File not recognized
KP3 generated mobi (.mobi+.azw3) -> SendtoKindle -> Kindle reader: Publisher fonts missing (although the reader reports them as active)
KP3 generated mobi (.mobi+.azw3) -> Sideload via USB -> Kindle reader: Publisher fonts OK
All other non-Kindle readers are working 100%, displaying content with the correct custom fonts.
It seems that the only way to get a Kindle reader recognize our custom fonts is to create a .mobi+.azw3 package through Kindle Previewer 3 and to upload this file via USB.
So, there seems to be no way to send an ePub3 file to any Kindle reader while retaining the custom fonts, as it seems they are being stripped out using SendtoKindle or the file can't be recognized if sideloaded.
Any help would be greatly appreciated. I enclose my sample ePub3 file.
Thanks!
|
Looking at your code, it really needs fixing. It's not ePub 2 compatible. The formatting is quote poor when viewed with a program that doesn't know ePub 3 such as ADE 2.0.1. So for any program that doesn't deal with ePub 3, this sample is not going to work well. It's going to work very poorly. Thinks you can do is fix the cover so it displays properly, fix the large image so it displays properly, do not use <figure> and use <div> instead so your class works. Also, don't use <sectio>n with a class, again, use <div>.
Don't use rem, use em. Don't use px. Use em. For width, don't use calc. Don't use justify-content, use text-align.Don't use display: flex;. Just get rid of it. don't use vh. Use %.
Download and install ADE 2.0.1 and use that to test your code as that version does not know ePub 3. That way you can see what your code does and doesn't do. For now, your code is no good for ePub 2 compatibility.