Quote:
Originally Posted by morty92222
Okay, so after hours upon hours of investigation I concluded the following:
The default setup for EPUBs in Sigil is not compatible with Apple's OS, whether iOS or macOS. Noticed that I am talking about fonts embedding.
|
What? The problem is that Apple requires a specially designed file:
com.apple.ibooks.display-options.xml
+ some other minor tweaks depending on EPUB2 vs. EPUB3 (as others have explained).
Once you do those tweaks, iBooks will display embedded fonts.
Sigil supports everything just fine.
Quote:
Originally Posted by morty92222
Calibre probably -for the lake of a better term- "made the file compatible" before exporting it as EPUB.
|
Calibre's Editor easily lets you embed the font + subset it too, so many people use that since it's easy:
Tools > Embed referenced fonts
Tools > Subset embedded fonts
Many years ago, you had to use a handful of different plugins to do it, and now it's built right in as long as you design your CSS properly!
* * *
In Sigil, you're still able to manually add the OTF files and subset using plugins/tools.
For example, Toxaris created the Sigil Plugin:
"ePUB Optimizer"
Or Toxaris still has his older standalone tool:
"FontShrinker - tool to subset a font"
And to make sure your CSS is referencing fonts correctly, there's Doitsu's
"CSSFromFonts" plugin.