Mirror a selection of Noto fonts to support full Unicode support in PyGfx.
- The web page that lists all fonts is available here.
- The web page lists fonts per category, which are defined in categories.py.
- The meta/stats.md shows statistics about the current fonts.
- The meta/noto_default_index.json is an index:
- It has a field "families" that is a list of all default fonts families.
- It has a field "filenames" that is a list of the matching filenames.
- It has a field "index" that maps Unicode code points to a list of ints. These ints are indices in the above lists.
- Run
python update fonts
to download a subset of the Noto font collection to thefonts
folder.- You need to set
GOOGLE_FONTS_API_KEY
. - If fonts have been added/removed/renamed upstream, you'll need to update update_fonts.py or categories.py.
- You need to set
- Run
python update docs
to update the web page in thedocs
folder (which is the source for GH pages). - Run
python update meta
to update the meta data (index and stats) in themeta
folder.