From 7392523d22e26c646c91d1ee9442f01c2ac53720 Mon Sep 17 00:00:00 2001 From: Hermann Kraus Date: Sat, 23 Mar 2013 13:55:07 +0100 Subject: [PATCH] Fixed tests. Results: AGG with scale factor 1.0: pass Others: fail --- tests/visual_tests/test.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/visual_tests/test.py b/tests/visual_tests/test.py index b17741ad3..9b1f4d819 100755 --- a/tests/visual_tests/test.py +++ b/tests/visual_tests/test.py @@ -59,7 +59,7 @@ files = [ {'name': "whole-centroid", 'sizes':[(600,400)], 'bbox': mapnik.Box2d(736908, 4390316, 2060771, 5942346)}, {'name': "text-halo-rasterizer", 'sizes':[(600,400)]}, - {'name': "simple-E", 'bbox':mapnik.Box2d(-0.05, -0.01, 0.95, 0.01)}, + {'name': "simple-E", 'bbox':default_text_box}, {'name': "simple-NE",'bbox':default_text_box}, {'name': "simple-NW",'bbox':default_text_box}, {'name': "simple-N",'bbox':default_text_box}, @@ -76,10 +76,10 @@ files = [ {'name': "shieldsymbolizer-2", 'bbox':default_text_box}, {'name': "shieldsymbolizer-3", 'bbox':default_text_box}, {'name': "shieldsymbolizer-4", 'bbox':default_text_box}, - {'name': "orientation", 'sizes': [(800, 200)]}, - {'name': "hb-fontsets", 'sizes': [(800, 200)]}, - {'name': "charspacing", 'sizes': [(200, 400)]}, - {'name': "line_break", 'sizes': [(800, 800)]}, + {'name': "orientation", 'sizes': [(800, 200)], 'bbox':default_text_box}, + {'name': "hb-fontsets", 'sizes': [(800, 200)], 'bbox':default_text_box}, + {'name': "charspacing", 'sizes': [(200, 400)], 'bbox':default_text_box}, + {'name': "line_break", 'sizes': [(800, 800)], 'bbox':default_text_box}, {'name': "rtl-point", 'sizes': [(200, 200)],'bbox':default_text_box}, {'name': "jalign-auto", 'sizes': [(200, 200)],'bbox':default_text_box}, {'name': "line-offset", 'sizes':[(900, 250)],'bbox': mapnik.Box2d(-5.192, 50.189, -5.174, 50.195)},