1
0
mirror of https://github.com/google/fonts.git synced 2024-11-29 03:14:44 +03:00
fonts/tools
2016-03-11 16:52:38 -05:00
..
encodings encodings/namelist.py -> namelist.py 2016-03-11 16:52:38 -05:00
util Update tools. Most notably allow lower threshold for detecting -ext subsets. 2016-02-04 18:26:44 -05:00
add_font.py tools/add_font.py Fix bug with directory path 2016-02-29 23:27:37 -05:00
compare_font.py Update tools. Most notably allow lower threshold for detecting -ext subsets. 2016-02-04 18:26:44 -05:00
font-metadata.csv Adding font-metadata.csv 2016-02-08 20:04:47 -05:00
fonts_public_pb2.py tools/*.py chmod +x 2016-01-12 12:37:06 -05:00
fonts_public.proto updated fonts_public.proto with copyright 2016-01-11 08:34:30 -08:00
LICENSE.txt tools/: Add LICENSE.txt, clarify in tool/README.md 2015-12-14 15:22:21 +05:30
namelist.py encodings/namelist.py -> namelist.py 2016-03-11 16:52:38 -05:00
README.md tools/README.md Clarifications 2016-02-19 08:54:50 -05:00
sanity_check.py Update tools. Most notably allow lower threshold for detecting -ext subsets. 2016-02-04 18:26:44 -05:00
space_check.py Update tools. Most notably allow lower threshold for detecting -ext subsets. 2016-02-04 18:26:44 -05:00
unicode_names.py Mark flag required so we get a nicer message if omitted 2016-03-09 12:44:25 -08:00
what_subsets.py Update tools. Most notably allow lower threshold for detecting -ext subsets. 2016-02-04 18:26:44 -05:00

Tools

Sample Usage

Compare fonts:

python compare_font.py font1.ttf font2.ttf;

Add a METADATA.pb to a family directory

python add_font.py ../ofl/newfamily;

Sanity check a family directory:

python sanity_check.py --repair_script=/tmp/fix.py ../ofl/josefinsans;
python sanity_check.py --repair_script=/tmp/fix.py --fix_type=fsSelection ../ufl;

Dependencies

To use compare_font.py and sanity_check.py you will need:

These can be installed with pip:

sudo easy_install pip;
sudo pip install google-apputils protobuf git+git://github.com/behdad/fonttools.git;

License

The tools and files under this directory are available under the Apache License v2.0, for details see LICENSE.txt