View Single Post
Old 02-15-2015, 04:32 PM   #21
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by jswinden View Post
Then the issue is not the gap being too big. Open the HTML file that contains the non-justified line(s) and search for the text that didn't justify. Look for any goofy tag at the point where the line broke without justifying. As I recall, calibre wraps everything inside of gosh awful SPAN tags, or something similar, then assigns CSS that is a royal PITA to trace back. It reminds me of the garbage MS Word produces when you convert text to HTML. I never use calibre for converting formats.
calibre will NOT assign random CSS to do random things, and those spans contain the original CSS.

calibre flattens CSS, applying the calculated styles on each respective element as a blob. This is meant to aid calibre in applying various fixes etc. as the user specifies, and also makes ediing a nightmare... but it is meant for end-user output.

Whatever is causing it is likely a pre-existing problem. Granted, the conversion makes it a PITA to figure out where that is.

Last edited by eschwartz; 02-20-2015 at 04:54 PM. Reason: typos
eschwartz is offline   Reply With Quote