Copy link to clipboard
Copied
Hello,
When I open a PDF in Acrobat, there's a thin white border around the pages with dark accents.
This condition does not occur when I open the same PDF's in Chrome, Edge, or Bluebeam.
I'm required to use these colors for work, and they will be distributed/read in Acrobat.
This is particularly an issue because the aesthetic these borders create is quite sloppy.
I've spent many hours trying to find a solution with no luck.
I've also attached a template that outlines the issue (no pun intended).
Any help to remove these borders would be greatly appreciated!
Copy link to clipboard
Copied
To add a quick note, the borders do not show up in the previewer.
However, if you open the PDF in the application, the borders are visible.
If I change the theme in the application to 'dark,' the borders are invisible.
Unfortunately, this is not a good solution since, of course, I will not be asking everyone to turn on dark mode in order to view my document.
Copy link to clipboard
Copied
Sorry, wrong post.
I hadn't seen the 2nd message
Copy link to clipboard
Copied
The white border is contained in your template. For example on the first page you have a CropBox of
[ 0 0 615.5 794 ]
and in your content you fill a rectangle as background like this
0 0.2 615 793.8 re
f*
Thus, you explicitly have an uncolored stripe .2 units high at the bottom and another uncolored stripe .5 units wide at the right.
Furthermore, you only fill the rectangle but don't stroke its edges. Depending on viewing details this allows for a single pixel wide uncolored border.
I'd propose you fill the rectangle a bit in excess of the crop box, e.g.
-5 -5 625 805 re
f*
Copy link to clipboard
Copied
I appreciate the recommendation.
Unfortunately, the borders are still visible regardless of how far I adjust the fill outside the crop box.
Copy link to clipboard
Copied
Hhmmm, ok, without adjusting the rectangle, though, it would have been an error not to show borders at the right and at the bottom.
I just tried to find white borders on your original PDF as displayed in Adobe Acrobat at different magnifications but only could find them at the right and at the bottom where that PDF explicitly left uncovered space.
Thus, could you please share the updated template (with the rectangle exceeding the crop box in all directions) and a screen shot showing those white border lines?