From: Marc Foley Date: Fri, 21 Oct 2022 08:28:23 +0000 (+0100) Subject: Merge commit '1c70ce4ad0c9254621a466d2dbb08dd41212563a' into subtree-lang X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F5451%2Fhead;p=thirdparty%2Fgoogle%2Ffonts.git Merge commit '1c70ce4ad0c9254621a466d2dbb08dd41212563a' into subtree-lang --- 337526974cbebea166fdb5a23e4eccd853711cf3 diff --cc lang/.github/workflows/publish-release.yml index 0000000000,a07aecc529..a07aecc529 mode 000000,100644..100644 --- a/lang/.github/workflows/publish-release.yml +++ b/lang/.github/workflows/publish-release.yml diff --cc lang/README.md index 3702eb9d9a,0000000000..fc2fda709b mode 100644,000000..100644 --- a/lang/README.md +++ b/lang/README.md @@@ -1,14 -1,0 +1,14 @@@ +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: +* [`languages`](https://github.com/felipesanches/gflanguages/tree/main/Lib/gflanguages/data/languages) +* [`regions`](https://github.com/felipesanches/gflanguages/tree/main/Lib/gflanguages/data/regions) +* [`scripts`](https://github.com/felipesanches/gflanguages/tree/main/Lib/gflanguages/data/scripts) + +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 will be `gftools` itself. I'll be sending a pull request soon. ++The second obvious user of this `gflanguages` module is `gftools` itself. + - Language/region/script definitions are still being gradualy updated on the `google/fonts` repo, on its **lang/** directory (https://github.com/google/fonts/tree/main/lang) and this `gflanguages` module will try to be kept in sync. ++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). + - Ideally at some point this module would become the main place to update these definitions, avoiding data duplication and guaranteeing uniformity across tools. But that will require coordination with the Google Fonts team, so I hope this module can serve, for now, as a prototype for such proposed integration. ++This module is the main place to update these definitions, avoiding data duplication and guaranteeing uniformity across tools.