View Single Post
Old 01-04-2017, 02:15 AM   #1337
killout
Junior Member
killout is faster than slow light.killout is faster than slow light.killout is faster than slow light.killout is faster than slow light.killout is faster than slow light.killout is faster than slow light.killout is faster than slow light.killout is faster than slow light.killout is faster than slow light.killout is faster than slow light.killout is faster than slow light.
 
Posts: 4
Karma: 29000
Join Date: Dec 2016
Device: Ipad Air 2, Onyx Boox Aurora
Quote:
Originally Posted by willus View Post
Yes, you can eliminate the margins. Just make the -dpi value larger, e.g. -dpi 400. At -dpi 264, you are telling k2pdfopt that your device screen is 2048/264 = 7.75 inches wide, whereas your source PDF is only 7 inches wide, so k2pdfopt does not magnify it. It displays it on your iPad so that the page width will physically be 7 inches if you measure it with a ruler--to match the source document size. By specifying -dpi 400, you essentially tell k2pdfopt to magnify the source file. I.e. you are telling k2pdfopt that your device is 2048/400 = about 5 inches wide (even though in reality it is 7.75 inches wide). Now that the "width" of your device (5 inches) is less than the source text width, k2pdfopt will fit the text to your screen, with no margins (assuming you specify -mode fitwidth).
Oh, thank you very much for the explanation!
Now I will be slice all my pdf perfectly to read on ipad, just need to adjust dpi depending on input pdf size.
Thanks again for such a great tool
killout is offline   Reply With Quote