Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 05-17-2011, 02:42 PM   #1
elmago79
Member
elmago79 began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jun 2010
Device: PRS-300
Problem with epub to mobi? Everything is monospace

I'm trying to convert a book from epub to mobi, but in the kindle all the fonts are monospace. In my epub, I have a CSS body declaration like this:

Code:
body
    {
    font-family: Georgia, Garamond, serif, sanserif, monospace;
    }
As far as I can tell, this is perfectly valid. However, Calibre wraps <tt> tags (that's what I see in the Inspector), so I only get monospace fonts. If I instead use:

Code:
body
    {
    font-family: Georgia, Garamond, serif;
    }
The mobi output is correct.

So I would like to ask you whether this is a bug or if maybe I'm doing something wrong (my bet is that I'm doing something wrong).
elmago79 is offline   Reply With Quote
Old 05-17-2011, 09:07 PM   #2
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
I don't know where the <tt> tags came from but the correct css for generic sans-serif is sans-serif not sanserif. Might this be the problem?
jackie_w is offline   Reply With Quote
Advert
Old 05-20-2011, 01:00 PM   #3
elmago79
Member
elmago79 began at the beginning.
 
Posts: 12
Karma: 10
Join Date: Jun 2010
Device: PRS-300
I'll see what happens when I change that. Thanks.
elmago79 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mobi to epub problem Chatti Patti Conversion 2 03-15-2011 09:33 AM
Problem converting ePub to Mobi Wordslinger Conversion 3 03-12-2011 11:04 PM
epub to mobi conversion problem. lutwey Calibre 0 09-18-2010 11:51 AM
Epub to LRF no problem, Epub to Mobi indexerror Rogier Calibre 3 06-09-2009 11:42 AM
InDesign > ePub> Mobi problem Kakaze Calibre 2 05-01-2009 08:24 PM


All times are GMT -4. The time now is 08:00 PM.


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