01-18-2009, 02:54 PM | #1 | |||||
Boo-Frickety-Hoo-Erizer
Posts: 251
Karma: 686
Join Date: Oct 2007
Device: Kobo Glo HD!
|
css drop caps coming out of calibre
I've moved from my original thread, because this looks to me to be a calibre-specific question.
Jellby, llasram and Peter seem to have worked out my original problem with drop caps in an epub in general. They demonstrated a working example that appears correctly in ADE, Sony and Calibre Reading software. (Message 54 from this page: https://www.mobileread.com/forums/sho...t=35928&page=4). See attached [ original viewers.jpg ] But when I try to recreate it using Calibre to generate the files (even using their original source directly, without modification) I get a different result in ADE. See attached [rebuilt-viewers.jpg ] If I open the xhtml outputed by calibre in a browser, the drop cap works properly. As do the margins, italics, etc. So the re-writing of the css by calibre doesn't seem to completely break it, but is it possible that ADE doesn't like the multiple cross references of the css? (guessing?) Original xhtml: Quote:
Quote:
Rebuilt xhtml: Quote:
Quote:
Quote:
---looking for a decent wall for a little head bashing....... |
|||||
01-18-2009, 03:09 PM | #2 |
creator of calibre
Posts: 44,336
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
If the rebuilt file is rendering correctly in calibre and web browsers in general, then the problem is a bug in the way ADE processes the CSS.
The main change in the rebuilt file CSS comes from font rescaling. Try setting the base font size to zero in the calibre conversion preferences before re-converting the file and see if that helps. (You don't need font size rescaling if your original file has good font sizes in the first place). |
Advert | |
|
01-18-2009, 03:30 PM | #3 | |
Boo-Frickety-Hoo-Erizer
Posts: 251
Karma: 686
Join Date: Oct 2007
Device: Kobo Glo HD!
|
Quote:
YOOOUUUUU are a ROCK STAR!!!!!! -bjc Happy. Fina-frickin'-ly. |
|
01-18-2009, 04:00 PM | #4 |
creator of calibre
Posts: 44,336
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Glad it worked
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Css Drop Caps does not work in an Epub on a Reader | brewt | ePub | 63 | 09-07-2012 12:46 AM |
Opus Fonts directory for Calibre -> External CSS | fiery | Bookeen | 12 | 02-20-2011 10:05 PM |
newbiq Q about Drop Caps and Calibre | NASCARaddicted | Calibre | 2 | 01-14-2010 07:03 PM |
calibre and drag and drop | drizzt709 | Calibre | 2 | 02-07-2009 11:09 PM |
Using CSS in Word to make a Drop Cap work in an Epub | brewt | ePub | 3 | 01-31-2009 06:00 PM |