View Single Post
Old 06-03-2010, 02:27 PM   #24
danegeld
Enthusiast
danegeld is on a distinguished road
 
Posts: 27
Karma: 52
Join Date: Mar 2009
Device: Sony PRS-700
>I think the <p class="palatino"> </p> thing has to be put in every XML document in the ePub.

I've successfully made two ePub files (so far) that display in iBooks using fonts available on the iPad and adapting bits from the Typefaces in iBooks 1.0 ePub file. The files don't display with the @font-face font unless the initial paragraph tag has class="palatino" included (see post above). I couldn't get it to work with a simple space, but it did work when I used a non-breaking space or something like a period that actually displays (though you can always make it white so it's not visible).

The bigger problem I'm having is constructing the ePub archive. I finally found that Springy makes it simpler not to compress the mimetype file within the archive, but I wish there were a utility specifically for making and working with ePub archives.
danegeld is offline   Reply With Quote