Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 08-24-2010, 09:50 AM   #1
Lester.
Junior Member
Lester. began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2010
Location: London
Device: none
Italic fonts dropping in epubs.

Hi, my name is Lester and I currently work for a London based book publishers and the task of converting the companies catalogue of books to various ebook formats has been given to me to do. I've been a Mac operator for the last 15 years, but only in the last 2-3 years I've got involved in ebooks.

I've recently discovered a big problem for us with our epub files with the italic fonts not displaying and only displaying the roman/regular version of that font. I don't think its down a particular font, as its happening to quite a few fonts. I'm using Indesign CS3 and CS5 to generate the epub files from. I've had a search around on Google and on here, but so far I haven't found a quick solution. The files I'm working on have already been printed at a printers, so the files I have are already laid out and formatted. Has anyone heard of this problem and would anyone have a possible solution?
Lester. is offline   Reply With Quote
Advert
Old 08-24-2010, 10:02 AM   #2
Lexi Revellian
Groupie
Lexi Revellian ought to be getting tired of karma fortunes by now.Lexi Revellian ought to be getting tired of karma fortunes by now.Lexi Revellian ought to be getting tired of karma fortunes by now.Lexi Revellian ought to be getting tired of karma fortunes by now.Lexi Revellian ought to be getting tired of karma fortunes by now.Lexi Revellian ought to be getting tired of karma fortunes by now.Lexi Revellian ought to be getting tired of karma fortunes by now.Lexi Revellian ought to be getting tired of karma fortunes by now.Lexi Revellian ought to be getting tired of karma fortunes by now.Lexi Revellian ought to be getting tired of karma fortunes by now.Lexi Revellian ought to be getting tired of karma fortunes by now.
 
Lexi Revellian's Avatar
 
Posts: 172
Karma: 200001
Join Date: Jul 2010
Location: London
Device: Kindle keyboard
With no specialist knowledge I prepared my novel for Smashwords and Kindle on my PC, and didn't have any problems with awol italics (I had other problems to iron out, due to the hidden formatting in Word).

Perhaps Word is easier for this task than InDesign? I'm not knowledgeable on this topic, but I'm sure others here are.
Lexi Revellian is offline   Reply With Quote
Old 08-24-2010, 10:55 AM   #3
Lester.
Junior Member
Lester. began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2010
Location: London
Device: none
Thanks for the reply. I was trying to avoid putting the text in another program as I have about 500 books to do that are already laid out in Indesign. I would have to go through them all and reformat them if I was to copy out to another program.
Lester. is offline   Reply With Quote
Old 08-24-2010, 11:59 AM   #4
st_albert
Guru
st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.st_albert has top level security clearance to Area 51.
 
Posts: 610
Karma: 94420
Join Date: Feb 2010
Device: none
I have exported quite a few books from ID4 to epub and have not had this problem. Are you also embedding fonts? (I don't.)

Without any data (such as sample code) I can't be much help other than to say that it should work.

You may find some helpful information in this thread:

https://www.mobileread.com/forums/showthread.php?t=94157

especially post # 13

Last edited by st_albert; 08-24-2010 at 12:02 PM.
st_albert is offline   Reply With Quote
Old 08-24-2010, 07:23 PM   #5
Adjust
Addict
Adjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel isAdjust really knows where his or her towel is
 
Adjust's Avatar
 
Posts: 351
Karma: 70000
Join Date: Jul 2010
Location: Australia
Device: ADE, iPad
Hi Lester,
I just send you a PM. Which I'm sure will fix your problem
Adjust is offline   Reply With Quote
Advert
Old 08-25-2010, 04:51 AM   #6
Toxaris
Wizard
Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.Toxaris ought to be getting tired of karma fortunes by now.
 
Toxaris's Avatar
 
Posts: 4,269
Karma: 115718139
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-300, PRS-T1
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...
Toxaris is offline   Reply With Quote
Old 08-25-2010, 07:07 AM   #7
capidamonte
Not who you think I am...
capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.capidamonte can even cheer up an android equipped with a defective Genuine Personality Prototype.
 
capidamonte's Avatar
 
Posts: 374
Karma: 30099
Join Date: Jan 2010
Location: Honolulu
Device: PocketBook 360 -- Ivory
Here's a link to a two-part article on converting InDesign files to ePub.

The great-and-powerful Hitch shared it with me (even though I don't use InDesign.)
capidamonte is offline   Reply With Quote
Old 08-25-2010, 08: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
Old 08-25-2010, 10:20 AM   #9
WillAdams
Wizard
WillAdams ought to be getting tired of karma fortunes by now.WillAdams ought to be getting tired of karma fortunes by now.WillAdams ought to be getting tired of karma fortunes by now.WillAdams ought to be getting tired of karma fortunes by now.WillAdams ought to be getting tired of karma fortunes by now.WillAdams ought to be getting tired of karma fortunes by now.WillAdams ought to be getting tired of karma fortunes by now.WillAdams ought to be getting tired of karma fortunes by now.WillAdams ought to be getting tired of karma fortunes by now.WillAdams ought to be getting tired of karma fortunes by now.WillAdams ought to be getting tired of karma fortunes by now.
 
WillAdams's Avatar
 
Posts: 1,065
Karma: 2068710
Join Date: Feb 2008
Device: Sony PRS-600, Toshiba Encore 2 Write 10
What fonts are involved? I'm suspecting that they're ancient old Type 1 fonts which used bizarre names --- I'd suggest re-setting the underlying character and paragraph styles (you did use styles pervasively, right?) and then using the Find Font panel to replace the remaining local formatting to nice OpenType fonts w/ sensible formatting.
WillAdams is offline   Reply With Quote
Old 08-31-2010, 03: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: 69784
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 04:19 PM.
Man Eating Duck is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change the Fonts for ePubs diokdin Calibre 3 04-19-2010 10:31 PM
Source of fonts for embedding in free ePubs pdurrant ePub 42 03-05-2010 06:55 PM
Classic Support for embedded fonts in sideloaded EPUBs ? nycaleksey Barnes & Noble NOOK 6 02-26-2010 12:10 AM
embeding fonts to epubs in Calibre - automated process gulo Calibre 3 01-27-2010 02:23 PM
Encypted Embedded Fonts in ePubs pdurrant ePub 9 09-24-2009 04:34 PM


All times are GMT -4. The time now is 04:23 AM.


MobileRead.com is a privately owned, operated and funded community.