Skip to content

Noto fonts support tools and scripts plus web site generation

License

Notifications You must be signed in to change notification settings

koumaza/nototools

 
 

Repository files navigation

Travis Build Status PyPI pyup

Noto Tools

The nototools python package contains python scripts used to maintain the Noto Fonts project, including the google.com/get/noto website.

Installation

On Mac OS X, install dependencies with homebrew

# used to ask for pygtk as well
brew install harfbuzz cairo pango imagemagick

Install python dependencies,

pip install -r requirements.txt

Then install nototools. Since nototools changes frequently, installing using 'editable' mode is recommended:

pip install -e .

Usage

The following scripts are provided:

  • autofix_for_release.py
  • add_vs_cmap.py
  • coverage.py
  • create_image.py
  • decompose_ttc.py
  • drop_hints.py
  • dump_otl.py
  • fix_khmer_and_lao_coverage.py
  • fix_noto_cjk_thin.py
  • generate_sample_text.py
  • generate_website_2_data.py
  • merge_noto.py
  • merge_fonts.py
  • noto_lint.py
  • scale.py
  • subset.py
  • subset_symbols.py
  • test_vertical_extents.py

The following tools are provided:

  • notodiff

How to cut a new release

Use git tag -a to make a new annotated tag, or git tag -s for a GPG-signed annotated tag, if you prefer.

Name the new tag with with a leading 'v' followed by three MAJOR.MINOR.PATCH digits, like in semantic versioning. Look at the existing tags for examples.

In the tag message write some short release notes describing the changes since the previous tag.

Finally, push the tag to the remote repository (e.g. assuming upstream is called origin):

$ git push origin v0.4.3

This will trigger the CI to build the distribution packages and upload them to the Python Package Index automatically, if all the tests pass successfully.

About

Noto fonts support tools and scripts plus web site generation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 97.7%
  • Shell 1.1%
  • JavaScript 0.4%
  • C 0.4%
  • Makefile 0.3%
  • CSS 0.1%