From 815df96c61ced9b0ab926612eaad69e26c0c8acb Mon Sep 17 00:00:00 2001 From: Leo Chen Date: Tue, 17 Oct 2023 19:10:48 +0800 Subject: [PATCH] Install SourceSansPro fonts --- .github/workflows/build.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 5010884..32bc51a 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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