View Single Post
Old 03-03-2012, 01:24 AM   #10
grumbles
Addict
grumbles ought to be getting tired of karma fortunes by now.grumbles ought to be getting tired of karma fortunes by now.grumbles ought to be getting tired of karma fortunes by now.grumbles ought to be getting tired of karma fortunes by now.grumbles ought to be getting tired of karma fortunes by now.grumbles ought to be getting tired of karma fortunes by now.grumbles ought to be getting tired of karma fortunes by now.grumbles ought to be getting tired of karma fortunes by now.grumbles ought to be getting tired of karma fortunes by now.grumbles ought to be getting tired of karma fortunes by now.grumbles ought to be getting tired of karma fortunes by now.
 
grumbles's Avatar
 
Posts: 238
Karma: 1500000
Join Date: Nov 2009
Location: Toronto
Device: Pandigital Novel (Black), T-2 and 3, Nexus 7
I am having exactly this problem with a an epub I'm putting together. I have put the publication together in Sigil. I've added the font and it appears just fine in Sigil and Calibre's viewer. However it fails to display in ADE and on my Sony 650.

Note that in the epub the opf is in the OEBPS directory and the Font directory is a subdirectory in that. In my particular case the line in the opf file is:

<item href="Fonts/Math2%20Regular.ttf" id="Math2Regular.ttf" media-type="application/x-font-ttf" />

This is correct since Fonts is a subdirectory of OEBPS. "../Fonts/Math2%20Regular.ttf" would place the Fonts directory off the root directory of the epub.

I've had this happen on a few occasions and I am at a loss as to understanding why. The CSS seems to be correct and all the rest of the formatting in CSS works. If it would be helpful I could post the entire CSS file.
grumbles is offline   Reply With Quote