Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 1.24 KB

README.md

File metadata and controls

23 lines (16 loc) · 1.24 KB

noto-mirror

Mirror a selection of Noto fonts to support full Unicode support in PyGfx.

Details

  • 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.

Maintenance

  • Run python update fonts to download a subset of the Noto font collection to the fonts 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.
  • Run python update docs to update the web page in the docs folder (which is the source for GH pages).
  • Run python update meta to update the meta data (index and stats) in the meta folder.