mapnik/tests/visual_tests/styles/text-bengali.xml

33 lines
1.2 KiB
XML
Raw Normal View History

2013-10-24 08:59:14 +02:00
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map>
<!--
Lohit bengali from https://fedorahosted.org/releases/l/o/lohit/lohit-bengali-ttf-2.5.3.tar.gz
via https://fedorahosted.org/lohit/
-->
<Map background-color="white" srs="+proj=latlong +datum=WGS84"
font-directory="../fonts/lohit-bengali-ttf-2.5.3/">
2013-10-24 08:59:14 +02:00
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
<StyleName>My Style</StyleName>
<Datasource>
<Parameter name="type">csv</Parameter>
<Parameter name="file">../data/points.csv</Parameter>
<Parameter name="extent">-1,-1,1,1</Parameter>
2013-10-24 08:59:14 +02:00
</Datasource>
</Layer>
<Style name="My Style">
<Rule>
<Filter>[nr] = 3</Filter>
<TextSymbolizer face-name="Lohit Bengali Regular" size="8" placement="point">"গোপালগঞ্জ"</TextSymbolizer>
2013-10-24 08:59:14 +02:00
</Rule>
<Rule>
<Filter>[nr] = 5</Filter>
<TextSymbolizer face-name="Lohit Bengali Regular" size="8" placement="point">"ঝিনাইদহ"</TextSymbolizer>
2013-10-24 08:59:14 +02:00
</Rule>
<Rule>
<Filter>[nr] = 7</Filter>
<TextSymbolizer face-name="Lohit Bengali Regular" size="8" placement="point">"কুষ্টিয়া"</TextSymbolizer>
2013-10-24 08:59:14 +02:00
</Rule>
</Style>
</Map>