瀏覽代碼

// test

release_toaliyun_real
xhxu 3 年之前
父節點
當前提交
8281af49ac
共有 1 個檔案被更改,包括 3 行新增1 行删除
  1. +3
    -1
      mallinkBApi/src/main/java/com/iformall/utils/ImgYwsqhUtil.java

+ 3
- 1
mallinkBApi/src/main/java/com/iformall/utils/ImgYwsqhUtil.java 查看文件

@@ -50,7 +50,9 @@ public class ImgYwsqhUtil {
// backImgUrl.close(); // backImgUrl.close();
Graphics g = backImg.getGraphics(); Graphics g = backImg.getGraphics();


Font fTxtBottom = new Font("微软雅黑", Font.PLAIN, 35);
// Font font = Font.createFont(Font.TRUETYPE_FONT, ResourceUtils.getFile("classpath:"+fontPath));
// Font fTxtBottom = font.deriveFont(Font.PLAIN, 35);
Font fTxtBottom = new Font("黑体", Font.PLAIN, 37);
Color myColorTxtBottom = Color.BLACK; Color myColorTxtBottom = Color.BLACK;


g.setFont(fTxtBottom); g.setFont(fTxtBottom);


Loading…
取消
儲存