Quote:
Originally Posted by willus
You should not have had to compile 2.51 yourself--there is an OSX binary download on my site. The command-line font size option is -fs, e.g. -fs 12 for 12-point font.
You don't need the -gs option unless you did not compile with MuPDF and are thus forced to use ghostscript. The Mac OSX binaries from my site are compiled with the MuPDF library.
To fully justify the text (no spaces at the end of lines in the converted file) use: -j 0+
To eliminate the artifact on p. 16, remove your -gtr option. It's too high and causing overly aggressive line cutting. The default works fine for your document since there is already plenty of gap between the lines in the source file. You should only need to increase -gtr when the lines in the source file are so close to each other that they slightly overlap in places.
There is no way to change the font with k2pdfopt. That's not part of its functionality. To do that you need to fully convert the PDF to a different type, such as mobi, which often requires a lot of manual editing, or you need the source document that created the PDF.
Also, I think you're over-killing the -dr option. You shouldn't need nearly 3x the resolution of your reading device. All that does is to make the conversion unnecessarily slow and the output file unnecessarily large (in bytes).
So my final recommendation is:
k2pdfopt -dev kp3 -j 0+ -col 1 -mag 1.2 -dr 2 -vls 1.6 -x m.pdf
Converted file attached.
|
Thank you for your time.
-dev kp3 -j 0+ -col 1 -mag 1.2 -dr 2 -vls 1.6 -x ; it's what I was searching for !
However, when files of the same type contain images the output is, unfortunately, not good (please see the two files attached).
What do you suggest to correct that ?
In advance thank you