update readme

This commit is contained in:
subframe7536 2025-01-05 12:31:51 +08:00
parent e5c24bdec9
commit 4482606ef0

View file

@ -151,13 +151,13 @@ Run `build.py` with `--apply-fea-file` flag, the feature file from [`source/feat
### Chinese version ### Chinese version
Run `python build.py --cn`, the CN base fonts (about 135 MB) will download from GitHub. Run `python build.py --cn`, the CN base fonts (about 130 MB) will download from GitHub.
If you want to build CN base fonts from variable (about 35 MB), setup `"cn.use_static_base_font": false` in [config.json](./config.json) and **BE PATIENT**, instantiation will take about 40-50 minutes. If you want to build CN base fonts from variable (about 35 MB), setup `"cn.use_static_base_font": false` in [config.json](./config.json) and **BE PATIENT**, instantiation will take about 40-50 minutes.
#### Notice #### GitHub Mirror
The build script will auto download neccessory assets from GitHub. If you have trouble downloading, please setup `github_mirror` in `config.json` or `$GITHUB` to your environment variable. (Target URL will be `https://{github_mirror}/<user>/<repo>/releases/download/{tag}/{file}`), or just download the target `.zip` file and put it in the same directory as `build.py`. The build script will auto download neccessory assets from GitHub. If you have trouble downloading, please setup `github_mirror` in [config.json](./config.json) or `$GITHUB` to your environment variable. (Target URL will be `https://{github_mirror}/<user>/<repo>/releases/download/{tag}/{file}`), or just download the target `.zip` file and put it in the same directory as `build.py`.
### Build Script Usage ### Build Script Usage