Skip to content

Commit

Permalink
Install SourceSansPro fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
Leo1003 committed Oct 17, 2023
1 parent b08c28b commit 815df96
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,14 @@ jobs:
run: sudo apt install -y fonts-roboto
- name: Install Source Sans & Source Han Sans TW fonts
run: |
curl -sL -o SourceSans.zip https://github.com/adobe-fonts/source-sans/releases/download/3.052R/OTF-source-sans-3.052R.zip
curl -sL -o SourceSans3.zip https://github.com/adobe-fonts/source-sans/releases/download/3.052R/OTF-source-sans-3.052R.zip
curl -sL -o SourceSansPro.zip https://github.com/adobe-fonts/source-sans/releases/download/3.006R/source-sans-pro-3.006R.zip
curl -sL -o SourceHanSansTW.zip https://github.com/adobe-fonts/source-han-sans/releases/latest/download/SourceHanSansTW.zip
unzip -d SourceSans SourceSans.zip
unzip -d SourceSans3 SourceSans3.zip
unzip -d SourceSansPro SourceSansPro.zip
unzip -d SourceHanSansTW SourceHanSansTW.zip
cp SourceSans/OTF/*.otf /usr/share/fonts/
cp SourceSans3/OTF/*.otf /usr/share/fonts/
cp SourceSansPro/source-sans-pro-3.006R/OTF/*.otf /usr/share/fonts/
cp SourceHanSansTW/SubsetOTF/TW/*.otf /usr/share/fonts/
fc-cache -fv
- name: Setup Typst
Expand Down

0 comments on commit 815df96

Please sign in to comment.