From d9afce16c2c7d69f5504640cf08c9a1201683ee1 Mon Sep 17 00:00:00 2001 From: Hermann Kraus Date: Fri, 29 Jun 2012 00:58:28 +0200 Subject: [PATCH] Revert "Add tests for international text." This reverts commit 0caebc52aeeca3f0d93669dd0a388aa678c15a2c. --- tests/visual_tests/styles/harfbuzz.xml | 46 -------------------------- tests/visual_tests/test.py | 9 ++--- 2 files changed, 3 insertions(+), 52 deletions(-) delete mode 100644 tests/visual_tests/styles/harfbuzz.xml diff --git a/tests/visual_tests/styles/harfbuzz.xml b/tests/visual_tests/styles/harfbuzz.xml deleted file mode 100644 index af0891bfd..000000000 --- a/tests/visual_tests/styles/harfbuzz.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - - My Style - - shape - ../data/points.shp - - - - - - diff --git a/tests/visual_tests/test.py b/tests/visual_tests/test.py index 57de9ac81..86e03122f 100755 --- a/tests/visual_tests/test.py +++ b/tests/visual_tests/test.py @@ -44,8 +44,7 @@ files = [ {'name': "rtl-point", 'sizes': [(200, 200)]}, {'name': "jalign-auto", 'sizes': [(200, 200)]}, {'name': "line-offset", 'sizes':[(900, 250)], - 'bbox': mapnik.Box2d(-5.192, 50.189, -5.174, 50.195)}, - {'name': "harfbuzz"}, + 'bbox': mapnik.Box2d(-5.192, 50.189, -5.174, 50.195)} ] def render(filename, width, height, bbox, quiet=False): @@ -79,11 +78,9 @@ if __name__ == "__main__": quiet = False if len(sys.argv) == 2: - files = [{"name": sys.argv[1], "sizes": sizes_few_square}] + files = [(sys.argv[1], (500, 500))] elif len(sys.argv) > 2: - files = [] - for name in argv[1:]: - files.append({"name": name}) + files = [sys.argv[1:]] for f in files: config = dict(defaults)