Commit 29c3657f authored by 韩桐桐's avatar 韩桐桐

fix(jg):恢复

parent f7777b32
...@@ -798,7 +798,7 @@ public class CommonServiceImpl implements ICommonService { ...@@ -798,7 +798,7 @@ public class CommonServiceImpl implements ICommonService {
PdfStamper pdfStamper = new PdfStamper(reader, bos); PdfStamper pdfStamper = new PdfStamper(reader, bos);
AcroFields acroFields = pdfStamper.getAcroFields(); AcroFields acroFields = pdfStamper.getAcroFields();
// 中文字体 // 中文字体
BaseFont font = BaseFont.createFont("宋体", "UniGB-UCS2-H", BaseFont.NOT_EMBEDDED); BaseFont font = BaseFont.createFont("STSong-Light", "UniGB-UCS2-H", BaseFont.NOT_EMBEDDED);
for (Map.Entry<String, Object> param : map.entrySet()) { for (Map.Entry<String, Object> param : map.entrySet()) {
// 设置文本域的字体为中文字体 // 设置文本域的字体为中文字体
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment