diff options
author | James Godfrey-Kittle <jamesgk@google.com> | 2015-08-31 16:54:15 -0700 |
---|---|---|
committer | James Godfrey-Kittle <jamesgk@google.com> | 2015-08-31 16:54:15 -0700 |
commit | a527f8faa39de6957b093b5b3f0c4a128ac3b4b0 (patch) | |
tree | ff47fa90bc78e1b096adf37dde3a4156388805a7 /scripts/run_general_tests.py | |
parent | 9d6cd8e1df2941e63d65e651f3cf4954fd07924c (diff) |
Add test to compare glyph sizes between fonts.
For now, we just check which glyphs are unchanged between the Thin and
Bold masters, and make sure only those glyphs are unchanged between
Thin, Regular, and Bold output (ignoring empty glyphs).
Diffstat (limited to 'scripts/run_general_tests.py')
-rwxr-xr-x | scripts/run_general_tests.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/run_general_tests.py b/scripts/run_general_tests.py index b91e54a..297c37c 100755 --- a/scripts/run_general_tests.py +++ b/scripts/run_general_tests.py @@ -67,6 +67,12 @@ class TestVerticalMetrics(common_tests.TestVerticalMetrics): test_ymin_ymax = None test_hhea_table_metrics = None + +class TestGlyphAreas(common_tests.TestGlyphAreas): + loaded_fonts = UFOS + masters = UFO_MASTERS + + if __name__ == '__main__': unittest.main() |