]> git.ipfire.org Git - thirdparty/google/fonts.git/commitdiff
Merge commit '1c70ce4ad0c9254621a466d2dbb08dd41212563a' into subtree-lang 5451/head
authorMarc Foley <m.foley.88@gmail.com>
Fri, 21 Oct 2022 08:28:23 +0000 (09:28 +0100)
committerMarc Foley <m.foley.88@gmail.com>
Fri, 21 Oct 2022 08:28:23 +0000 (09:28 +0100)
1  2 
lang/.github/workflows/publish-release.yml
lang/Lib/gflanguages/data/languages/vi_Latn.textproto
lang/Lib/gflanguages/data/languages/yo_Latn.textproto
lang/README.md
lang/setup.py

index 0000000000000000000000000000000000000000,a07aecc529dbaa53de8fda457c4aaf655df36357..a07aecc529dbaa53de8fda457c4aaf655df36357
mode 000000,100644..100644
--- /dev/null
diff --cc lang/README.md
index 3702eb9d9a708c86e7fc8aa12b61ec5ef58a7ba5,0000000000000000000000000000000000000000..fc2fda709ba2fd882c2a9c9bd5fd3e6e0451fffe
mode 100644,000000..100644
--- /dev/null
@@@ -1,14 -1,0 +1,14 @@@
- The second obvious user of this `gflanguages` module will be `gftools` itself. I'll be sending a pull request soon.
 +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)
 +
- 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.
++The second obvious user of this `gflanguages` module is `gftools` itself.
 +
- 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.
++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.
diff --cc lang/setup.py
Simple merge