From 05eb6e1d92586e600c75eb5406f8533e1a613b23 Mon Sep 17 00:00:00 2001 From: wen <1455474577@qq.com> Date: Thu, 18 Nov 2021 11:41:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=8C=E7=BB=B4=E7=A0=81?= =?UTF-8?q?=E7=94=9F=E6=88=90=E7=B1=BB=E5=9C=A8=E7=BA=BF=E4=B8=8A=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E7=94=9F=E6=88=90=E7=9A=84=E4=BA=8C=E7=BB=B4=E7=A0=81?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E7=9A=84=E6=96=87=E5=AD=97=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/xhpc/charging/station/utils/img/ImageUtil.java | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/xhpc-modules/xhpc-charging-station/src/main/java/com/xhpc/charging/station/utils/img/ImageUtil.java b/xhpc-modules/xhpc-charging-station/src/main/java/com/xhpc/charging/station/utils/img/ImageUtil.java index 61fd4838..268df9ec 100644 --- a/xhpc-modules/xhpc-charging-station/src/main/java/com/xhpc/charging/station/utils/img/ImageUtil.java +++ b/xhpc-modules/xhpc-charging-station/src/main/java/com/xhpc/charging/station/utils/img/ImageUtil.java @@ -1,12 +1,11 @@ package com.xhpc.charging.station.utils.img; +import javax.imageio.ImageIO; import java.awt.*; import java.awt.image.BufferedImage; import java.io.File; import java.io.IOException; -import javax.imageio.ImageIO; - /** * @Author WH * @Date 2021/9/10 17:44 @@ -270,8 +269,8 @@ public class ImageUtil { g2.drawString(PileNumber+"号桩",25,154); - g2.setFont(new Font("黑体",Font.BOLD,130)); - g2.drawString(letter,250,180); + g2.setFont(new Font("楷体", Font.BOLD, 130)); + g2.drawString(letter, 250, 180); g2.setFont(new Font("楷体",Font.BOLD,60)); //g2.drawString("枪",320,174);