source .venv/bin/activate lsof -ti:5173,5174,5175,5176 | xargs kill -9 2>/dev/null; python font2svg.py --fontdir font --text "星程紫微" --outdir svg # 新增字体放在frontend/public/fonts目录下,运行以下命令,fonts.json会被更新 npm run prepare-fonts