生成证书时a,b证也要改·
This commit is contained in:
@@ -172,7 +172,7 @@ public class UserCertificateServiceImpl extends ServiceImpl<UserCertificateDao,
|
|||||||
alreadyWriteLine++;
|
alreadyWriteLine++;
|
||||||
desTotalWidth = oneWordWidth;
|
desTotalWidth = oneWordWidth;
|
||||||
}
|
}
|
||||||
g.setFont(new Font("黑体", Font.BOLD, 30));
|
g.setFont(new Font("宋体", Font.BOLD, 30));
|
||||||
g.drawString(des[j].charAt(k)+"",180+desTotalWidth-oneWordWidth,840+alreadyWriteLine*(dess.getHeight()+10));
|
g.drawString(des[j].charAt(k)+"",180+desTotalWidth-oneWordWidth,840+alreadyWriteLine*(dess.getHeight()+10));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -249,7 +249,7 @@ public class UserCertificateServiceImpl extends ServiceImpl<UserCertificateDao,
|
|||||||
alreadyWriteLine++;
|
alreadyWriteLine++;
|
||||||
desTotalWidth = oneWordWidth;
|
desTotalWidth = oneWordWidth;
|
||||||
}
|
}
|
||||||
g.setFont(new Font("黑体", Font.BOLD, 32));
|
g.setFont(new Font("宋体", Font.BOLD, 32));
|
||||||
g.drawString(des[j].charAt(k)+"",180+desTotalWidth-oneWordWidth,890+alreadyWriteLine*(dess.getHeight()+20));
|
g.drawString(des[j].charAt(k)+"",180+desTotalWidth-oneWordWidth,890+alreadyWriteLine*(dess.getHeight()+20));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user