View Single Post
Old 02-28-2019, 07:41 PM   #176
rumplestiltskin
Zealot
rumplestiltskin ought to be getting tired of karma fortunes by now.rumplestiltskin ought to be getting tired of karma fortunes by now.rumplestiltskin ought to be getting tired of karma fortunes by now.rumplestiltskin ought to be getting tired of karma fortunes by now.rumplestiltskin ought to be getting tired of karma fortunes by now.rumplestiltskin ought to be getting tired of karma fortunes by now.rumplestiltskin ought to be getting tired of karma fortunes by now.rumplestiltskin ought to be getting tired of karma fortunes by now.rumplestiltskin ought to be getting tired of karma fortunes by now.rumplestiltskin ought to be getting tired of karma fortunes by now.rumplestiltskin ought to be getting tired of karma fortunes by now.
 
Posts: 105
Karma: 1435120
Join Date: Nov 2010
Location: West of the Pecos
Device: FireHD8, iPad
KFX to ePub in Windows - what a mess

Not sure why this happened but using Calibre in Windows 10 to convert a KFX file to ePub resulted in some really ugly body copy, almost like a font is missing and the substitution is just plain wrong. I can't tell you what font it was, only that it was like some bizarre scaling of an old bit-mapped font.

On my Mac, the conversion worked perfectly. I examined the file in Sigil's (and Calibre's) code-view; there are 38 "classes" in the "stylesheet.css" file. I seem to recall reading that there should be no more than 10.

What's really bizarre is that [I]every paragraph of body copy[I] references "class11" which seems pretty excessive. Shouldn't there be only one reference that encompasses all the body copy in the chapter (assuming there are no there are no other styles needed within the body copy - like a callout or the like)?

Has anyone else seen such strangeness and, if so, should I just leave it alone or maybe someone has a recipe for correcting such an excessive amount of redundant code?

Thank you
rumplestiltskin is offline   Reply With Quote