Files
font2pic/run.sh
2026-02-11 17:03:38 +08:00

13 lines
279 B
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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