View Single Post
Old 11-20-2007, 02:40 PM   #81
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,445
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The basic reason is that the HTML "<p>phrase </p>\n<p>" becomes a P object containing a single text object, then a text object and then another <p> object while "<p>phrase \n<p>" becomes two P objects, each containing a single text object. Not much I can do about that I'm afraid, as that is the correct object representation of the HTML

EDIT: Incidentally you should use the --base-font-size option instead of --font-delta
kovidgoyal is offline   Reply With Quote