View Single Post
Old 01-16-2019, 10:13 PM   #1666
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 use that settings because that's how converting my bangla books works properly. Check the differance between 0.200 vs 0.001

The other settings are pointless however. I just checked. I don't know which settings does what. Just checked/unchecked settings as I went along till I found a good one. It's not perfect however. But it's good enough.
Look closely at your example--see attached. By using -ws -0.001, you've encouraged k2pdfopt to break a "double-row" of text in the middle of that double row--this causes the words to be out of order in the converted PDF. What gives a correct conversion is to increase the value of -gtr, e.g. -gtr 0.1 instead of -gtr 0.05.

Also--the -as option isn't necessary on your particular source document since it is a computer-generated PDF and is perfectly straight. It doesn't hurt except that it burns extra cpu. And why are you using -r to convert right-to-left? Isn't Bengali read left to right?

I don't mind at all that you shotgun your solution until you find something that works, or that you are trying to post helpful answers in this thread, but I do think you should fully understand your settings before recommending them to other users in this forum.
Attached Thumbnails
Click image for larger version

Name:	ws_example.png
Views:	370
Size:	104.7 KB
ID:	169145  
willus is offline   Reply With Quote