1
0
mirror of https://github.com/google/fonts.git synced 2024-12-03 02:26:11 +03:00
fonts/tools
Alexei Vanyashin 99970f2280 Optimisation of GF Cyrillic glyph sets (#556)
* Removed old Orthography Abkhaz glyphs U+04A6 Ҧ and U+04A7 ҧ in favour of U+0524..0525 Ԥԥ.

Abkhaz glyphs U+04A6 Ҧ and U+04A7 ҧ have been replaced by U+0524 Ԥ and U+0525 ԥ
http://www.unicode.org/L2/L2008/08144r-n3435r-abkhaz.pdf
This update reflects modern Abkhaz preferences, and reduces labour-time for GF Cyrillic Pro.

* Moved Yakut from Plus to Pro. Affected glyphs Ҕ U+0494 ҕ U+0495.

Following the removal of Ҧ, makes sence to simplify the GF Plus set.

* updated README to reflect updates to CYR glyph sets

* moved ҳ U+04B3 from Pro to Plus to support Karakalpak in Plus
2016-12-20 22:29:37 -02:00
..
encodings Optimisation of GF Cyrillic glyph sets (#556) 2016-12-20 22:29:37 -02:00
experimental add missing ; 2016-06-23 14:59:41 -07:00
util Update tools. Most notably allow lower threshold for detecting -ext subsets. 2016-02-04 18:26:44 -05:00
add_font.py Minor tools updates 2016-04-08 07:50:24 -07: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 font-metadata.csv updated 2016-06-15 10:51:53 -04: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
nametest.nam name update 2016-06-28 00:00:51 -04:00
rangify.py Add back tool/rangify.py from hg repo 2016-05-06 13:45:36 -04:00
README.md tools/README.md pip install with --user 2016-08-05 00:58:46 -04:00
sanity_check.py Minor tools updates 2016-04-08 07:50:24 -07: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 Minor tools updates 2016-04-08 07:50:24 -07: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;
pip install --user 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