Skip to content

Commit

Permalink
Add regression tests for shaping issues described in notofonts/noto-s…
Browse files Browse the repository at this point in the history
  • Loading branch information
simoncozens committed Jun 14, 2021
1 parent 3686174 commit 737465f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/continuous-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,12 @@ jobs:
subcmd: "check-opentype"
args: "-x monospace -x glyf_nested_components -x fontbakery_version -x dsig --loglevel WARN --ghmarkdown reports/fontbakery/${{ matrix.font-family }}.md"
path: "builds/variable_ttf/${{ matrix.font-family }}-VF.ttf"
- name: Fontbakery shaping checks ${{ matrix.font-family }}
uses: f-actions/font-bakery@v1
with:
subcmd: "check-profile"
args: "--config fontbakery.yml --html reports/fontbakery/${{ matrix.font-family }}-shaping.html fontbakery.profiles.shaping"
path: "builds/variable_ttf/${{ matrix.font-family }}-VF.ttf"
- name: Store Fontbakery reports
uses: actions/upload-artifact@v1
with:
Expand Down
2 changes: 2 additions & 0 deletions fontbakery.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
com.google.fonts/check/shaping:
test_directory: test
10 changes: 10 additions & 0 deletions test/shaping.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"tests": [
{
"note": "Check that manual and automatic abovemarks position well (see googlefonts/noto-source#377)",
"only": "NotoLoopedThai-VF.ttf",
"input": "กิ่",
"expectation": "uni0E01=0+601|uni0E34=0@-589,0+0|uni0E48.small=0@-222,-6+0"
}
]
}

0 comments on commit 737465f

Please sign in to comment.