1
0
mirror of https://github.com/google/fonts.git synced 2024-12-17 05:31:36 +03:00
Font files available from Google Fonts, and a public issue tracker for all things Google Fonts
Go to file
Seth Vargo 78219a7b6d
Improve Actions hygiene (#3165)
👋 hello there! I'm a fellow Googler who works on projects that leverage GitHub Actions for CI/CD. Recently I noticed a large increase in our queue time, and I've tracked it down to the [limit of 180 concurrent jobs](https://docs.github.com/en/actions/reference/usage-limits-billing-and-administration) for an organization. To help be better citizens, I'm proposing changes across a few repositories that will reduce GitHub Actions hours and consumption. I hope these changes are reasonable and I'm happy to talk through them in more detail.

- Only run GitHub Actions for pushes and PRs against the main branch of the repository. If your team uses a forking model, this change will not affect you. If your team pushes branches to the repository directly, this changes actions to only run against the primary branches or if you open a Pull Request against a primary branch.

- For long-running jobs (especially tests), I added the "Cancel previous" workflow. This is very helpful to prevent a large queue backlog when you are doing rapid development and pushing multiple commits. Without this, GitHub Actions' default behavior is to run all actions on all commits.

There are other changes you could make, depending on your project (but I'm not an expert):

- If you have tests that should only run when a subset of code changes, consider gating your workflow to particular file paths. For example, we have some jobs that do Terraform linting, but [they only run when Terraform files are changed](c4f59fee71/.github/workflows/terraform.yml (L3-L11)).

Hopefully these changes are not too controversial and also hopefully you can see how this would reduce actions consumption to be good citizens to fellow Googlers. If you have any questions, feel free to respond here or ping me on chat. Thank you!
2021-03-15 09:42:53 +00:00
.ci CI: rename master to main 2021-03-10 09:31:56 +00:00
.github/workflows Improve Actions hygiene (#3165) 2021-03-15 09:42:53 +00:00
apache Update opensans description 2021-03-03 08:49:27 +00:00
axisregistry Update optical_size.textproto (#2989) 2021-02-04 10:30:30 -05:00
catalog Yoshimichi Ohira bio info added (#3163) 2021-03-12 16:39:44 +01:00
ofl Binoy Dominic added to Designers field in Gayathri's Metadata (#3169) 2021-03-12 16:32:04 +01:00
tools fix broken URL reference 2021-02-05 04:54:47 -03:00
ufl hotfix-ubuntu: v0.831 added (#934) 2017-05-13 23:12:19 -04:00
.gitattributes Fix incorrectly-classified Protobuf files (#1094) 2017-07-23 14:44:00 -04:00
.gitignore .gitignore: *.pyc 2015-09-17 14:08:11 -04:00
.gitmodules Delete tools, it lives in https://github.com/googlefonts/tools now 2017-10-10 17:26:00 -07:00
AUTHORS Update AUTHORS 2021-02-04 10:52:07 -05:00
CONTRIBUTING.md Update CONTRIBUTING.md 2020-06-29 15:06:28 -04:00
CONTRIBUTORS Update CONTRIBUTORS 2021-02-04 10:51:22 -05:00
README.md Update README.md 2021-03-03 18:15:59 -05:00
to_production.txt updated to_lists (#3167) 2021-03-11 13:01:37 +01:00
to_sandbox.txt Update to_sandbox.txt 2021-03-11 12:06:34 -05:00
TRIVIA.md Remove stale families (Baloo v1, old renamed ones) (#2412) 2020-10-13 10:55:04 +01:00

Google Fonts Files

This project mainly contains the binary font files served by Google Fonts (fonts.google.com)

The top-level directories indicate the license of all files found within them. Subdirectories are named according to the family name of the fonts within.

Each family subdirectory contains the .ttf font files served by Google Fonts, plus a METADATA.pb file with metadata for the family (such as information on the project designer(s), genre category, and license - learn more) and a DESCRIPTION.en_us.html with a description of the family in US English.

The /catalog subdirectory contains additional metadata, such as profile texts and portrait/avatar images of font designers, and this is open for contributions and corrections from anyone via Github.

The /axisregistry subdirectory contains metadata for the GF Axis Registry, containing information on variable font axes that can be found in the collection, including experimental axes.

Bug reports and improvement requests

If you find a problem with a font file or have a request for the future development of a font project, please create a new issue in this project's issue tracker.

Self Host Fonts Available From Google Fonts

Since all the fonts available here are licensed with permission to redistribute, subject to the license terms, you can self-host using a variety of third-party projects.

One popular service is Fontsource, which offers bundled NPM packages.

Download All Google Fonts

You can download all Google Fonts in a simple ZIP snapshot (over 600MB) from https://github.com/google/fonts/archive/main.zip

Sync With Git

You can also sync the collection with git so that you can update by only fetching what has changed. To learn how to use git, Github provides illustrated guides and a youtube channel, and an interactive learning lab. Free, open-source git applications are available for Windows and Mac OS X.

License

It is important to always read the license for every font that you use. Each font family directory contains the appropriate license file for the fonts in that directory. The fonts files themselves also contain licensing and authorship metadata.

Most of the fonts in the collection use the SIL Open Font License, v1.1. Some fonts use the Apache 2 license. The Ubuntu fonts use the Ubuntu Font License v1.0.

The SIL Open Font License has an option for copyright holders to include a Reserved Font Name requirement, and this option is used with some of the fonts. If you modify those fonts, please take care of this important detail.

Source Files

Source files for each family are often available from the designer, or from github.com/googlefonts

These fonts are usually the result of collaborative projects, where you are invited to discuss issues with the designers and even contribute to their ongoing development.

When customizing or remixing fonts, please do contact the designers to understand what they might need in order to include your improvements.

Most of all: Enjoy the fonts!

The Google Fonts team