Skip to content

Commit

Permalink
Merge pull request #35 from beclab/fix/font-subset
Browse files Browse the repository at this point in the history
fix: font subset
  • Loading branch information
icebergtsn authored Sep 25, 2024
2 parents f2d7cba + 8aa60ad commit b720604
Show file tree
Hide file tree
Showing 10 changed files with 3,766 additions and 15 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/terminus-frontend-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,20 +48,20 @@ jobs:
- name: Install
run: |
npm i -g @quasar/cli;npm install -d;
- name: Install fonttools
run: pip3 install fonttools brotli
- name: Download fonttools Files
run: |
pwd
curl -L -o fonttools.zip https://cdn.bttcdn.com/common/fonttools.zip
unzip fonttools.zip
- name: Python Icon
run: pwd; cd ./fonttools; sudo node python-icon.js
- name: subset Icon
run: |
sudo chmod 755 fonttools
cd ./fonttools
./subset_font.sh nyTnjDwKNJ_190FjzaqkNCeE.woff2 unicodes.txt MaterialSymbolsRounded.woff2 ../src/assets/fonts
# - name: Install fonttools
# run: pip3 install fonttools brotli
# - name: Download fonttools Files
# run: |
# pwd
# curl -L -o fonttools.zip https://cdn.bttcdn.com/common/fonttools.zip
# unzip fonttools.zip
# - name: Python Icon
# run: pwd; cd ./fonttools; sudo node python-icon.js
# - name: subset Icon
# run: |
# sudo chmod 755 fonttools
# cd ./fonttools
# ./subset_font.sh nyTnjDwKNJ_190FjzaqkNCeE.woff2 unicodes.txt MaterialSymbolsRounded.woff2 ../src/assets/fonts
- name: Build terminus
run: npm run build;
- run: ls dist
Expand Down
Loading

0 comments on commit b720604

Please sign in to comment.