View Single Post
Old 03-02-2012, 12:04 PM   #3
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by jgawne View Post
I've been trying to create an Epub for a science class that (sadly) has to use a handful of mathematical type symbols. Just another font you say.

I did up the main file in InDesign, embedded the fonts when exporting to epub. Then went to clean up the file in sigil. still looks OK in Sigil, but when I open the saved file in something else the symbol fonts are not applied.

in the template I can see :

@font-face {
font-family : Symbol;
font-style : normal;
font-weight : normal;
src : url("../Fonts/SymbolMT.otf");

and :

span.char-style-override-10 {
font-family : Symbol, sans-serif;
font-style : normal;
font-weight : normal;


and I can see style 10 is set to the symbols in the text.


InDesign did not, however, mention it in content.opf so I added:
<item href="../Fonts/SymbolMT.otf" id="SymbolMT.otf" media-type="application/x-font-otf" />

So as Sigil can read the font on MY computer, but then can;t when I open the epub in another program I figure I am pointing tot he wrong place, or am trying to write on top of an ancient indian burial ground.
You missed the relative path part (shown in red)
theducks is offline   Reply With Quote