View Single Post
Old 09-01-2018, 11:53 AM   #1571
willus
Fuzzball, the purple cat
willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.
 
willus's Avatar
 
Posts: 1,303
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
Quote:
Originally Posted by msh2050 View Post
thanks for this great program

I have issue with Re-flow text option can I specify white space width to warp/cut the words to new line because it cut single word to new line...
The command-line option that controls where k2pdfopt breaks lines of text is -ws (word spacing). This is controlled from the MS Windows GUI with the "Smart line breaks" option (see attached graphic). You can experiment with different values until you get the best result. The spacings in your document may be problematic, though. It looks like there are places where the gaps between individual letters in a word are almost as large as the gaps between words. If that is the case, then k2pdfopt may sometimes break lines between letters in a word or think that one word is actually multiple words and separate out the letters in that word when justifying the text.
Attached Thumbnails
Click image for larger version

Name:	screenshot.png
Views:	257
Size:	44.2 KB
ID:	165980  
willus is offline   Reply With Quote