View Single Post
Old 09-17-2011, 12:10 PM   #1
Giordano Galli
Junior Member
Giordano Galli began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Aug 2011
Location: Italy
Device: none
The ePub 2.0.1 specifications and font embedding

Hello

I'm having trouble finding where in the ePub specifications they discuss the nuts and bolts of font embedding. I only found a vague treatment of this matter in relation to encryption.

At the very least I need to know:
1) whether all I have to do to embed an unencrypted font is include its file in the package (I'm using the "Add file" command in "oXygen XML Author 13"), reference it in the manifest and use "@font-face" in my stylesheet
2) whether OpenType fonts are supported
3) which value for the "media-type" attribute should be used for OpenType fonts.

I've been happily using OpenType fonts labeled as "application/vnd.ms-opentype" for my tests in Adobe Digital Editions but I have now to ask questions 2) and 3) because a publisher is complaining about my files being rejected by epubcheck 1.2 with a "hyperlink to non-standard resource" error.

I'd be grateful for any links and comments. Thank you very much!


Giordano
Giordano Galli is offline   Reply With Quote