2013-10-24 06:59:14 +00:00
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map>
<Map background-color= "white" srs= "+proj=latlong +datum=WGS84" >
2014-12-09 15:31:23 +00:00
<Parameters >
<Parameter name= "sizes" > 800, 200</Parameter>
</Parameters>
2013-10-24 06:59:14 +00:00
<Layer name= "layer" srs= "+proj=latlong +datum=WGS84" >
<StyleName > My Style</StyleName>
<Datasource >
<Parameter name= "type" > csv</Parameter>
2014-12-09 15:31:23 +00:00
<Parameter name= "extent" > -0.05, -0.01, 0.95, 0.01</Parameter>
2013-10-24 06:59:14 +00:00
<Parameter name= "file" > ../data/points.csv</Parameter>
</Datasource>
</Layer>
<Style name= "My Style" >
<Rule >
<PointSymbolizer />
</Rule>
<Rule >
<!-- This is an easy test to ensure text shaping actually works. Ligatures are rendered when harfbuzz is used, but not with the old text rendering system. -->
2013-12-03 06:47:04 +00:00
<Filter > [nr] = 3</Filter>
2013-10-24 06:59:14 +00:00
<TextSymbolizer face-name= "DejaVu Sans Book" size= "16" placement= "point" dy= "-16" > "Ligature: fi"</TextSymbolizer>
<TextSymbolizer face-name= "DejaVu Sans Book" size= "16" placement= "point" dy= "16" > "mixed نامجو Text"</TextSymbolizer>
</Rule>
<Rule >
<!-- In addition to the problem mentioned in the bug report (which seems to be gone) this the position is calculated incorrectly -->
2013-12-03 06:47:04 +00:00
<Filter > [nr] = 1</Filter>
2013-10-24 06:59:14 +00:00
<TextSymbolizer face-name= "DejaVu Sans Book" size= "16" placement= "point" dy= "-16" > "نامجو 17"</TextSymbolizer>
<TextSymbolizer face-name= "DejaVu Sans Book" size= "10" placement= "point" dy= "16" > "#519"</TextSymbolizer>
</Rule>
<Rule >
2013-12-03 06:47:04 +00:00
<Filter > [nr] = 6</Filter>
2013-10-24 06:59:14 +00:00
<TextSymbolizer face-name= "DejaVu Sans Book" size= "36" placement= "point" dy= "-16" > "زنقة الملاح"</TextSymbolizer>
<TextSymbolizer face-name= "DejaVu Sans Book" size= "10" placement= "point" dy= "16" > "#1154"</TextSymbolizer>
</Rule>
<Rule >
2013-12-03 06:47:04 +00:00
<Filter > [nr] = 9</Filter>
2013-10-24 06:59:14 +00:00
<TextSymbolizer face-name= "DejaVu Sans Book" size= "36" placement= "point" dy= "-16" > "أڭادير"</TextSymbolizer>
<TextSymbolizer face-name= "DejaVu Sans Book" size= "10" placement= "point" dy= "16" > "#1146"</TextSymbolizer>
</Rule>
<Rule >
<DebugSymbolizer />
</Rule>
</Style>
</Map>