mapnik/tests/visual_tests/styles/lines-6.xml

41 lines
1.3 KiB
XML
Raw Normal View History

2013-10-24 08:59:14 +02:00
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map>
<!-- complex script on line test -->
<Map background-color="white" srs="+proj=latlong +datum=WGS84"
font-directory="../fonts/KhmerOS/">
2014-12-09 16:31:23 +01:00
<Parameters>
<Parameter name="sizes">800, 800; 600, 600; 400, 400; 200, 200</Parameter>
<Parameter name="bbox">-0.05, -0.01, 0.95, 0.01</Parameter>
</Parameters>
2013-10-24 08:59:14 +02:00
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
<StyleName>lines</StyleName>
<StyleName>text</StyleName>
2013-10-24 08:59:14 +02:00
<Datasource>
<Parameter name="type">csv</Parameter>
<Parameter name="file">../data/lines2.csv</Parameter>
</Datasource>
</Layer>
<FontSet name="dejavu-first">
<Font face-name="DejaVu Sans Book" />
<Font face-name="Khmer OS Regular" />
</FontSet>
<Style name="lines">
2013-10-24 08:59:14 +02:00
<Rule>
<LineSymbolizer stroke-width="12" stroke="green"/>
<LineSymbolizer stroke-width="1" stroke="blue" offset="5"/>
</Rule>
</Style>
<Style name="text">
<Rule>
<TextSymbolizer fontset-name="dejavu-first" size="12" placement="line" spacing="20" max-char-angle-delta="0">
2013-10-24 08:59:14 +02:00
"ផ្លូវ​១២៣ abcd"
</TextSymbolizer>
</Rule>
</Style>
</Map>