View Single Post
Old 09-12-2016, 05:21 PM   #1
eggheadbooks1
Read, don't parrot.
eggheadbooks1 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.eggheadbooks1 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.eggheadbooks1 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.eggheadbooks1 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.eggheadbooks1 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.eggheadbooks1 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.eggheadbooks1 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.eggheadbooks1 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.eggheadbooks1 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.eggheadbooks1 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.eggheadbooks1 figured out that Keyser Söze was the Kevin Spacey character in less than 20 minutes.
 
Posts: 224
Karma: 110242
Join Date: Apr 2011
Device: Kindle Fire, Kobo Touch, Aldiko for Android
Font embedding for Apple

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.
eggheadbooks1 is offline   Reply With Quote