01-22-2012, 06:41 AM | #1 |
Addict
Posts: 392
Karma: 3421956
Join Date: Sep 2009
Device: various Kobo's, Onyx Note2, Pocketbook 360, Kindle Keyboard
|
loss if italics and smallcaps when converting epub to mobi
When I convert epubs to mobi, I notice italics are sometimes systematically lost. And also smallcaps (but I doubt mobi is capable of rendering smallcaps at all -- anyway I've never seen smallcaps on my Kindle).
In the epub file, the italics are specified like this: <span class="wpt-cursief">Text in italics</span> Referring, of course, to an entry in the css file span.wpt-cursief {font-family: "schreefI";} Is Calibre not able to convert this correctly into italics for mobi files? |
01-22-2012, 06:42 AM | #2 |
Addict
Posts: 392
Karma: 3421956
Join Date: Sep 2009
Device: various Kobo's, Onyx Note2, Pocketbook 360, Kindle Keyboard
|
"Cursief", by the way, is Dutch for italics.
|
Advert | |
|
01-22-2012, 07:47 AM | #3 |
reader
Posts: 6,975
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
|
MOBI does not support embedded fonts, so font-family with non-generic font names gets ignored. The usual way to get italics is with font-style, e.g. something like:
span.wpt-cursief {font-family: "schreef"; font-style:italic;} The above (note that there is no I in the family) will probably work for ePub and for MOBI via Calibre. For small-caps in MOBI you have to instead specify a standard font in a smaller size, I don't know if there is an ePub idiom that Calibre will recognize as small-caps and convert for you. |
01-22-2012, 09:22 AM | #4 | |
Wizard
Posts: 1,613
Karma: 6718541
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
|
Quote:
It should be noted that Kindles (software and devices) have limits to how small the text can be. If the default font size in the Kindle is set to the smallest available size listed on its menu then any attempt to create a small cap will fail, leaving the small caps the same size as standard caps. In order to proof the MOBI file properly, you should set the default font size on the Kindle to be the third from the smallest, or larger, leaving at least 2 smaller sizes available for use as the small caps. |
|
01-22-2012, 02:34 PM | #5 |
Addict
Posts: 392
Karma: 3421956
Join Date: Sep 2009
Device: various Kobo's, Onyx Note2, Pocketbook 360, Kindle Keyboard
|
Okay, thanks for the tips, which I'm sure will be useful to anybody authoring books.
Myself, I was merely asking about preproduced epubs that I wanted to convert for reading on my Kindle. (Since this of course is the problem with the standards war: in Europe, European books are predominantly sold as epubs.) I hoped there'd be a way to make this quick and easy conversion more lossless, but from your answers I gather that it isn't. I don't know enough about html and css to start fiddling with the epubs before I convert them, so I'll just have to make do with the loss, I guess. Or buy an epub-compatible ereader. |
Advert | |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Converting EPUB to MOBI | jwrourke | Conversion | 2 | 03-14-2011 12:22 PM |
Converting EPUB to MOBI | JLeighs | Calibre | 2 | 11-07-2010 03:03 AM |
Converting from Epub to Mobi | kevinofengland | Calibre | 5 | 10-12-2010 07:23 PM |
epub/mobi --> RTF: italics missing | acanthicus | Calibre | 0 | 06-09-2010 04:20 PM |
Converting EPub to Mobi? | CarolB | Calibre | 3 | 01-14-2010 11:09 AM |