mapnik/tests/data/good_maps/rtl_text_map.xml

18 lines
903 B
XML
Raw Normal View History

2011-02-05 03:21:22 +00:00
<!-- nik2img.py -b 60 46 80 28 rtl_text_map.xml text_styles.png --><Map background-color="#eee" srs="+init=epsg:4326" minimum-version="0.1.1" font-directory="../fonts/">
<Style name="custom_font">
<Rule>
2011-02-05 03:21:22 +00:00
<TextSymbolizer name="[NAME_FA]" fill="#000" size="20" dy="-2" face-name="XB Zar Regular" halo-fill="#fff" halo-radius="2" wrap-width="50" line-spacing="3" allow-overlap="true"/>
<TextSymbolizer name="[NAME_EN]" fill="#000" opacity="0.6" size="10" dy="2" face-name="DejaVu Sans Book" text-transform="uppercase" halo-fill="#fff" halo-radius="2" character-spacing="3" wrap-width="50" line-spacing="4" allow-overlap="true"/>
</Rule>
</Style>
<Layer srs="+init=epsg:4326">
<StyleName>custom_font</StyleName>
<Datasource>
<Parameter name="file">../shp/farsi-labels</Parameter>
<Parameter name="type">shape</Parameter>
</Datasource>
</Layer>
2011-02-05 03:21:22 +00:00
</Map>