From a527f8faa39de6957b093b5b3f0c4a128ac3b4b0 Mon Sep 17 00:00:00 2001 From: James Godfrey-Kittle Date: Mon, 31 Aug 2015 16:54:15 -0700 Subject: 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). --- scripts/run_general_tests.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'scripts/run_general_tests.py') 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() -- cgit v1.2.3