View Single Post
Old 08-25-2010, 07:10 AM   #8
charleski
Wizard
charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.charleski ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1281258
Join Date: Sep 2009
Device: PRS-505
Quote:
Originally Posted by Toxaris View Post
Perhaps something trivial, but what is the code that is used in the resulting epub for displaying italics? I usually use <em></em> and that works without a problem...
If italics are applied as a local override (ie select the text and change the font to italic) then it wraps the text in a span:
span.no-style-override {
font-style: italic;
}

You have to make sure that local overrides are checked in the contents pane of the export panel, but that's usually done by default.

Lester, you need to take a look inside the epubs that are being created. Are the words meant to be in italic wrapped with a span? What is the css code for that span? My best guess is that this is a problem with partial font embedding due to the italic font not having the required permission bits. Turn off font embedding unless the books use a freely-embeddable font (you don't really want to get your publisher slapped with a lawsuit, so this is a good idea anyway).
charleski is offline   Reply With Quote