parent
54c7e64bc9
commit
82dfcdcda6
7 changed files with 62 additions and 0 deletions
|
@ -0,0 +1,36 @@
|
|||
{
|
||||
"keys": [
|
||||
"",
|
||||
"-5",
|
||||
"-7",
|
||||
"-3"
|
||||
],
|
||||
"data": {},
|
||||
"grid": [
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" !! ! ## ",
|
||||
" ! !!! ### ",
|
||||
" $ $$ $$$$ $ $$$$$$$$$ $$ $ $$$$$ !!!!!! !!!!!!!!!!!!!!!!!!!! ################### ",
|
||||
" $ $ $ $ $$ $ $ $ $ $ $$$ ! ! ! ! ! ! !! ## # ### # # # ",
|
||||
" $$$ $ $ $ $ $ $ $ $ $$ $ ! ! ! !!!! ! !!! !!! ! ! # # # ### # # # ",
|
||||
" $ $ $ $ $$ $ $$ $ ! !!!! !! ! ! ! ! ! ! # # # # ### # # ",
|
||||
" $$ $ $ $ $ $$ ! ! ! ! !!! ! !! # # # # ## # ",
|
||||
" $ $$ $ ! ! ## ## # ",
|
||||
" ### ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" "
|
||||
]
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 3.4 KiB |
Binary file not shown.
After Width: | Height: | Size: 3.2 KiB |
Binary file not shown.
After Width: | Height: | Size: 7.8 KiB |
Binary file not shown.
After Width: | Height: | Size: 7.1 KiB |
25
tests/visual_tests/styles/text-bengali.xml
Normal file
25
tests/visual_tests/styles/text-bengali.xml
Normal file
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!DOCTYPE Map>
|
||||
<Map background-color="white" srs="+proj=latlong +datum=WGS84" font-directory="/usr/share/fonts/truetype/lohit-bengali/">
|
||||
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
|
||||
<StyleName>My Style</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="type">osm</Parameter>
|
||||
<Parameter name="file">../data/points.osm</Parameter>
|
||||
</Datasource>
|
||||
</Layer>
|
||||
<Style name="My Style">
|
||||
<Rule>
|
||||
<Filter>[nr] = "3"</Filter>
|
||||
<TextSymbolizer face-name="Lohit Bengali Regular" size="30" placement="point" dy="0">"গোপালগঞ্জ"</TextSymbolizer>
|
||||
</Rule>
|
||||
<Rule>
|
||||
<Filter>[nr] = "5"</Filter>
|
||||
<TextSymbolizer face-name="Lohit Bengali Regular" size="30" placement="point" dy="0">"ঝিনাইদহ"</TextSymbolizer>
|
||||
</Rule>
|
||||
<Rule>
|
||||
<Filter>[nr] = "7"</Filter>
|
||||
<TextSymbolizer face-name="Lohit Bengali Regular" size="30" placement="point" dy="0">"কুষ্টিয়া"</TextSymbolizer>
|
||||
</Rule>
|
||||
</Style>
|
||||
</Map>
|
|
@ -82,6 +82,7 @@ text_tests = [
|
|||
{'name': "text-expressionformat-color", 'sizes':[(800, 100)], '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 = [
|
||||
|
|
Loading…
Reference in a new issue