View Single Post
Old 04-07-2022, 10:36 PM   #1934
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 modified View Post
The device I'm using is a Kindle Paperwhite 5 (2021). The output I'm getting from k2pdfopt is bettter for reading on the PW except that when compared to the original, the text rendered is very "jagged"? For comparison, please see the screenshots attached...

I've tried different permutations of the command line options but could not improve the rendering on the PW.

./k2pdfopt Editorial.pdf -ui- -x -mt 0.8 -mb 0.5 -fc- -mc -odpi 300
Based on your posted screenshot of the Kindle Paperwhite 5, which shows the visible part of the PDF to be 1174 x 1554 pixels, it looks like the Paperwhite 5 is using the same display size/resolution as the Kindle Oasis 2, so you should use -dev ko2 (Kindle Oasis 2) for your screen, and also drop the "-odpi 300":

./k2pdfopt Editorial.pdf -ui- -x -mt 0.8 -mb 0.5 -fc- -mc -dev ko2

If you still aren't happy with that you can try adding -dr <xx> where <xx> is some number above 1.0 to increase the resolution of the bitmap in the output PDF even further, e.g. for a factor of 2 higher resolution:

./k2pdfopt Editorial.pdf -ui- -x -mt 0.8 -mb 0.5 -fc- -mc -dev ko2 -dr 2

Last edited by willus; 04-07-2022 at 10:39 PM.
willus is offline   Reply With Quote