summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoozbeh Pournader <roozbeh@google.com>2014-12-02 09:39:25 -0800
committerJames Godfrey-Kittle <jamesgk@google.com>2015-04-16 12:16:23 -0700
commit471c67c873339e12f98b0cdd4b7ba3446f3a1da6 (patch)
tree964f1ccbb741d5109ae7d1d816cb904ccb9a27e9
parent8f8bee0bdc89cac5f4c28fba36f3495854921110 (diff)
Add missing hints to the Light Italic font.
Four glyphs were missing hints. Fixes issue 100.
-rw-r--r--hinted/Roboto-LightItalic.ttfbin488856 -> 490816 bytes
-rw-r--r--res/buildnumber.txt2
-rwxr-xr-xscripts/run_web_tests.py9
3 files changed, 3 insertions, 8 deletions
diff --git a/hinted/Roboto-LightItalic.ttf b/hinted/Roboto-LightItalic.ttf
index 4544414..f1d0ff8 100644
--- a/hinted/Roboto-LightItalic.ttf
+++ b/hinted/Roboto-LightItalic.ttf
Binary files differ
diff --git a/res/buildnumber.txt b/res/buildnumber.txt
index 210f3c5..c95a1ae 100644
--- a/res/buildnumber.txt
+++ b/res/buildnumber.txt
@@ -1 +1 @@
-01171 \ No newline at end of file
+01172 \ No newline at end of file
diff --git a/scripts/run_web_tests.py b/scripts/run_web_tests.py
index fdf0fe6..de1004d 100755
--- a/scripts/run_web_tests.py
+++ b/scripts/run_web_tests.py
@@ -159,12 +159,6 @@ class TestHints(unittest.TestCase):
def setUp(self):
_, self.fonts = load_fonts()
- # FIXME: remove as soon as issue 100 is fixed
- bad_glyphs = ['uniFB01', 'uniFB02', 'uniFB03',
- 'uniFB04', 'uniFFFC', 'uni048C']
- self.known_missing_hints = [
- (g, 'RobotoDraft Light Italic') for g in bad_glyphs]
-
def test_existance_of_hints(self):
"""Tests all glyphs and makes sure non-composite ones have hints."""
missing_hints = []
@@ -178,7 +172,7 @@ class TestHints(unittest.TestCase):
missing_hints.append(
(glyph_name, font_data.font_name(font)))
- self.assertTrue(missing_hints <= self.known_missing_hints)
+ self.assertTrue(missing_hints == [])
class TestSpacingMarks(unittest.TestCase):
@@ -229,5 +223,6 @@ class TestSpacingMarks(unittest.TestCase):
'The sequence <%04X, %04X> combines, '
'but it should not' % (ord(base_letter), ord(mark)))
+
if __name__ == '__main__':
unittest.main()