Below are the most important changes from each release.
DATA_DIR
if user passes base_dir=None
, to make it easier to use the API and to avoid problems like this: https://github.com/googlefonts/gftools/pull/511#issuecomment-1060398562lang_support
module. Now one does from gflanguages import LoadLanguages
instead of from gflanguages.lang_support import LoadLanguages
(issue #6)Load_*
methods now accept base_dir as optional argument. (motivated by: https://github.com/googlefonts/gftools/pull/511#issuecomment-1059081028)fonts_public_pb2.py
: https://github.com/protocolbuffers/protobuf/issues/3002gflanguages
python module.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)gflanguages
module will be gftools
itself. I'll be sending a pull request soon.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.