1
0
mirror of https://github.com/google/fonts.git synced 2024-11-27 13:35:02 +03:00
Font files available from Google Fonts, and a public issue tracker for all things Google Fonts
Go to file
Chris Simpkins 7443395948
Sync axisregistry subtree and resolve conflicts (#5072)
* Creating `flair.svg`

* y_transparent_descender.textproto Use depth, not height

* weight and width textprotos updated to say stroke weight

* update tox

* run black

* wip name builder

* add build_fvar_instances

* black

* wip linked values

* fix vf name table generation for sibling fonts

* add nameID25

* black

* test static name table generation

* rm local stuff

* add prelim fvar instance check

* improve fvar instance checks

* cleanup stat tests

* run black

* fix tests

* ignore egg-info

* ignore _version

* refactor name check

* Add VF tests

* black

* add logging

* clean up

* convert AxisRegistry into a class

* clean up

* use enums

* replace old family name with new name

* add test for style name which is not part of the allowed static fonts

* add nameID25 checks

* add build filename

* fix replacing names

* simplyify

* implement Simon feedback

* Add wonky example

* do not delete stat name ids if they are used in the fvar table

* do not delete name records which are needed elsehwere

* implement simon feedback

* actions: publish release added

* build_fvar_instances: support fonts which lack wght axis

* AxisRegistry: add items method

* add _fvar_instance_collision.

Determine whether a family of fonts will have fvar instances which collide

* add axis ordering

* fix fvar_collision heuristic

* black

* Don't delete name IDs which are shared with the STAT table

* Update __init__.py

* build_fvar_instances: fix typo

* fix dependencies

* black

* update tox

* tox black: ignore _version.py

* Move nameid25 to its own func

* make family_name optional

* EGRD custom axis added

Co-authored-by: Elliot Jay Stocks <elliot@elliotjaystocks.com>
Co-authored-by: Dave Crossland <dave@lab6.com>
Co-authored-by: Marc Foley <m.foley.88@gmail.com>
Co-authored-by: Nathan Williams <nlw2sx@virginia.edu>
Co-authored-by: Simon Cozens <simon@simon-cozens.org>
Co-authored-by: Viviana Monsalve <viviana.monsalve.a@gmail.com>
2022-08-17 23:30:44 -04:00
.ci ci: ensure designer filenames are ascii (#4263) 2022-02-01 09:46:05 +00:00
.github Update knowledge_graph.py (#4928) 2022-07-12 14:51:44 -07:00
apache [gftools-packager] Roboto: Version 3.005; 2022 added (#5058) 2022-08-11 11:45:03 +01:00
axisregistry Sync axisregistry subtree and resolve conflicts (#5072) 2022-08-17 23:30:44 -04:00
catalog Designer added: Tina Anderson (#4860) 2022-07-28 12:41:54 +02:00
cc-by-sa Remove backdrop rect (#5089) 2022-08-17 10:32:08 -07:00
lang Lang update from subtree (#5088) 2022-08-17 23:23:27 -04:00
ofl Per peer review, Nabla should not declare cyrillic-ext (#5087) 2022-08-17 09:24:53 -07:00
ufl Undo rollback, remove languages from METADATA [n-z]* (#4707) 2022-05-23 16:18:59 -07: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 Remove submodules. 2022-03-10 00:31:23 -08:00
AUTHORS.txt Update and rename AUTHORS to AUTHORS.txt 2021-10-21 08:50:41 -06:00
CODE_OF_CONDUCT.md Add a code of conduct 2021-08-05 08:33:36 -06:00
CONTRIBUTING.md Update CONTRIBUTING.md 2022-06-21 00:48:36 -04:00
CONTRIBUTORS.txt Rename CONTRIBUTORS to CONTRIBUTORS.txt 2022-06-21 00:48:36 -04:00
README.md Update README.md (#5064) 2022-08-17 14:42:47 -05:00
to_production.txt Update to_<env>.txt files (#5071) 2022-08-15 09:20:43 -07:00
to_sandbox.txt Update to_<env>.txt files (#5071) 2022-08-15 09:20:43 -07:00
TRIVIA.md removed extra "exist" (#5042) 2022-08-11 23:31:00 -04:00

CI Status

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 subtree contains metadata for the GF Axis Registry, containing information on variable font axes that can be found in the collection, including experimental axes. As a subtree, no changes should be made directly to this repo, instead please use the upstream, github.com/googlefonts/axisregistry

The /lang subtree contains language support data, and should also not be changed here but instead upstream. github.com/googlefonts/lang

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.

Contribute Fonts

If you need more context on how to create issues in a GitHub issue tracker, or if you want to contribute a font directly, see CONTRIBUTING

Contributor Code of Conduct

However you choose to contribute, please abide by our code of conduct to keep our community a healthy and welcoming place.

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.

Local installation package managers

For Linux, macOS, FreeBSD, or HaikuOS you can also use fnt, to install single fonts. For RPM, DEB based systems, feel free to try the linked URLs for individual fonts. Others can also use the webservice.

Download All Google Fonts

You can download all Google Fonts in a simple ZIP snapshot (over 1GB) 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