1
0
mirror of https://github.com/google/fonts.git synced 2024-11-28 11:00:21 +03:00
Font files available from Google Fonts, and a public issue tracker for all things Google Fonts
Go to file
Felipe Corrêa da Silva Sanches 9276adbf2e
Update CHANGELOG.md
2022-11-14 22:07:27 +00:00
.github/workflows actions: add publish-release 2022-10-20 15:36:53 +01:00
data/test/nunito code test for lang_support.SupportedLanguages() 2022-02-16 06:01:50 -03:00
Lib/gflanguages Remove Chakma exemplars 2022-11-11 12:04:13 +00:00
snippets Add snippets/fix-exemplars-duplicates.py 2022-10-31 18:01:08 +01:00
tests Skip more languages 2022-11-11 12:04:05 +00:00
.gitignore Rename module to gflanguages 2022-02-16 19:56:02 -03:00
AUTHORS.txt Update AUTHORS.txt 2022-02-26 12:46:39 -03:00
CHANGELOG.md Update CHANGELOG.md 2022-11-14 22:07:27 +00:00
CONTRIBUTORS.txt files for license / authors / contributors 2022-02-16 20:38:25 -03:00
dev-requirements.txt Test to detect out-of-script exemplars 2022-11-11 11:45:12 +00:00
LICENSE.txt files for license / authors / contributors 2022-02-16 20:38:25 -03:00
README.md Update README.md, used in gftools and google/fonts 2022-09-12 22:07:10 +02:00
requirements.txt Dropped hyperglot dependency due to licensing. 2022-02-18 16:11:25 -03:00
setup.py Update setup.py 2022-11-10 17:01:21 +00:00
tox.ini Install uharfbuzz when running tests 2022-10-31 11:14:02 +00:00

This python module provides an API with data about languages/regions/scripts for use in the language-support categorization of the font families in the Google Fonts collection.

You can also directly access the raw textproto files on the Lib/gflanguages/data directory:

Most of the code in this project was copied from the gftools repository (https://github.com/googlefonts/gftools/) so that language/region/script data can be easily available to all our tools without having to also get the large dependency tree of gftools. The most immediate user of this module is Font Bakery, which needs to validate language support on font binaries being checked. (see https://github.com/googlefonts/fontbakery/issues/3605)

The second obvious user of this gflanguages module is gftools itself.

Language/region/script definitions and the gflanguages modules are used as a subtree in the google/fonts repo, on its lang/ directory (https://github.com/google/fonts/tree/main/lang).

This module is the main place to update these definitions, avoiding data duplication and guaranteeing uniformity across tools.