fix: remove blank pages not handling EXIT_FAILURE code properly

This commit is contained in:
sbplat
2024-01-22 10:39:29 -05:00
parent b59651a0fb
commit 06ef09035d
3 changed files with 18 additions and 12 deletions

View File

@@ -121,8 +121,8 @@ public class SplitPdfBySectionsController {
subDoc, subPage, AppendMode.APPEND, true, true)) {
// Set clipping area and position
float translateX = -subPageWidth * i;
//float translateY = height - subPageHeight * (verticalDivisions - j);
// float translateY = height - subPageHeight * (verticalDivisions - j);
float translateY = -subPageHeight * (verticalDivisions - 1 - j);
contentStream.saveGraphicsState();