I'm using the (excellent) vfr-reader in several iOS applications. It works like a charm, but I'm having problems with the rendering of some PDF files.
In VFR-Reader, I'm seeing white lines at the top and bottom, and/or left and right edges, which is very annoying with full-page photos.
They appear in the rendered page and the page thumbnails in the ThumbsViewController:
The white lines become (a little) bigger when zooming in:
(bottom edge, though difficult to see against the white page background)
and I can change their color by modifying
CGContextSetRGBFillColor(context, 1.0f, 1.0f, 1.0f, 1.0f); // White
in ReaderContentPage.m / drawLayer.
I naively tried to set the RGBFillColor to black, but then all text pages (usually on white background) in the PDF would appear all black as well.
I assume the problem lies in some aspect ratio/PDF page dimensions, that for some reason do not perfectly fill the drawing area, so the white background color "bleeds" out.
The PDFs themselves seem fine, they render perfectly (without white lines) in Safari and GoodReader.
I'd appreciate any hint how to fix this, or the general direction I should be investigating.