View Single Post
Old 01-17-2019, 02:33 PM   #1667
abe1
Junior Member
abe1 invented the internet.abe1 invented the internet.abe1 invented the internet.abe1 invented the internet.abe1 invented the internet.abe1 invented the internet.abe1 invented the internet.abe1 invented the internet.abe1 invented the internet.abe1 invented the internet.abe1 invented the internet.
 
Posts: 9
Karma: 84406
Join Date: Jan 2019
Device: Kindle 5 (2012)
Quote:
Originally Posted by willus View Post
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.
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.



This happen in my settings too but to a much lesser extent. Please help me fix it if you can. I understand this is a foreign language. What's happening is the software is separating the top/bottom 'signs' from them.

I'm attaching the file so you can take a look.

Manto.pdf

Thanks.

P.S. Yes Bangla isn't right-to-left. No idea how that got turned on.

Last edited by abe1; 01-17-2019 at 02:38 PM.
abe1 is offline   Reply With Quote