diff --git a/tests/visual_tests/grids/text-bengali-800-100-1.0-grid-reference.json b/tests/visual_tests/grids/text-bengali-800-100-1.0-grid-reference.json new file mode 100644 index 000000000..31ade9b7f --- /dev/null +++ b/tests/visual_tests/grids/text-bengali-800-100-1.0-grid-reference.json @@ -0,0 +1,36 @@ +{ + "keys": [ + "", + "-5", + "-7", + "-3" + ], + "data": {}, + "grid": [ + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " ", + " !! ! ## ", + " ! !!! ### ", + " $ $$ $$$$ $ $$$$$$$$$ $$ $ $$$$$ !!!!!! !!!!!!!!!!!!!!!!!!!! ################### ", + " $ $ $ $ $$ $ $ $ $ $ $$$ ! ! ! ! ! ! !! ## # ### # # # ", + " $$$ $ $ $ $ $ $ $ $ $$ $ ! ! ! !!!! ! !!! !!! ! ! # # # ### # # # ", + " $ $ $ $ $$ $ $$ $ ! !!!! !! ! ! ! ! ! ! # # # # ### # # ", + " $$ $ $ $ $ $$ ! ! ! ! !!! ! !! # # # # ## # ", + " $ $$ $ ! ! ## ## # ", + " ### ", + " ", + " ", + " ", + " ", + " ", + " ", + " " + ] +} \ No newline at end of file diff --git a/tests/visual_tests/images/text-bengali-800-100-1.0-agg-reference.png b/tests/visual_tests/images/text-bengali-800-100-1.0-agg-reference.png new file mode 100644 index 000000000..626a0bf50 Binary files /dev/null and b/tests/visual_tests/images/text-bengali-800-100-1.0-agg-reference.png differ diff --git a/tests/visual_tests/images/text-bengali-800-100-1.0-cairo-reference.png b/tests/visual_tests/images/text-bengali-800-100-1.0-cairo-reference.png new file mode 100644 index 000000000..7efa8a747 Binary files /dev/null and b/tests/visual_tests/images/text-bengali-800-100-1.0-cairo-reference.png differ diff --git a/tests/visual_tests/images/text-bengali-800-100-2.0-agg-reference.png b/tests/visual_tests/images/text-bengali-800-100-2.0-agg-reference.png new file mode 100644 index 000000000..952027251 Binary files /dev/null and b/tests/visual_tests/images/text-bengali-800-100-2.0-agg-reference.png differ diff --git a/tests/visual_tests/images/text-bengali-800-100-2.0-cairo-reference.png b/tests/visual_tests/images/text-bengali-800-100-2.0-cairo-reference.png new file mode 100644 index 000000000..bdc8fe1aa Binary files /dev/null and b/tests/visual_tests/images/text-bengali-800-100-2.0-cairo-reference.png differ diff --git a/tests/visual_tests/styles/text-bengali.xml b/tests/visual_tests/styles/text-bengali.xml new file mode 100644 index 000000000..7780dd05d --- /dev/null +++ b/tests/visual_tests/styles/text-bengali.xml @@ -0,0 +1,25 @@ + + + + + My Style + + osm + ../data/points.osm + + + + diff --git a/tests/visual_tests/test.py b/tests/visual_tests/test.py index 521304ad4..cdeb9be00 100755 --- a/tests/visual_tests/test.py +++ b/tests/visual_tests/test.py @@ -83,6 +83,7 @@ text_tests = [ {'name': "text-halign", 'sizes': [(800,800)], 'bbox':default_text_box}, # Disabled by default as the required font isn't shipped with mapnik #{'name': "text-malayalam", 'sizes':[(800, 100)], 'bbox':default_text_box}, + {'name': "text-bengali", 'sizes':[(800, 100)], 'bbox':default_text_box}, ] tiff_tests = [