summaryrefslogtreecommitdiff
path: root/scripts/common_tests.py
diff options
context:
space:
mode:
authorRoozbeh Pournader <roozbeh@google.com>2015-01-13 10:00:04 -0800
committerJames Godfrey-Kittle <jamesgk@google.com>2015-04-16 12:16:25 -0700
commitd5d62b219ca099784b732927035e37a2470c5c04 (patch)
treec662d49ffd429bf3d9c24dd92395f55714afe4bf /scripts/common_tests.py
parent29257870e8eb50be42c0e36f70c88817c0a9ce50 (diff)
Fix name table overrides for condensed fonts.
Fixes issue 104 and issue 105.
Diffstat (limited to 'scripts/common_tests.py')
-rw-r--r--scripts/common_tests.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/common_tests.py b/scripts/common_tests.py
index e766487..9e6f4c7 100644
--- a/scripts/common_tests.py
+++ b/scripts/common_tests.py
@@ -145,6 +145,11 @@ class TestNames(FontTest):
if 16 in records:
self.assertEqual(records[16], records[1])
+ def test_postscript_name_for_spaces(self):
+ """Tests that there are no spaces in PostScript names."""
+ for records in self.names:
+ self.assertFalse(' ' in records[6])
+
class TestDigitWidths(FontTest):
"""Tests the width of digits."""