View Single Post
Old 08-31-2010, 02:59 PM   #10
Man Eating Duck
Addict
Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.Man Eating Duck juggles neatly with hedgehogs.
 
Posts: 254
Karma: 69786
Join Date: May 2006
Location: Oslo, Norway
Device: Kobo Aura, Sony PRS-650
Quote:
Originally Posted by charleski View Post
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.
.
I tried to get the local overrides included from CS4, but found that in a lot of cases it didn't happen, or didn't show in some readers. A solution which works well for us is to apply character styles instead of local overrides, i.e. you create a style named italic which just specifies the font style "italic". Search and replace any instances of italics with the character style, and use Defined Styles instead of Local Formatting in the export. This also works for other local formatting such as bold, bold italics, superscript and so on.

I second your advice about font embedding. Sometimes you'll need to embed fonts for support for obscure glyphs, then you should go with a free one.

Last edited by Man Eating Duck; 08-31-2010 at 03:19 PM.
Man Eating Duck is offline   Reply With Quote