Quote:
Originally Posted by AlanHK
I know that to display embedded fonts in (i)Books on Apple you need to add
com.apple.ibooks.display-options.xml to epub2 or insert
<meta property="ibooks:specified-fonts">true</meta>
in the OPF for epub3.
|
I was encountering the same issue tonight with an epub3 I loaded into Apple Books on my iPad Air and it was driving me CRAZY, because font-family: sans-serif: was not working in just ONE H1 heading but fine in all the others!
The same epub3 that was misbehaving in Apple Books was fine on my Kobo, no problems sent to Kindle and likewise in assorted Android apps. (There were no embedded fonts.)
However, I'm slightly confused as to what
exactly is necessary to add in epub3. It sounds like, from what you said above, that I
only need the meta property? And in fact, when I added the meta property to the OPF, the problem promptly disappeared!
So HUGE THANKS!
But do I *also* need to add the com.apple.ibooks.display-options.xml file, or is that
only necessary with epub2? I've no objection to adding it, but if it's not actually necessary for epub3, then....
NOTE: I did have to find the prefix declaration:
prefix="ibooks: http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0/" (
https://www.mobileread.com/forums/sh...51&postcount=2), and add that to the OPF in order for the epub3 to pass ePubCheck. FWIW in case that tidbit helps someone else down the line.