Skip to content

Commit

Permalink
Merge pull request #7 from aaronbell/main
Browse files Browse the repository at this point in the history
Converted to UFR
  • Loading branch information
RosaWagner authored Aug 26, 2021
2 parents 13826fc + b196d7b commit 56f275e
Show file tree
Hide file tree
Showing 68 changed files with 231,064 additions and 212,390 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build.yaml
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
14 changes: 13 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,14 @@
*~
venv
build.stamp
proof

# OS generated files #
######################
.DS_Store
*(Autosaved)*
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
34 changes: 34 additions & 0 deletions Makefile
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
25 changes: 24 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,27 @@ by Vernon Adams
- Fix glyphs, anchors and components
- Fix MM compatibility. Roman is worse than Italics
- Run fonts through Font bakery and Ship fonts
- Add TRADEMARKS.md
- Add TRADEMARKS.md


## 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

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.
Binary file added fonts/otf/Mulish-Black.otf
Binary file not shown.
Binary file added fonts/otf/Mulish-BlackItalic.otf
Binary file not shown.
Binary file added fonts/otf/Mulish-Bold.otf
Binary file not shown.
Binary file added fonts/otf/Mulish-BoldItalic.otf
Binary file not shown.
Binary file added fonts/otf/Mulish-ExtraBlack.otf
Binary file not shown.
Binary file added fonts/otf/Mulish-ExtraBlackItalic.otf
Binary file not shown.
Binary file added fonts/otf/Mulish-ExtraBold.otf
Binary file not shown.
Binary file added fonts/otf/Mulish-ExtraBoldItalic.otf
Binary file not shown.
Binary file added fonts/otf/Mulish-ExtraLight.otf
Binary file not shown.
Binary file added fonts/otf/Mulish-ExtraLightItalic.otf
Binary file not shown.
Binary file added fonts/otf/Mulish-Italic.otf
Binary file not shown.
Binary file added fonts/otf/Mulish-Light.otf
Binary file not shown.
Binary file added fonts/otf/Mulish-LightItalic.otf
Binary file not shown.
Binary file added fonts/otf/Mulish-Medium.otf
Binary file not shown.
Binary file added fonts/otf/Mulish-MediumItalic.otf
Binary file not shown.
Binary file added fonts/otf/Mulish-Regular.otf
Binary file not shown.
Binary file added fonts/otf/Mulish-SemiBold.otf
Binary file not shown.
Binary file added fonts/otf/Mulish-SemiBoldItalic.otf
Binary file not shown.
Binary file modified fonts/ttf/Mulish-Black.ttf
Binary file not shown.
Binary file modified fonts/ttf/Mulish-BlackItalic.ttf
Binary file not shown.
Binary file modified fonts/ttf/Mulish-Bold.ttf
Binary file not shown.
Binary file modified fonts/ttf/Mulish-BoldItalic.ttf
Binary file not shown.
Binary file added fonts/ttf/Mulish-ExtraBlack.ttf
Binary file not shown.
Binary file added fonts/ttf/Mulish-ExtraBlackItalic.ttf
Binary file not shown.
Binary file modified fonts/ttf/Mulish-ExtraBold.ttf
Binary file not shown.
Binary file modified fonts/ttf/Mulish-ExtraBoldItalic.ttf
Binary file not shown.
Binary file modified fonts/ttf/Mulish-ExtraLight.ttf
Binary file not shown.
Binary file modified fonts/ttf/Mulish-ExtraLightItalic.ttf
Binary file not shown.
Binary file modified fonts/ttf/Mulish-Italic.ttf
Binary file not shown.
Binary file modified fonts/ttf/Mulish-Light.ttf
Binary file not shown.
Binary file modified fonts/ttf/Mulish-LightItalic.ttf
Binary file not shown.
Binary file added fonts/ttf/Mulish-Medium.ttf
Binary file not shown.
Binary file added fonts/ttf/Mulish-MediumItalic.ttf
Binary file not shown.
Binary file modified fonts/ttf/Mulish-Regular.ttf
Binary file not shown.
Binary file modified fonts/ttf/Mulish-SemiBold.ttf
Binary file not shown.
Binary file modified fonts/ttf/Mulish-SemiBoldItalic.ttf
Binary file not shown.
Binary file not shown.
Binary file added fonts/variable/Mulish[wght].ttf
Binary file not shown.
Binary file removed fonts/vf/Mulish[wght].ttf
Binary file not shown.
Binary file added fonts/webfonts/Mulish-Black.woff2
Binary file not shown.
Binary file added fonts/webfonts/Mulish-BlackItalic.woff2
Binary file not shown.
Binary file added fonts/webfonts/Mulish-Bold.woff2
Binary file not shown.
Binary file added fonts/webfonts/Mulish-BoldItalic.woff2
Binary file not shown.
Binary file added fonts/webfonts/Mulish-ExtraBlack.woff2
Binary file not shown.
Binary file added fonts/webfonts/Mulish-ExtraBlackItalic.woff2
Binary file not shown.
Binary file added fonts/webfonts/Mulish-ExtraBold.woff2
Binary file not shown.
Binary file added fonts/webfonts/Mulish-ExtraBoldItalic.woff2
Binary file not shown.
Binary file added fonts/webfonts/Mulish-ExtraLight.woff2
Binary file not shown.
Binary file added fonts/webfonts/Mulish-ExtraLightItalic.woff2
Binary file not shown.
Binary file added fonts/webfonts/Mulish-Italic.woff2
Binary file not shown.
Binary file added fonts/webfonts/Mulish-Light.woff2
Binary file not shown.
Binary file added fonts/webfonts/Mulish-LightItalic.woff2
Binary file not shown.
Binary file added fonts/webfonts/Mulish-Medium.woff2
Binary file not shown.
Binary file added fonts/webfonts/Mulish-MediumItalic.woff2
Binary file not shown.
Binary file added fonts/webfonts/Mulish-Regular.woff2
Binary file not shown.
Binary file added fonts/webfonts/Mulish-SemiBold.woff2
Binary file not shown.
Binary file added fonts/webfonts/Mulish-SemiBoldItalic.woff2
Binary file not shown.
5 changes: 3 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
fontmake
git+https://github.com/googlefonts/gftools
fontmake>=2.4
fontbakery>=0.7
gftools>=0.7
Loading

0 comments on commit 56f275e

Please sign in to comment.