From fb865f1546635c9c0b166731f33137d73176f832 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 30 Mar 2023 05:15:31 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20=E6=94=B9=E8=BF=9B=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/font/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/font/main.go b/plugin/font/main.go index 06657a8c46..97845a5851 100644 --- a/plugin/font/main.go +++ b/plugin/font/main.go @@ -62,13 +62,13 @@ func init() { ctx.SendChain(message.Text("ERROR: ", err)) return } - //获得画布预计 + // 获得画布预计 testcov := gg.NewContext(1, 1) if err = testcov.ParseFontFace(data, 30); err != nil { ctx.SendChain(message.Text("ERROR: ", err)) return } - //取最长段 + // 取最长段 txt = "" for _, v := range strlist { if len([]rune(v)) > len([]rune(txt)) {