diff --git a/tests/visual_tests/styles/text-bug2037.xml b/tests/visual_tests/styles/text-bug2037.xml new file mode 100644 index 000000000..8244ff0d9 --- /dev/null +++ b/tests/visual_tests/styles/text-bug2037.xml @@ -0,0 +1,20 @@ + + + + + My Style + + csv + ../data/points.csv + + + + \ No newline at end of file diff --git a/tests/visual_tests/test.py b/tests/visual_tests/test.py index cdeb9be00..3c6ab8cfc 100755 --- a/tests/visual_tests/test.py +++ b/tests/visual_tests/test.py @@ -79,6 +79,7 @@ text_tests = [ {'name': "text-bug1820-1", 'sizes':[(600, 300)], 'bbox':default_text_box}, {'name': "text-bug1820+0", 'sizes':[(600, 300)], 'bbox':default_text_box}, {'name': "text-bug1820+1", 'sizes':[(600, 300)], 'bbox':default_text_box}, + {'name': "text-bug2037", 'sizes':[(800, 300)], 'bbox':default_text_box}, {'name': "text-expressionformat-color", 'sizes':[(800, 100)], 'bbox':default_text_box}, {'name': "text-halign", 'sizes': [(800,800)], 'bbox':default_text_box}, # Disabled by default as the required font isn't shipped with mapnik