Skip to content

Commit

Permalink
Merge pull request #17 from notofonts/fontra-workflow
Browse files Browse the repository at this point in the history
Add build for traditional Variable Fonts, via fontra-workflow
  • Loading branch information
justvanrossum authored Mar 20, 2024
2 parents 6dacd17 + 2115fac commit c301fc9
Show file tree
Hide file tree
Showing 6 changed files with 2,058 additions and 6 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,16 @@ jobs:
path: build/ufo
retention-days: 5

- name: Storing Font Artifacts
- name: Storing TTF VarCo Artifacts
uses: actions/upload-artifact@v4
with:
name: NotoCJKVarCoFonts
path: build/fonts
name: NotoCJKVariableVarCoFonts
path: build/ttf-varco
retention-days: 5

- name: Storing TTF Artifacts
uses: actions/upload-artifact@v4
with:
name: NotoCJKVariableFonts
path: build/ttf
retention-days: 5
7 changes: 4 additions & 3 deletions export_and_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ set -x # echo commands
mkdir -p build
mkdir -p build/fontra
mkdir -p build/ufo
mkdir -p build/fonts
mkdir -p build/ttf-varco
mkdir -p build/ttf

fontra-copy notosanscjksc.rcjk build/fontra/notosanscjksc.fontra
fontra-copy notoserifcjkjp.rcjk build/fontra/notoserifcjkjp.fontra

fontra-copy notosanscjksc.rcjk build/ufo/notosanscjksc.designspace
fontra-copy notoserifcjkjp.rcjk build/ufo/notoserifcjkjp.designspace

fontra-compile notosanscjksc.rcjk build/fonts/notosanscjksc-glyf1.ttf
fontra-compile notoserifcjkjp.rcjk build/fonts/notoserifcjkjp-glyf1.ttf
fontra-workflow notosanscjksc.yaml --output-dir build
fontra-workflow notoserifcjkjp.yaml --output-dir build
Loading

0 comments on commit c301fc9

Please sign in to comment.