Open AvanRocks opened 3 years ago
I added 2 more commits that fix another (related) bug. The bug was that pdfcrop was being passed the parameters for the bounding boxes in the wrong order. Instead of Left, Bottom, Right, Top (as mentioned by pdfcrop --help
), the options were being passed as Left, Top, Right, Bottom, which meant that Top and Bottom were being swapped.
Thank you for your bug fix. I also found this bug here @AvanRocks !
I think I will be better to rename maxB
by maxT
and minT
by minB
.
Please kindly accept this pull request. @jenom
Done in my New pull request #16.
Fixed a typo that caused opts.outerMargin to be used in place of opts.bottomMargin when setting the bottom of the bounding box for pdfcrop