View Single Post
Old 10-15-2013, 03:09 AM   #599
agelos100
Enthusiast
agelos100 rocks like Gibraltar!agelos100 rocks like Gibraltar!agelos100 rocks like Gibraltar!agelos100 rocks like Gibraltar!agelos100 rocks like Gibraltar!agelos100 rocks like Gibraltar!agelos100 rocks like Gibraltar!agelos100 rocks like Gibraltar!agelos100 rocks like Gibraltar!agelos100 rocks like Gibraltar!agelos100 rocks like Gibraltar!
 
Posts: 29
Karma: 100000
Join Date: Oct 2013
Device: kindle
Quote:
Originally Posted by willus View Post
Angelos--How exactly were you hoping to improve the conversions? It looks like your document is just wide enough that by default k2pdfopt re-flows it, but that's probably not what you want(?). If you don't need re-flow, and if the line spacing is okay as-is, then I recommend using the "fitwidth" mode:

k2pdfopt -mode fw -ls- nine.pdf

(The -ls- will keep it in portrait mode.) This keeps the document in native mode with scaleable fonts and searchable / highlight-able text.

If you want to spread out the lines a little, you can increase the line spacing but keep re-flow off:

k2pdfopt -vls 1.2 -wrap- nine.pdf

If you want full blown text wrapping, that's mostly what you were getting with your second conversion, where you correctly figured out that k2pdfopt seems to need a little help breaking words apart and used a smaller-than-default value for -gtw, except I'd use -gtw 0.2:

k2pdfopt -vls 1.15 -gtw 0.2 nine.pdf

The value of 0.02 is too small and seems to have caused some strange behavior which I'll have to investigate. The -vls 1.15 is only necessary if you want to spread out the line spacing compared to the original document. Let me know if these help or if there are other ways you were hoping to improve the conversion.



Hello Willus,

Please Consider file "Nine Stories_k2opt default kindle 3.pdf" attached in my previous message, the 1st page is almost OK; check the second page and the last 5 lines of the 1st one, where text reflow is not good.

I was trying to fix that part.

Regards,
Angelos
agelos100 is offline   Reply With Quote