View Full Version : InDesign CS6 and embedded fonts in iBooks 2.2


YAP-IC
09-27-2012, 06:56 AM
Hi together,

I was playing already some time ago with embedded fonts in ePub.

But ePubs with embedded fonts created in InDesign CS6 will not show in iBooks (since 2.1.x) anymore. The "com.apple.ibooks.display-options.xml" is included.

Does anyone have a solution?



Kind regards,
Yves

PageLab
09-28-2012, 09:53 AM
Are your fonts encrypted? See if you have an encryption.xml file inside the META-INF folder. Delete it an try to load the ePUB again in iBooks. Also, make sure you're using OTF, TTF or SVG fonts. Postscript Type 1 fonts aren't supported.

iBooks documentation says that it supports IDPF's Font Mangling (the default method in Indesign CS6 to encrypt fonts), but I had no luck with it in iBooks 2.2.

mzmm
09-29-2012, 12:14 PM
this might sound obvious, but in addition to including the com.apple.ibooks.display-options.xml file, you need to set specified-fonts to true in the file

YAP-IC
10-03-2012, 09:55 AM
Hi,

sorry for the late answer. I had in between contact with the Adobe engineers.

To answer the questions first:
- Yes, the fonts were encrypted. InDesign does this by default. You can't embed fonts with InDesign that are not encrypted, mangled and not substituted (CS5.5 uses the Adobe mangling algorithm, CS6 uses the mangling algorithm of the IDPF).
- The fonts were in TTF, OTF format. SVG fonts aren't supported by InDesign.
- And yes, the "com.apple.ibooks.display-options.xml" includes the specified-fonts to true.

However, deleting the encryption.xml was not bringing a new result, except that now all other reader apps do not show the fonts anymore (what happens deleting this file, but was a nice try).

The Adobe engineers told the following:
So we do mangle, but additionally we also encrypt the fonts (which is why there is an encryption.xml file running around there).
Mangling is not the same of encryption but I could see there could be some confusion here.

Thats also the reason why ePub Check 3.05b shows a Warning Message, on fonts embedded with InDesign. Example:
WARNING: resource OEBPS/font/DINPro-Light.OTF cannot be decrypted

The font encryption (not the mangling) used by Adobe is not compatible with iBooks neither with ePub Check.

My personal opinion is that both Adobe and Apple should work better together for ePub. Somehow, Apple does not (want to) support the Adobe encryption. Adobe does not respect the standards of the IDPF completely using their own encryption.

But who has the force to order this?

PageLab
10-03-2012, 10:39 AM
But who has the force to order this?

Yes, this is just too cumbersome... Looks like the best solution, considering that embedding is a requirement, is to use only open-licensed fonts (OFL (http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=OFL#9eda48a4), for instance) and to forget encryption/mangling methods for now.

Man Eating Duck
10-09-2012, 08:25 PM
However, deleting the encryption.xml was not bringing a new result, except that now all other reader apps do not show the fonts anymore (what happens deleting this file, but was a nice try).
You could try the new beta (http://www.mobileread.com/forums/showthread.php?t=192457) of Sigil, which can do font de-mangling with a right-click on the font file. I would only do this if the font has a free licence. The whole mangled-fonts thing is a joke IMO, as it's so trivially worked around, but I wouldn't do it for commercial fonts in any case.

Edit: Woa, sorry for bringing back a zombie thread, didn't notice the date :(