|
|
@@ -283,7 +283,7 @@ public class PrescriptionImageServiceImpl implements PrescriptionImageService {
|
|
|
|
|
|
String firstLine = line1.toString().trim();
|
|
|
if (StringUtils.isNotBlank(firstLine)) {
|
|
|
- y = drawDrugTextLine(pen, firstLine, x, y, 760, innerLineSpacing);
|
|
|
+ y = drawDrugTextLine(pen, firstLine, x, y, 1000, innerLineSpacing);
|
|
|
}
|
|
|
y += innerLineSpacing; // 第一行占位(即使无内容也占)
|
|
|
|
|
|
@@ -304,7 +304,7 @@ public class PrescriptionImageServiceImpl implements PrescriptionImageService {
|
|
|
|
|
|
String secondLine = line2.toString().trim();
|
|
|
if (StringUtils.isNotBlank(secondLine)) {
|
|
|
- y = drawDrugTextLine(pen, secondLine, x, y, 760, innerLineSpacing);
|
|
|
+ y = drawDrugTextLine(pen, secondLine, x, y, 1000, innerLineSpacing);
|
|
|
}
|
|
|
y += innerLineSpacing; // 第二行占位(即使无内容也占)
|
|
|
|