Skip to content

Commit

Permalink
Fix hairline bugs in table borders. (#34)
Browse files Browse the repository at this point in the history
We need to get the full interior Area, otherwise we will have some
super small hairline gaps in the PDF. They are always small but also
always visible in the PDF indepdent of the zoom level.
  • Loading branch information
rototor authored and danfickle committed Aug 28, 2016
1 parent fe1c445 commit 6962fad
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ private void paintBackground0(
return;
}

Area borderBounds = new Area(BorderPainter.generateBorderBounds(backgroundBounds, border, false));
Area borderBounds = new Area(BorderPainter.generateBorderBounds(backgroundBounds, border, true));

Shape oldclip = getClip();
if(oldclip != null) {
Expand Down

0 comments on commit 6962fad

Please sign in to comment.