Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correcting STAT table and other updates #22

Merged
merged 10 commits into from
Jul 20, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
22 changes: 19 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# Comfortaa


Comfortaa is a rounded geometric sans-serif type design intended for large sizes. It is absolutely free, both for personal and commercial use.

If you like it please visit my DeviantArt page and fav it (but obviously only if you like it.) You are also more than welcome to comment about anything you want (I'm open to critique). I obviously would love to see how my font is being used, so feel free to comment with a link to your work, or send me a message.
Expand All @@ -18,12 +17,29 @@ I hope you will enjoy using my font!
* Overall design and spacing improvements
* Expansion to GF Latin Plus, GF Cyrillic Plus

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

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:
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.


### Copyright

Copyright (c) 2010, Johan Aakerlund ([email protected]),
Expand Down
Binary file modified fonts/OTF/Comfortaa-Bold.otf
Binary file not shown.
Binary file modified fonts/OTF/Comfortaa-Light.otf
Binary file not shown.
Binary file modified fonts/OTF/Comfortaa-Regular.otf
Binary file not shown.
Binary file modified fonts/TTF/Comfortaa-Bold.ttf
Binary file not shown.
Binary file modified fonts/TTF/Comfortaa-Light.ttf
Binary file not shown.
Binary file added fonts/TTF/Comfortaa-Medium.ttf
Binary file not shown.
Binary file modified fonts/TTF/Comfortaa-Regular.ttf
Binary file not shown.
Binary file added fonts/TTF/Comfortaa-SemiBold.ttf
Binary file not shown.
Binary file removed fonts/TTF/Comfortaa-VF.ttf
Binary file not shown.
Binary file added fonts/otf/Comfortaa-Medium.otf
Binary file not shown.
Binary file added fonts/otf/Comfortaa-SemiBold.otf
Binary file not shown.
Binary file added fonts/variable/Comfortaa[wght].ttf
Binary file not shown.
Binary file added fonts/webfonts/Comfortaa-Bold.woff2
Binary file not shown.
Binary file added fonts/webfonts/Comfortaa-Light.woff2
Binary file not shown.
Binary file added fonts/webfonts/Comfortaa-Medium.woff2
Binary file not shown.
Binary file added fonts/webfonts/Comfortaa-Regular.woff2
Binary file not shown.
Binary file added fonts/webfonts/Comfortaa-SemiBold.woff2
Binary file not shown.
3 changes: 3 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fontmake>=2.4
fontbakery>=0.7
gftools>=0.7
Loading