Skip to content

Commit d855b7a

Browse files
authored
Merge pull request #47 from aaronbell/master
Updating the repository to UFR
2 parents aa7bfd1 + ae37348 commit d855b7a

File tree

4,045 files changed

+1753
-2203
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,045 files changed

+1753
-2203
lines changed

.github/workflows/build.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Build font and specimen
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- name: Set up Python 3.8
11+
uses: actions/setup-python@v2
12+
with:
13+
python-version: 3.8
14+
- name: Install Linux dependencies
15+
run: |
16+
sudo snap install yq
17+
- name: Build font
18+
run: make build
19+
- name: Check with fontbakery
20+
run: make test
21+
continue-on-error: true
22+
- name: Generate proofs
23+
run: make proof
24+
- name: Gather
25+
run: |
26+
mkdir for-gh-pages
27+
mv fontbakery-report.html for-gh-pages
28+
mv proof/* for-gh-pages
29+
- name: Archive artifacts
30+
uses: actions/upload-artifact@v2
31+
with:
32+
name: Artifacts
33+
path: |
34+
for-gh-pages
35+
- name: Remove temp folder
36+
run: |
37+
rm -rf for-gh-pages

.gitignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,14 @@
1+
*~
2+
venv
3+
build.stamp
4+
proof
5+
6+
# OS generated files #
7+
######################
18
.DS_Store
9+
.DS_Store?
10+
._*
11+
.Spotlight-V100
12+
.Trashes
13+
ehthumbs.db
14+
Thumbs.db

Makefile

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
SOURCES=$(shell yq e '.sources.[] | sub("^","sources/")' sources/config.yaml )
2+
FAMILY=$(shell yq e '.familyName' sources/config.yaml )
3+
4+
help:
5+
@echo "###"
6+
@echo "# Build targets for $(FAMILY)"
7+
@echo "###"
8+
@echo
9+
@echo " make build: Builds the fonts and places them in the fonts/ directory"
10+
@echo " make test: Tests the fonts with fontbakery"
11+
@echo " make proof: Creates HTML proof documents in the proof/ directory"
12+
@echo
13+
14+
build: build.stamp sources/config.yaml $(SOURCES)
15+
16+
venv: venv/touchfile
17+
18+
build.stamp: venv
19+
. venv/bin/activate; gftools builder sources/config.yaml && touch build.stamp
20+
21+
venv/touchfile: requirements.txt
22+
test -d venv || python3 -m venv venv
23+
. venv/bin/activate; pip install -Ur requirements.txt
24+
touch venv/touchfile
25+
26+
test: venv build.stamp
27+
. venv/bin/activate; fontbakery check-googlefonts --html fontbakery-report.html --ghmarkdown fontbakery-report.md $(shell find fonts -type f)
28+
29+
proof: venv build.stamp
30+
. venv/bin/activate; gftools gen-html proof $(shell find fonts/ttf -type f) -o proof
31+
32+
clean:
33+
rm -rf venv
34+
find -iname "*.pyc" -delete

README.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,24 @@ Expansion to GF Cyrillic Plus, Pro, and locl has been completed by original auth
3535

3636
Vietnamese glyphs were added by Nhung Nguyen @crystaltype
3737

38-
### License
38+
## Building
39+
40+
Fonts are built automatically by GitHub Actions - take a look in the "Actions" tab for the latest build.
41+
42+
If you particularly want to build fonts manually on your own computer, you will need to install the [`yq` utility](https://github.com/mikefarah/yq). On OS X with Homebrew, type `brew install yq`; on Linux, try `snap install yq`; if all else fails, try the instructions on the linked page.
43+
44+
Then:
45+
46+
* `make build` will produce font files.
47+
* `make test` will run [FontBakery](https://github.com/googlefonts/fontbakery)'s quality assurance tests.
48+
* `make proof` will generate HTML proof files.
49+
50+
## License
3951

4052
This Font Software is licensed under the SIL Open Font License, Version 1.1.
41-
This license is copied below, and is also available with a FAQ at:
53+
This license is copied below, and is also available with a FAQ at
4254
http://scripts.sil.org/OFL
55+
56+
## Repository Layout
57+
58+
This font repository structure is inspired by [Unified Font Repository v0.3](https://github.com/unified-font-repository/Unified-Font-Repository), modified for the Google Fonts workflow.

fonts/otf/Lora-Bold.otf

6.76 KB
Binary file not shown.

fonts/otf/Lora-BoldItalic.otf

9.22 KB
Binary file not shown.

fonts/otf/Lora-Italic.otf

8.86 KB
Binary file not shown.

fonts/otf/Lora-Medium.otf

6.08 KB
Binary file not shown.

fonts/otf/Lora-MediumItalic.otf

8.8 KB
Binary file not shown.

fonts/otf/Lora-Regular.otf

7.24 KB
Binary file not shown.

0 commit comments

Comments
 (0)