Browse Source

Merge pull request #192 from google/test-liga

Update ligature test
James Godfrey-Kittle 8 years ago
parent
commit
f5b8b71730
1 changed files with 10 additions and 0 deletions
  1. 10 0
      scripts/run_general_tests.py

+ 10 - 0
scripts/run_general_tests.py

@@ -1,4 +1,5 @@
 #!/usr/bin/python
+# coding=UTF-8
 #
 # Copyright 2015 Google Inc. All Rights Reserved.
 #
@@ -125,6 +126,15 @@ class TestCharacterCoverage(font_tests.TestCharacterCoverage):
 
 class TestLigatures(font_tests.TestLigatures):
     loaded_fonts = FONTS
+    active = (
+        (None, ('ffi', 'ffl')),
+        ('--features=dlig', ('ff', 'st', u'ſt')),
+    )
+    #TODO uncomment when working
+    #inactive = (
+    #    ('--language=TRK', ('fi', 'ffi')),
+    #)
+    inactive = ()
 
 
 class TestFeatures(font_tests.TestFeatures):