1
0
mirror of https://github.com/google/fonts.git synced 2024-11-24 17:55:45 +03:00
fonts/lang
Rosalie Wagner 396b95a934 Merge commit '9276adbf2e819e63d4e7d4f72f8e83e20932e4a0' into chorasmian
Add missing script to Chorasmian (release v0.4.3)
2022-11-16 17:35:09 +01:00
..
.github/workflows Merge commit '1c70ce4ad0c9254621a466d2dbb08dd41212563a' into subtree-lang 2022-10-21 09:28:23 +01:00
data/test/nunito Delete axisregistry/ and lang/ and rename *_st/ 2022-04-16 09:42:00 -07:00
Lib/gflanguages Merge commit '9276adbf2e819e63d4e7d4f72f8e83e20932e4a0' into chorasmian 2022-11-16 17:35:09 +01:00
snippets Merge commit 'fc503d13ee4b4ca4891998c301a0d7c9bec5dfd6' into merge-lang-updates 2022-11-01 10:55:51 +00:00
tests Merge commit '9276adbf2e819e63d4e7d4f72f8e83e20932e4a0' into chorasmian 2022-11-16 17:35:09 +01:00
.gitignore Delete axisregistry/ and lang/ and rename *_st/ 2022-04-16 09:42:00 -07:00
AUTHORS.txt Delete axisregistry/ and lang/ and rename *_st/ 2022-04-16 09:42:00 -07:00
CHANGELOG.md Merge commit '9276adbf2e819e63d4e7d4f72f8e83e20932e4a0' into chorasmian 2022-11-16 17:35:09 +01:00
CONTRIBUTORS.txt Delete axisregistry/ and lang/ and rename *_st/ 2022-04-16 09:42:00 -07:00
dev-requirements.txt Merge commit '9276adbf2e819e63d4e7d4f72f8e83e20932e4a0' into chorasmian 2022-11-16 17:35:09 +01:00
LICENSE.txt Delete axisregistry/ and lang/ and rename *_st/ 2022-04-16 09:42:00 -07:00
README.md Merge commit '1c70ce4ad0c9254621a466d2dbb08dd41212563a' into subtree-lang 2022-10-21 09:28:23 +01:00
requirements.txt Delete axisregistry/ and lang/ and rename *_st/ 2022-04-16 09:42:00 -07:00
setup.py Merge commit '9276adbf2e819e63d4e7d4f72f8e83e20932e4a0' into chorasmian 2022-11-16 17:35:09 +01:00
tox.ini Merge commit 'fc503d13ee4b4ca4891998c301a0d7c9bec5dfd6' into merge-lang-updates 2022-11-01 10:55:51 +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.