Kaynağa Gözat

// test

release_toaliyun_real
xhxu 3 yıl önce
ebeveyn
işleme
8281af49ac
1 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  1. +3
    -1
      mallinkBApi/src/main/java/com/iformall/utils/ImgYwsqhUtil.java

+ 3
- 1
mallinkBApi/src/main/java/com/iformall/utils/ImgYwsqhUtil.java Dosyayı Görüntüle

@@ -50,7 +50,9 @@ public class ImgYwsqhUtil {
// backImgUrl.close();
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;

g.setFont(fTxtBottom);


Yükleniyor…
İptal
Kaydet