feat: 水印格式宽度调整

This commit is contained in:
2024-01-02 17:48:41 +08:00
parent 14cb86dba2
commit 91a0d50853
2 changed files with 2 additions and 2 deletions
@@ -79,7 +79,7 @@ public class SysWaterMarkUtil {
// 根据页面宽度动态调整字体大小
float dynamicFontSize = pageWidth * (this.fontSize / 595); // 假设基准页面宽度为595单位
float xStep = pageWidth / 4;
float xStep = pageWidth / 2;
float yStep = pageHeight / 8;
float rotationInRadians = (float) Math.toRadians(30);
@@ -76,7 +76,7 @@ public class WaterMarkUtil {
// 根据页面宽度动态调整字体大小
float dynamicFontSize = pageWidth * (this.fontSize / 595); // 假设基准页面宽度为595单位
float xStep = pageWidth / 4;
float xStep = pageWidth / 2;
float yStep = pageHeight / 8;
float rotationInRadians = (float) Math.toRadians(30);