Quote:
Originally Posted by Azdaema
My reader is the iBooks app on my iphone. Are you saying that even a completely properly embedded font will still not show up on some readers?
|
For iOS, you need an extra step when producing your epub file.
For epub2:
You need to add this file to the META-INF directory:
Code:
com.apple.ibooks.display-options.xml
The contents of the file:
For epub3:
On the opf file, add the ibooks prefix to the <package> element:
Code:
<package xmlns="http://www.idpf.org/2007/opf" version="3.0" unique-identifier="isbn-id" prefix="ibooks: http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0/ a11y: http://www.idpf.org/epub/vocab/package/a11y/#" xml:lang="pt-BR">
Then, add a <meta> element inside the <metadata> element, like this:
Code:
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/">
...
<meta name="cover" content="cover.jpg"/>
<meta property="ibooks:specified-fonts">true</meta>
...
</metadata>
Of course, this sucks. Embedded fonts should work properly on iOS without this platform-specific property/file added.