Skip to content

Commit 8da2ce5

Browse files
committed
Update GF project template
1 parent f815475 commit 8da2ce5

3 files changed

Lines changed: 10 additions & 138 deletions

File tree

.github/workflows/build.yaml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
name: Build font and specimen
22

33
on: [push, pull_request, workflow_dispatch]
4+
permissions: write-all
45

56
jobs:
67
build:
78
name: Build and test
89
runs-on: ubuntu-latest
910
steps:
1011
- uses: actions/checkout@v4
11-
- name: Set up Python 3.13
12-
uses: actions/setup-python@v5
12+
- name: Set up Python 3.11
13+
uses: actions/setup-python@v6
1314
with:
14-
python-version: "3.13"
15+
python-version: "3.11"
1516
- name: Setup fontspector
1617
uses: fonttools/setup-fontspector@main
1718
env:
@@ -107,8 +108,6 @@ jobs:
107108
with:
108109
name: ${{ env.ZIP_NAME }}
109110
path: ${{ env.ZIP_NAME }}
110-
- name: Copy DESCRIPTION.en_us.html to release directory
111-
run: cp documentation/DESCRIPTION.en_us.html ${{ env.ZIP_NAME }}/DESCRIPTION.en_us.html
112111
- name: Copy ARTICLE.en_us.html to release directory
113112
run: cp documentation/ARTICLE.en_us.html ${{ env.ZIP_NAME }}/ARTICLE.en_us.html
114113
continue-on-error: true
@@ -132,4 +131,4 @@ jobs:
132131
gh release upload ${{ github.ref_name }} ${{ env.RELEASE_ZIP_NAME }}.zip --clobber
133132
- name: Set release live
134133
run: |
135-
gh release edit ${{ github.ref_name }} --draft=false
134+
gh release edit ${{ github.ref_name }} --draft=false

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
SOURCES=$(shell python3 scripts/read-config.py --sources )
22
FAMILY=$(shell python3 scripts/read-config.py --family )
3+
DRAWBOT_SCRIPTS=$(shell ls documentation/*.py)
4+
DRAWBOT_OUTPUT=$(shell ls documentation/*.py | sed 's/\.py/.png/g')
35

46
help:
57
@echo "###"
@@ -30,7 +32,7 @@ venv/touchfile: requirements.txt
3032

3133
test: build.stamp
3234
which fontspector || (echo "fontspector not found. Please install it with 'cargo install fontspector'." && exit 1)
33-
TOCHECK=$$(find fonts/variable -type f 2>/dev/null); if [ -z "$$TOCHECK" ]; then TOCHECK=$$(find fonts/ttf -type f 2>/dev/null); fi ; mkdir -p out/ out/fontspector; fontspector --profile googlefonts -l warn --full-lists --succinct --html out/fontspector/fontspector-report.html --badges out/badges $$TOCHECK || echo '::warning file=sources/config.yaml,title=fontspector failures::The fontspector QA check reported errors in your font. Please check the generated report.'
35+
TOCHECK=$$(find fonts/variable -type f 2>/dev/null); if [ -z "$$TOCHECK" ]; then TOCHECK=$$(find fonts/ttf -type f 2>/dev/null); fi ; mkdir -p out/ out/fontspector; fontspector --profile googlefonts -l warn --full-lists --succinct --html out/fontspector/fontspector-report.html --ghmarkdown out/fontspector/fontspector-report.md --badges out/badges $$TOCHECK || echo '::warning file=sources/config.yaml,title=fontspector failures::The fontspector QA check reported errors in your font. Please check the generated report.'
3436

3537
proof: venv build.stamp
3638
TOCHECK=$$(find fonts/variable -type f 2>/dev/null); if [ -z "$$TOCHECK" ]; then TOCHECK=$$(find fonts/ttf -type f 2>/dev/null); fi ; . venv/bin/activate; mkdir -p out/ out/proof; diffenator2 proof $$TOCHECK -o out/proof

requirements.txt

Lines changed: 2 additions & 131 deletions
Original file line numberDiff line numberDiff line change
@@ -1,131 +1,2 @@
1-
absl-py==2.3.1
2-
afdko==4.0.2
3-
attrs==25.3.0
4-
axisregistry==0.4.16
5-
babelfont==3.1.3
6-
beautifulsoup4==4.13.4
7-
beziers==0.6.0
8-
blackrenderer==0.6.0
9-
booleanOperations==0.9.0
10-
Brotli==1.1.0
11-
bump2version==1.0.1
12-
bumpfontversion==0.4.1
13-
cattrs==25.1.1
14-
certifi==2025.8.3
15-
cffi==1.17.1
16-
cffsubr==0.3.0
17-
charset-normalizer==3.4.3
18-
cmarkgfm==2024.11.20
19-
collidoscope==0.6.5
20-
commandlines==0.4.1
21-
compreffor==0.5.6
22-
cryptography==45.0.6
23-
defcon==0.12.2
24-
dehinter==4.0.0
25-
diffenator2==0.4.9
26-
drawbot-skia==0.5.1
27-
ffmpeg-python==0.2.0
28-
filelock==3.19.1
29-
font-v==2.1.0
30-
fontbakery==1.0.1
31-
fontFeatures==1.9.0
32-
fontmake==3.10.1
33-
fontMath==0.9.4
34-
fontParts==0.13.3
35-
fontPens==0.2.4
36-
fonttools==4.59.1
37-
freetype-py==2.3.0
38-
future==1.0.0
39-
gflanguages==0.7.6
40-
gfsubsets==2024.9.25
41-
gftools==0.9.88
42-
gitdb==4.0.12
43-
GitPython==3.1.45
44-
glyphsets==1.1.0
45-
glyphsLib==6.11.5
46-
h11==0.16.0
47-
idna==3.10
48-
importlib_resources==6.5.2
49-
Jinja2==3.1.6
50-
kurbopy==0.11.1
51-
lxml==6.0.0
52-
markdown-it-py==4.0.0
53-
MarkupSafe==3.0.2
54-
mdurl==0.1.2
55-
munkres==1.1.4
56-
MutatorMath==3.0.1
57-
nanoemoji==0.15.8
58-
networkx==3.5
59-
ninja==1.13.0
60-
numpy==2.3.2
61-
openstep_plist==0.5.0
62-
opentype-sanitizer==9.2.0
63-
opentypespec==1.9.2
64-
orjson==3.11.2
65-
outcome==1.3.0.post0
66-
packaging==25.0
67-
picosvg==0.22.3
68-
pillow==11.3.0
69-
pip-api==0.0.34
70-
pngquant-cli==3.0.3
71-
protobuf==3.20.3
72-
pyahocorasick==2.2.0
73-
pybind11==3.0.0
74-
pycairo==1.28.0
75-
pyclipper==1.3.0.post6
76-
pycparser==2.22
77-
pygit2==1.16.0
78-
PyGithub==2.7.0
79-
Pygments==2.19.2
80-
PyJWT==2.10.1
81-
PyNaCl==1.5.0
82-
pyparsing==3.2.3
83-
PySocks==1.7.1
84-
python-bidi==0.4.2
85-
python-dateutil==2.9.0.post0
86-
PyYAML==6.0.2
87-
regex==2025.7.34
88-
requests==2.32.4
89-
resvg-cli==0.44.0
90-
rich==14.1.0
91-
rstr==3.2.2
92-
ruamel.yaml==0.18.14
93-
ruamel.yaml.clib==0.2.12
94-
selenium==4.35.0
95-
setuptools==80.9.0
96-
sh==2.2.2
97-
shaperglot==1.1.0
98-
six==1.17.0
99-
skia-pathops==0.8.0.post2
100-
skia-python==138.0
101-
smmap==5.0.2
102-
sniffio==1.3.1
103-
sortedcontainers==2.4.0
104-
soupsieve==2.7
105-
sre-yield==1.2
106-
statmake==1.1.0
107-
strictyaml==1.7.3
108-
stringbrewer==0.0.1
109-
tabulate==0.9.0
110-
toml==0.10.2
111-
tqdm==4.67.1
112-
trio==0.30.0
113-
trio-websocket==0.12.2
114-
ttfautohint-py==0.6.0
115-
typing_extensions==4.14.1
116-
ufo2ft==3.6.0
117-
ufoLib2==0.18.1
118-
ufolint==1.2.0
119-
ufomerge==1.9.6
120-
ufonormalizer==0.6.2
121-
ufoProcessor==1.13.3
122-
uharfbuzz==0.51.1
123-
unicodedata2==15.1.0
124-
Unidecode==1.4.0
125-
urllib3==2.5.0
126-
vharfbuzz==0.3.1
127-
vttLib==0.12.0
128-
websocket-client==1.8.0
129-
wsproto==1.2.0
130-
youseedee==0.5.3
131-
zopfli==0.2.3.post1
1+
# Placeholder file, update the requirements by running `make update`.
2+
-r requirements.in

0 commit comments

Comments
 (0)