Quote:
Originally Posted by gerhaher
...
However, I wonder why it didn't work with just changing to -col 1? Why did it think there were two columns? In your Help-pages you have written: "Setting to 1 will turn off multiple-column detection, i.e. k2pdfopt will not look for multiple columns."...
|
This is not a column issue. It's an issue caused by the large double-row letter that leads off the text, which confuses k2pdfopt in this case (under the default settings) into not being able to correctly determine the rows of text because it doesn't see a clean break between the first two rows. It then incorrectly treats those two rows of text as a single row of text and tries to re-flow that "double row" of text. You cleverly adjusted a setting to fix this, but k2pdfopt still doesn't correctly separate out the stylized first letter--it just breaks it in half. This is the best it does for now, without adding more intelligence for detecting this special case.
Your case probably just barely exceeded some internal threshold for detecting that first letter with the default settings. From my notes for v2.20 in the
history file:
While not a perfect work-around, large, stylized first letters which frequently begin a book chapter (typically the height of 2 or 3 normal-sized text rows) are now detected when wrapping text lines so that the lines adjacent to them are more-or-less correctly wrapped. Still needs improvement.