

The rest of that paragraph is fine, but half-way through the following paragraph there is another overlay of "t" and "h" in what should be "the". The first letter of the following sentence begins with "This", but has the "T" and "h" overlaid. For example, in the "Preface" tag, what appears is an upper case P followed by a space, then an "e", an "f" overlaid with an "a", and the final "e". It doesn't matter which order the files are in, it's always the second (and subsequent) file in the order that exhibits the problem. The second file is mostly rendered fine, but the first header (e.g., or ) is render incorrectly, and then seemingly random words are rendered incorrectly. The first file is rendered perfectly in PDF.

I've spent all day tracking this down, and whittled it down to a test case consisting of only two short XHTML files (my Copyright and my Preface) that exhibits the same problem. This Epub3 book contains 20 XHTML files and is about 140K words. Large chunks of it are fine, but it looks like someone just scattered random wrong characters all over. I look at it in Acrobat Reader and it has frequent rendering errors - which appear to be characterers overlaid on one another.

I suck it into Calibre, set what seem to be reasonable parameters, convert it to PDF. Now I need to generate the PDF for the print version. I'm in the final stages of publishing a book on Amazon and my Sigil-made Epub3 file passes the Epub validator with no errors, uploads to Kindle, converts perfectly and displays on all the devices and viewers I have available to me. It seems easy to solve but I have no clue how. It seems for some reason, the webpage generated linebreak after each line instead of end of paragraph. Vestibulum mollis justo ut dictum tempor. Mauris gravida urna ac vulputate efficitur. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer vel accumsan elit, in facilisis libero. The trouble I'm having in converting is this,

Can someone please give me an hint where to start to learn this topic? Tried to search on internet tutorials/youtube explaining it, and found very few tutorials available for this topic. I've tried to use the default setting in calibre to convert, unfortunately it didn't work. I'm new to calibre and conversion, I'm trying to gather some pages/information from website and put them together into an "epub" ebook.
