Quantcast
Channel: MobileRead Forums
Viewing all articles
Browse latest Browse all 46786

Font embedding for Apple

$
0
0
I have discovered that Apple, as only Apple can, have complicated font embedding.

I did some research and discovered the following:

In order for the font to be recognized, add this to the metadata in the content.opf:

Code:

<meta property="ibooks:specified-fonts">true</meta>
Done.

The in a text editor (I used Notepad), create a text file with the following:

Code:

<display_options>
  <platform name="*"> <!-- allowed values for platform "iphone", "ipad", or "*" for all -->
    <option name="specified-fonts">true <!-- must be set to "true" for embedded fonts -->
  </platform>
</display_options>

Change extension from .text to.xml and add to the Miscellaneous folder. Done.

But then I found another site, newer date, that stated that for the above to work, I also had to change:
Code:

<package xmlns="http://www.idpf.org/2007/opf" unique-identifier="bookid" version="3.0">
to
Code:

<package xmlns="http://www.idpf.org/2007/opf" unique-identifier="bookid" version="3.0" prefix="rendition: http://www.idpf.org/vocab/rendition/# ibooks: http://vocabulary.itunes.apple.com/rdf/ibooks/vocabulary-extensions-1.0/">
This Sigil will not let me do.

Is this final step necessary for iBooks to read an embedded font in an ePub built in Sigil? If so, I can edit in Dreamweaver and rezip the file. But wondering if this is an ePub2 versus ePub3 thing.

Viewing all articles
Browse latest Browse all 46786

Trending Articles