Page box borders computed with wrong formula #92
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
By jbarlow83 on 2021-03-25T20:26:10.960Z
img2pdf uses, for example:
pagewidth - 2 * cropborder[1]
.The correct formula is
pagewidth - cropborder[1]
, because PDF rectangles specify the right-side coordinates [llx, lly, urx, ury] rather than one coordinate, width and height.To illustrate the issue, if you set cropborder to 1 inch all around (72, 72), a PDF reader will actually crop the top and right by 2 inches.
By josch on 2021-04-13T16:29:22.670Z
Status changed to closed by commit
81325d3998