View Single Post
Old 01-17-2019, 11:37 PM   #1668
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 abe1 View Post
I tried with -gtr 0.1 but it doesn't work. It makes these weird output..
This only happens when using the "gtr" option.. And if I don't use "gtr" some lines becomes smaller as I've shown before.


This is how it should look for example. The last line is shown.
The source PDF is problematic because there are lines of text that don't have a clear gap between them (see attached), causing k2pdfopt to guess wrong at where it should cut them. Higher -gtr leads to more aggressive cutting, but, as you can see, sometimes it is overzealous. I can't find a set of options that work without some mistakes. I'd have to go back and see if the algorithm could be tweaked to work slightly better for this particular case.
Attached Thumbnails
Click image for larger version

Name:	text_overlap.png
Views:	277
Size:	47.9 KB
ID:	169155  
willus is offline   Reply With Quote