I'm having a great deal of trouble embedding fonts in ePubs exported from ID CS6. I have exported this doc several times with many results, but none correct. One that had the most fonts showing correctly seems to be entirely different from the ones that are entirely wrong, showing no fonts.
The best one, I exported and opened in Sigil:
it shows 2 css stylesheets (page_styles.css and stylesheet.css)
the font dir shows fonts without their correct names. They are named 00001.otf 00002.otf and so on
the misc dir shows more fonts (they are type 1) named 00007.dat and so on
the chapter files are .html
This file is 2.7 megs
The others (bad) are also exported from IDCS6
these have 1 stylesheet named after the doc file name
the fonts have the correct font file names and are .otf and .ttf files
the chapter files are .xhtml
These files are up to 15 megs
All of these files display ok on the Sigil viewer, but the resulting epub viewed on a iPad loses the fonts. And when converted in Calibre for use on Kindle Fire fonts also go away, in fact even though the css has serif as the fallback, on the Fire the book displays in sans serif.
Any help would be greatly appreciated!!
Fonts are an extremely difficult area to deal with with EPUB files. Here's a video clip by Anne-Marie Concepcion which describes some of the issues:
You can also look at some of the articles and eBooks that Elizabeth Castro has written:
Personally, it's not an area I'm ready to get into yet.
After spending 3 or 4 days trying to make ID CS6 export an epub with embedded fonts, I believe that ID cannot do it successfully. In order to make this work, I had to export WITHOUT embedding fonts, edit the stylesheet in Sigil to include all the font-face listings and add the fonts to the fonts dir. The resulting file seems to be just fine.
It probably is something that the folks at Adobe should try to fix. OR erase the embed fonts button in the export to ePub dialog