-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from aaronbell/master
Updating to UFR
- Loading branch information
Showing
10,414 changed files
with
46,045 additions
and
339,251 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
name: Build font and specimen | ||
|
||
on: [push] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python 3.8 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
- name: Install Linux dependencies | ||
run: | | ||
sudo snap install yq | ||
- name: Build font | ||
run: make build | ||
- name: Check with fontbakery | ||
run: make test | ||
continue-on-error: true | ||
- name: Generate proofs | ||
run: make proof | ||
- name: Gather | ||
run: | | ||
mkdir for-gh-pages | ||
mv fontbakery-report.html for-gh-pages | ||
mv proof/* for-gh-pages | ||
- name: Archive artifacts | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: Artifacts | ||
path: | | ||
for-gh-pages | ||
- name: Remove temp folder | ||
run: | | ||
rm -rf for-gh-pages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
*~ | ||
venv | ||
build.stamp | ||
proof | ||
|
||
# OS generated files # | ||
###################### | ||
.DS_Store | ||
.DS_Store? | ||
._* | ||
.Spotlight-V100 | ||
.Trashes | ||
ehthumbs.db | ||
Thumbs.db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
SOURCES=$(shell yq e '.sources.[] | sub("^","sources/")' sources/config.yaml ) | ||
FAMILY=$(shell yq e '.familyName' sources/config.yaml ) | ||
|
||
help: | ||
@echo "###" | ||
@echo "# Build targets for $(FAMILY)" | ||
@echo "###" | ||
@echo | ||
@echo " make build: Builds the fonts and places them in the fonts/ directory" | ||
@echo " make test: Tests the fonts with fontbakery" | ||
@echo " make proof: Creates HTML proof documents in the proof/ directory" | ||
@echo | ||
|
||
build: build.stamp sources/config.yaml $(SOURCES) | ||
|
||
venv: venv/touchfile | ||
|
||
build.stamp: venv | ||
. venv/bin/activate; gftools builder sources/config.yaml && touch build.stamp | ||
|
||
venv/touchfile: requirements.txt | ||
test -d venv || python3 -m venv venv | ||
. venv/bin/activate; pip install -Ur requirements.txt | ||
touch venv/touchfile | ||
|
||
test: venv build.stamp | ||
. venv/bin/activate; fontbakery check-googlefonts --html fontbakery-report.html --ghmarkdown fontbakery-report.md $(shell find fonts -type f) | ||
|
||
proof: venv build.stamp | ||
. venv/bin/activate; gftools gen-html proof $(shell find fonts/ttf -type f) -o proof | ||
|
||
clean: | ||
rm -rf venv | ||
find -iname "*.pyc" -delete |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,11 +22,29 @@ To contribute to the project contact [Omnibus Type](http://omnibus-type.com/). | |
|
||
* Héctor Gatti | ||
|
||
### License | ||
## Building | ||
|
||
Fonts are built automatically by GitHub Actions - take a look in the "Actions" tab for the latest build. | ||
|
||
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. | ||
|
||
Then: | ||
|
||
* `make build` will produce font files. | ||
* `make test` will run [FontBakery](https://github.com/googlefonts/fontbakery)'s quality assurance tests. | ||
* `make proof` will generate HTML proof files. | ||
|
||
## License | ||
|
||
Copyright (c) 2019, Omnibus-Type (www.omnibus-type.com | [email protected]) | ||
|
||
Licensed under the [*SIL Open Font License, 1.1*](http://scripts.sil.org/OFL); you may not use this file except in compliance with the License. | ||
This Font Software is licensed under the SIL Open Font License, Version 1.1. | ||
This license is copied below, and is also available with a FAQ at | ||
http://scripts.sil.org/OFL | ||
|
||
## Repository Layout | ||
|
||
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. | ||
|
||
====== | ||
## FONTLOG for the Rosario fonts | ||
|
@@ -41,19 +59,6 @@ Héctor Gatti. This is a new typeface of classic proportions, | |
subtle contrast and soft endings. Carefully produced, | ||
elegant, ideal for magazines and academic journals. | ||
|
||
### Building the fonts | ||
|
||
Fonts are built using [fontmake](https://github.com/googlei18n/fontmake) and [gftools](https://github.com/googlefonts/gftools). Execute the following commands in a CLI on Mac or Unix. | ||
|
||
``` | ||
python3 -m venv venv | ||
source venv/bin/activate | ||
pip install -r requirements.txt | ||
cd sources | ||
sh build.sh | ||
``` | ||
|
||
### Rosario is a typeface family that supports Unicode language range: | ||
|
||
* Basic Latin U+0020-U+007E | ||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
gftools | ||
fontmake>=2.4 | ||
fontbakery>=0.7 | ||
gftools>=0.7 |
Oops, something went wrong.