View Full Version : Validating with embedded fonts


soparch
06-26-2011, 10:26 AM
Can some one please help. I embedded a font in a book and while it works on ADE and others it did not show up on the iPad. I saw on another thread the link to Liz Castro's blog about embedding fonts. Having read that I have put the "com.apple.ibooks.display-options.xml" in the meta-inf file but now it will not validate. I keep getting the message

WARNING: test.epub: item (com.apple.ibooks.display-options.xml) exists in the zip file, but is not declared in the OPF file

On her blog someone asked if it would validate and she reckons it does so what I would like to know is what am I doing wrong. How do I declare the file in the OPF file?
i have tested the embedding on all the devices and it shows on the iPad, Sony Reader etc.

Many thanks in advance
Steve

JSWolf
06-26-2011, 10:33 AM
You have to add a line in the OPF that declares com.apple.ibooks.display-options.xml.

<item href="/META-INF/com.apple.ibooks.display-options.xml" id="caido" media-type="application/xhtml+xml"/>

soparch
06-26-2011, 12:42 PM
JS Wolf you are an Angel in disguise
Thank you very much
soparch