2010-09-26 23:50:37 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
2010-10-07 19:34:36 +00:00
|
|
|
<!-- nik2img.py -b 60 46 80 28 rtl_text_map.xml text_styles.png -->
|
|
|
|
|
|
|
|
<Map
|
|
|
|
background-color="#eee"
|
|
|
|
srs="+init=epsg:4326"
|
|
|
|
font_directory="../fonts/"
|
|
|
|
minimum_version="0.1.1"
|
|
|
|
>
|
|
|
|
|
2010-09-26 23:50:37 +00:00
|
|
|
<Style name="custom_font">
|
|
|
|
<Rule>
|
|
|
|
<TextSymbolizer
|
|
|
|
name="[NAME_FA]"
|
|
|
|
face_name="XB Zar Regular"
|
|
|
|
fill="#000"
|
|
|
|
size="20"
|
|
|
|
halo_fill="#fff"
|
|
|
|
halo_radius="2"
|
|
|
|
dy="-2"
|
|
|
|
wrap_width="50"
|
|
|
|
line_spacing="3"
|
|
|
|
allow_overlap="true"
|
|
|
|
/>
|
|
|
|
<TextSymbolizer
|
|
|
|
name="[NAME_EN]"
|
|
|
|
face_name="DejaVu Sans Book"
|
|
|
|
text_transform="uppercase"
|
|
|
|
fill="#000"
|
|
|
|
opacity="0.6"
|
|
|
|
size="10"
|
|
|
|
halo_fill="#fff"
|
|
|
|
halo_radius="2"
|
|
|
|
character_spacing="3"
|
|
|
|
dy="2"
|
|
|
|
wrap_width="50"
|
|
|
|
line_spacing="4"
|
|
|
|
allow_overlap="true"
|
|
|
|
/>
|
|
|
|
</Rule>
|
|
|
|
</Style>
|
|
|
|
|
2010-10-07 19:34:36 +00:00
|
|
|
<Layer srs="+init=epsg:4326">
|
2010-09-26 23:50:37 +00:00
|
|
|
<StyleName>custom_font</StyleName>
|
|
|
|
<Datasource>
|
|
|
|
<Parameter name="file">../shp/farsi-labels</Parameter>
|
|
|
|
<Parameter name="type">shape</Parameter>
|
|
|
|
</Datasource>
|
|
|
|
</Layer>
|
|
|
|
|
|
|
|
</Map>
|