rajeshpatil0707 / apv

Automatically exported from code.google.com/p/apv
GNU General Public License v3.0
0 stars 0 forks source link

Adjust for ideally cropped pdfs #61

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
I use Bliss utility to crop pdf, ie remove footer and header 
(http://sourceforge.net/projects/briss/). I took 9-11 commission report for the 
test (you can google it). I did not any additional adjustment, allowed the 
utility to crop as it found it best.

What is the expected output? What do you see instead?
I wanted to see almost no space between pages (on Windows Pdf XChange-Viewer 
adds very small space between pages, almost unnoticeable. In apv the space is 
visible (a couple of text lines). I tried to change boxes in the settings, 
seems like didn't help. 

What version of the product are you using? On what operating system?
apv-0.3.1dev7.apk 

Original issue reported on code.google.com by max.vla...@gmail.com on 11 Sep 2011 at 11:46

GoogleCodeExporter commented 9 years ago
It would be easy to add an adjustment to the spacing between pages.  

Original comment by arpruss on 14 Sep 2011 at 4:59

GoogleCodeExporter commented 9 years ago
arpruss, great, thanks

Original comment by max.vla...@gmail.com on 14 Sep 2011 at 7:46

GoogleCodeExporter commented 9 years ago
The next dev release will have an option to put no space--it's there in the 
code.  Actually, I still see one line, and I don't know where that comes from.  
Maybe it's round-off error.

Original comment by arpruss on 15 Sep 2011 at 2:20

GoogleCodeExporter commented 9 years ago
Just a thought... If the app is based on muPdf (CMIIW), can be compare this 
result with some viewer based on muPdf in Continuous mode? If the result is 
better, there would be possible to look at how this utility did this. 

Original comment by max.vla...@gmail.com on 15 Sep 2011 at 7:37

GoogleCodeExporter commented 9 years ago
Comparision of SumatraPDF with PDF XChange Viewer and FoxIt

- Took fullreport.pdf 
- At about page 45-46 one line ends with ".. prepared to " and the next line is 
 "contact...". Zoom 300%
- From baseline to baseline the space is 45-46 pixels (all viewers)

The space between baseslines of different pages
SumatraPDF 94 pixels, 
PDF XChange Viewer 92 pixels
Foxit 92 pixels (cropped interpage space since it can't be disabled in the 
program)

I think that the difference (2 pixels = 4% of line-to-line) is not a big deal. 
Also the croppers sometimes don't crop perfectly so your single line between 
pages is probably unavoidable. 

Original comment by max.vla...@gmail.com on 15 Sep 2011 at 8:05

GoogleCodeExporter commented 9 years ago
Well, try dev9.  I'm uploading it now.

By the way, by "one line", I meant one pixel line, in case that wasn't clear.

Original comment by arpruss on 15 Sep 2011 at 8:03

GoogleCodeExporter commented 9 years ago
Tested, worked like a charm. Measured with screenshot, for "None" the numbers 
(relative) are similar to the ones mentioned about other viewers. 
Sorry about "one line" :)

Original comment by max.vla...@gmail.com on 16 Sep 2011 at 4:56