From 76e66a29eab18995bbc0186eeb523eae9e5a8d2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BF=9C=E7=A8=8B=E6=94=AF=E6=8C=81?= <2234839456@qq.com> Date: Sun, 22 Mar 2020 11:57:29 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E5=B0=91=E4=BA=86=E4=B8=80=E4=B8=AA=20?= =?UTF-8?q?+=20=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.service.ts b/src/app.service.ts index 2098d5a..9d631d5 100644 --- a/src/app.service.ts +++ b/src/app.service.ts @@ -17,7 +17,7 @@ export class AppService { } async font_min(text: string, font: string,server_url:string) { /** 因为 text 为 空或者是空格之类的 会导致 fontmin 运算很久 */ - text='●' + text+='●' const srcPath = `${font_src}${font}.ttf`; // 字体源文件 const outPath = `asset/font/${Date.now()}/`; const destPath = `./${outPath}`; // 输出路径