View Single Post
Old 05-19-2012, 06:13 AM   #339
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
Quote:
Originally Posted by theducks View Post
Lots of styles left over that I can't find a place used. Calibre only seems to pretty up the stylesheet and ADD Calibre styles without condensing or tuning unnecessary span and div nests
I can't argue about the span and div nests but, just for interest, I took a retail epub which used one of those overblown one-css-fits-all stylesheets and did an epub-epub conversion.

Original css: 2624 lines (416 rules)
calibre-converted css: 318 lines (41 rules), all 41 rules were used at least once in the converted epub. 4 of the 41 were new calibre-created rules with the .calibrenn name.

Now, whilst a sample of 1 is not enough to prove anything, surely you'd have to agree that calibre is doing something with style rationalisation
jackie_w is offline   Reply With Quote