-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update test-v1.333 * adjust "glyph name" from uXXXX to uniXXXX uni04F5 uni2C64 uni2C65 uni2C66 uniA78D uniA7AA uniA7AD uniA7AE uniA7B2 uniA7B3 uniA7B4 * Adjust uniXXXX to uXXXX u04F5 u2C64 u2C65 u2C66 uA78D uA7AA uA7AD uA7AE uA7B2 uA7B3 uA7B4 * Update LXGWWenKaiTC_common-Light.ufoz * Update LXGWWenKaiTC_common-Light.ufoz * revert fontinfo to original format * update actions flow * Further Adjustment Remove `liga` feature due to its messy content; Adjust uFB02 uFB04 for tailed "l"; Adjust u5235 u9FE2 u9FE3 u9FE4 for component "耳". * Update Readme * Further Adjustment u7659 * map u6164 to U+22871 * Update Suzhou numerals * Add new UVS in Unicode 16.0 quoteleft.full quoteright.full quotedblleft.full quotedblright.full * Add u27AF4 * Upload UVS documentation * Add files via upload * Update UVS documentation * Add `halt` and `vhal` * Update README.md * Update README.md * Fix bolds' fontinfo plist * Change Bold(700) into Medium(500) * Remove Bold TTFs * Update uvs.pdf * Adjust u5B6C * Adjust several glyphs u4F6C u54BE u58F5 * Adjust uA78D from Ч to turned chair * Create 20240929.md --------- Co-authored-by: NFSL2001 <[email protected]>
- Loading branch information
1 parent
c58227c
commit 6d85691
Showing
3,836 changed files
with
25,751 additions
and
7,388 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,70 +1,75 @@ | ||
name: Build font and specimen | ||
|
||
on: [push, release] | ||
on: | ||
push: | ||
# do not run when push tag | ||
branches: | ||
- '**' | ||
workflow_dispatch: | ||
inputs: | ||
version: | ||
description: "版本号,格式vX.XXX" | ||
required: true | ||
type: string | ||
release_date: | ||
description: "版本日期,格式MONTH dd, YYYY。若空置将默认使用 UTC+8/上海当前的日期。" | ||
type: string | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
VERSION_TAG: ${{ inputs.version }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/checkout@v4 | ||
- name: Set up Python 3.10 | ||
uses: actions/setup-python@v2 | ||
uses: actions/setup-python@v5 | ||
with: | ||
python-version: "3.10" | ||
- name: Install sys tools/deps | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install ttfautohint | ||
sudo snap install yq | ||
- uses: actions/cache@v2 | ||
- uses: actions/cache@v4 | ||
with: | ||
path: ./venv/ | ||
key: ${{ runner.os }}-venv-${{ hashFiles('**/requirements*.txt') }} | ||
restore-keys: | | ||
${{ runner.os }}-venv- | ||
- name: gen zip file name | ||
id: zip-name | ||
shell: bash | ||
# Set the archive name to repo name + "-assets" e.g "MavenPro-assets" | ||
run: echo "ZIP_NAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')-fonts" >> $GITHUB_ENV | ||
# If a new release is cut, use the release tag to auto-bump the source files | ||
# Use version tag to auto-bump the source files if provided manually | ||
- name: Bump release | ||
if: github.event_name == 'release' | ||
id: bump_release | ||
if: github.event_name == 'workflow_dispatch' | ||
run: | | ||
make venv | ||
. venv/bin/activate | ||
SRCS=$(yq e ".sources[]" sources/config.yaml) | ||
TAG_NAME=${GITHUB_REF/refs\/tags\//} | ||
SRCS=$(ls -d sources/*.ufo) | ||
TAG_NAME=${{ env.VERSION_TAG }} | ||
echo "Bumping $SRCS to $TAG_NAME" | ||
for src in $SRCS | ||
do | ||
bumpfontversion sources/$src --new-version $TAG_NAME; | ||
python3 sources/scripts/bump_version.py "$src/fontinfo.plist" -v "$TAG_NAME" -d "${{ inputs.release_date }}" | ||
done | ||
- name: Build font | ||
run: make build | ||
release: | ||
# only run if the commit is tagged... | ||
if: github.event_name == 'release' | ||
# ... and it builds successfully | ||
needs: | ||
- build | ||
runs-on: ubuntu-latest | ||
env: | ||
ZIP_NAME: ${{ needs.build.outputs.zip_name }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Download artefact files | ||
uses: actions/download-artifact@v2 | ||
with: | ||
name: ${{ env.ZIP_NAME }} | ||
path: ${{ env.ZIP_NAME }} | ||
- name: Zip files | ||
run: zip -r ${{ env.ZIP_NAME }}.zip ${{ env.ZIP_NAME }} | ||
- name: Upload binaries to release | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file: ${{ env.ZIP_NAME }}.zip | ||
asset_name: ${{ env.ZIP_NAME }}.zip | ||
tag: ${{ github.ref }} | ||
overwrite: true | ||
body: "Production ready fonts" | ||
|
||
# Recording files | ||
- name: Archive built TTFs | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: result_ttf | ||
path: fonts/TTF/** | ||
- name: Archive built UFOs | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: source_ufos | ||
path: sources/build/instance_ufos/** | ||
- name: Commit fonts | ||
if: github.event_name == 'workflow_dispatch' | ||
uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
commit_message: Bump version to ${{ env.VERSION_TAG }} | ||
file_pattern: 'fonts/TTF/*.ttf sources/*.ufo/fontinfo.plist' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Package fonts and upload to release | ||
|
||
on: | ||
release: | ||
# do not run when created/draft, only when finalised | ||
types: [published] | ||
|
||
jobs: | ||
release: | ||
if: github.event_name == 'release' | ||
runs-on: ubuntu-latest | ||
env: | ||
FULL_ZIP_NAME: lxgw-wenkai-tc-${{ github.event.release.tag_name }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
# zip license | ||
- run: cp OFL.txt fonts/TTF/OFL.txt | ||
|
||
- name: Zip files | ||
run: | | ||
cd fonts | ||
mv TTF ${{ env.FULL_ZIP_NAME }} | ||
zip -r ${{ env.FULL_ZIP_NAME }}.zip ${{ env.FULL_ZIP_NAME }} | ||
tar -czvf ${{ env.FULL_ZIP_NAME }}.tar.gz ${{ env.FULL_ZIP_NAME }} | ||
mv ${{ env.FULL_ZIP_NAME }} TTF | ||
cp ${{ env.FULL_ZIP_NAME }}.zip TTF/${{ env.FULL_ZIP_NAME }}.zip | ||
cp ${{ env.FULL_ZIP_NAME }}.tar.gz TTF/${{ env.FULL_ZIP_NAME }}.tar.gz | ||
# remove license | ||
- run: rm fonts/TTF/OFL.txt | ||
|
||
# upload files to releases | ||
- name: Upload binaries to release | ||
uses: svenstaro/upload-release-action@v2 | ||
with: | ||
repo_token: ${{ secrets.GITHUB_TOKEN }} | ||
file_glob: true | ||
file: fonts/TTF/* | ||
tag: ${{ github.ref }} | ||
overwrite: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# 霞鶩文楷 TC v1.500 版本更新(2024.09.29) | ||
> [!WARNING] | ||
> 本版本起,Bold 字重調整為 Medium 字重。由於本版本改動較大,請在安裝新版字型前,**務必**將以往安裝的「霞鶩文楷 TC」字型**徹底卸載**,不要覆蓋安裝。 | ||
## 漢字部分 | ||
### 1. 調整漢字 | ||
⺗⺜⺲⺳㏐㏑㏒㏓㣺丵佬凿咾壵孬崡悫檴縴虽蟴麝𠂒𠚤𦍌 | ||
#### 以下為 Medium 字重調整漢字: | ||
㩮檍秡臆蠜饢 | ||
### 2. 新增漢字 | ||
仦鐤屮縉𠔉𡯁𡯂𢡱𦉫𦉰𦍋𧃽𧫴𬦻𬶌𱇏𲍌 | ||
## 其他字元部分 | ||
### 1. 將蘇州碼子更換為「芫荽」樣式 | ||
〡〢〣〤〥〦〧〨〩 | ||
### 2. 調整其他字元 | ||
Ḩⁱⁿₐₑₒₓₔₕₖₗₘₙₚₛₜ℮⏻⏼⏽⭘㎧㎨㎮㎯㏆㏐㏑㏒㏓㏞㏟ | ||
### 3. 新增字元 | ||
ӵỼỽỾỿ₰₱₲₳₵₶₷₸₺₻₼₾₿⃀℠␠ⱤⱥⱦꞍꞪꞭꞮꞲꞳꞴ | ||
## 其他方面 | ||
- 引入 `halt` 和 `vhal` 特性,可以配合 Chrome 123 及後續版本實現標點擠壓特性; | ||
- 根據 [Unicode 16.0 相關文檔](https://www.unicode.org/Public/16.0.0/ucd/StandardizedVariants.txt),新增 Unicode 變體序列(UVS)支援,在允許使用 UVS 的情況下,可通過該功能實現標點符號的切換,詳情[點擊此處瞭解](..\uvs.pdf)。 | ||
- 鑒於多數用戶認為 Bold 字重與 Regular 字重分辨不清楚,本版本起,Bold 字重改為 Medium 字重,因此,在將字型更新到本版本前,**必須將舊版本字型徹底卸載,不要覆蓋安裝**,以免影響字型的呈現效果。 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
fontmake>=2.4 | ||
fontbakery>=0.7 | ||
gftools>=0.7 | ||
ufomerge | ||
ufomerge | ||
tzdata |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.