springtg / apv

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

Stange vertical lines on tiles separation #56

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. load the given .pdf file
2. go to page 5 
(or any page with a picture on the left of the page) 
3. zoom in, so the current display get tiled.

What is the expected output? What do you see instead?

the page should be rendered exactly as if they were no tile : without those 
vertical lines.
instead, on tiles separation, we can see vertical lines with the color of the 
picture wich is on the left of the current page.

What version of the product are you using? On what operating system?
 pdfview2 0.2.9.apk and  apv-0.3.0 => same issue
 tried on android 2.2 (samsung galaxy tab 7')
 and 2.3.3 ( HTC desire HD)
 with the same result.

I'll attach the pdf on which you can see this bug, with screen shots.

Original issue reported on code.google.com by guiandou...@gmail.com on 18 Aug 2011 at 8:59

Attachments:

GoogleCodeExporter commented 8 years ago
Here another screenshot :
with another picture on the left of the page, the next tiles will have a line 
colored exactly as this last picture on their left edge.

if we zoom out, the tiling is gone and this ligne's gone with it.

Original comment by guiandou...@gmail.com on 18 Aug 2011 at 9:43

Attachments:

GoogleCodeExporter commented 8 years ago
Confirmed on HTC Desire Z :/

Original comment by mpietrzak on 19 Aug 2011 at 3:21

GoogleCodeExporter commented 8 years ago
it seems like a problem in picture generation, in the C code from muPdf.
Do you work also to modify this code as needed ? or should we post this issue 
in the muPDf project ? 

Original comment by guiandou...@gmail.com on 22 Aug 2011 at 1:12

GoogleCodeExporter commented 8 years ago
It's most likely APV's fault - the way APV tiles tiles, float rounding etc. We 
should probably split and stich tiles more carefully. We'll look into this.

Original comment by mpietrzak on 22 Aug 2011 at 2:05

GoogleCodeExporter commented 8 years ago
allright,
but I still thinking it can be a problem from muPdf img generation.

I was playing around with APV's code, using directly the PDF class to load my 
own tiles and display it with my own 'tiling view' and got the exact same 
problem.

Anyway, I'm waiting for news about this issue. If I get more informations I'll 
tell you.
Thank you.

Original comment by guiandou...@gmail.com on 22 Aug 2011 at 2:42

GoogleCodeExporter commented 8 years ago
It looks to me like something wasn't cleared in the bitmap.

Original comment by arpruss on 22 Sep 2011 at 7:37