View Full Version : Font does not show up on IPad


ralphiedee
06-07-2012, 07:49 PM
I know that there are certain fonts that will not display in an epub file displayed on an Ipad. I originally copied the text from an InDesign file got the font substitution msg. Once I did a test of the epub in Sigil, it looks fine in ADE but there is a font missing when viewing on IPad. I found the font, opened the container.xml file in the META-INF folder and the xml file looks like this


<?xml version="1.0" encoding="UTF-8"?>
<encryption xmlns="urnasis:names:tcpendocument:xmlns:conta iner" xmlns:enc="http://www.w3.org/2001/04/xmlenc#">
<enc:EncryptedData>
<enc:EncryptionMethod Algorithm="http://ns.adobe.com/pdf/enc#RC"/>
<enc:CipherData>
<enc:CipherReference URI="OEBPS/Fonts/BlackoakStd.otf"/>
</enc:CipherData>
</enc:EncryptedData>
<enc:EncryptedData>
<enc:EncryptionMethod Algorithm="http://ns.adobe.com/pdf/enc#RC"/>
<enc:CipherData>
<enc:CipherReference URI="OEBPS/Fonts/MaturaMTScriptCapitals.otf"/>


The font is that does NOT display is in blue, it is in the fonts folder of the epub yet it does not display in IPad but I see it in ADE reader.


btw the font is

MaturaMTScriptCapitals.otf
any help?

RD

DiapDealer
06-07-2012, 08:59 PM
I found the font, opened the container.xml file in the META-INF folder and the xml file looks like this
That's not the contents of the "container.xml" file. That's the "encryption.xml" file... used with fonts that are obfuscated using Adobe's font-mangling scheme. It tells reading systems how to un-obfuscate the fonts.

If the font displays properly in ADE but not in iBooks (at least I assume you mean iBooks since iPad is not an ebook reader), then it must be a quirk of the iBooks reader. There are many.

Was there a "com.apple.ibooks.display-options.xml" in the META-INF folder along with the container.xml and encryption.xml files? It needs to be there for embedded fonts to work properly in iBooks.

AnemicOak
06-07-2012, 09:02 PM
Are you reading it with iBooks, BlueFire???

ralphiedee
06-07-2012, 10:27 PM
Sorry bout the typo, yes it is the encryption file. I was looking at the epub file in IBooks on my IPad2 just to clear that up. There is no "com.apple.ibooks.display-options.xml" in the META-INF folder. How do I generate that?

RD

DiapDealer
06-07-2012, 10:40 PM
I'm no expert on iBooks, but I think that file consists of a single line that contains:
<option name="specified-fonts">true</option>
... but don't quote me on that. Googling that file name should get you all the details on it you need.

Toxaris
06-08-2012, 03:45 AM
DiapDealer, you are correct.

For more info, see this (http://www.pigsgourdsandwikis.com/2011/04/embedding-fonts-in-epub-ipad-iphone-and.html) blog-entry from Liz Castro.

JSWolf
06-09-2012, 02:37 PM
Just a quick note. When you are creating a topic like this, it's not an iPad problem. It's an iBooks problem. The topic makes it sound like there is a problem with the iPad and there isn't. The topic should have been...

Font not displaying in iBooks