It depends on the relative locations of the css, otf and opf files. Both css and opf must have the relative path to the otf, but since css and opf may be in different locations, the relative path may differ too.
Does the file validate in Sigil/Flightcrew?
Note, also, that you shouldn't be using a font that has a non-standard mapping of characters. For instance, if you want to use a Greek alpha, don't include a symbol font that just happens to write alpha when you press the "a" key, instead use a font that has the alpha in its correct Unicode slot, and insert the right Unicode character in the XHTML (or entity, such as α).
|