|
|
@@ -1621,12 +1621,12 @@ export class CanvasPhotoEditor {
|
|
|
// PDF 位置
|
|
|
let x, y, w, h;
|
|
|
if (paperType === "a4") {
|
|
|
- [x, y, w, h] = [0 + 28, 0, pdfW-28, pdfH];
|
|
|
+ [x, y, w, h] = [0 + 28, 0, pdfW, pdfH];
|
|
|
} else if (paperType === "a3") {
|
|
|
w = ((pdfW / 2) - 28); h = pdfH; x = (idxInSheet * w)+56; y = 0;
|
|
|
} else {
|
|
|
w = pdfW / 4; h = pdfH;
|
|
|
- x = idxInSheet * w;
|
|
|
+ x = idxInSheet * (pdfW / 4);
|
|
|
y = 0;
|
|
|
}
|
|
|
|