2013-10-24 08:59:14 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!DOCTYPE Map>
|
2013-12-03 07:35:11 +01:00
|
|
|
<Map background-color="white" srs="+proj=latlong +datum=WGS84"
|
|
|
|
font-directory="../fonts/KhmerOS/">
|
|
|
|
|
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>
|
Improved support for international text
- Implementation by @herm for GSOC 2012 (http://mapnik.org/news/2012/10/06/gsoc2012-status9/)
- C++11 port, improvements, optimizations by @artemp
- Testing and integration with master by @springmeyer
- Thank you to all the support from @behdad along the way
- Thanks for help testing @toton6868, @stephankn, @nirvn, @mfrasca, @simonsonc and many others
Refs: #2073,#2070,#2038,#2037,#1953,#1820,#1819,#1714,#1634,#1547,#1532,#1319,#1208,#1154,#1146
2013-11-22 09:06:32 +01:00
|
|
|
<Parameter name="extent">-0.05, -0.01, 0.95, 0.01</Parameter>
|
2013-10-24 08:59:14 +02:00
|
|
|
</Datasource>
|
|
|
|
</Layer>
|
|
|
|
|
|
|
|
<FontSet name="dejavu-first">
|
|
|
|
<Font face-name="DejaVu Sans Book" />
|
|
|
|
<Font face-name="Khmer OS Regular" />
|
|
|
|
</FontSet>
|
|
|
|
|
|
|
|
<FontSet name="khmeros-first">
|
|
|
|
<Font face-name="Khmer OS Regular" />
|
|
|
|
<Font face-name="DejaVu Sans Book" />
|
|
|
|
</FontSet>
|
|
|
|
|
|
|
|
|
|
|
|
<Style name="My Style">
|
|
|
|
<Rule>
|
|
|
|
<Filter>[nr] = 2</Filter>
|
|
|
|
<TextSymbolizer face-name="Khmer OS Regular" size="36" placement="point" dy="-16">"A:ស្ត្រី"</TextSymbolizer>
|
|
|
|
<TextSymbolizer face-name="DejaVu Sans Book" size="9" placement="point" dy="16">"Khmer OS Regular"</TextSymbolizer>
|
|
|
|
</Rule>
|
|
|
|
<Rule>
|
|
|
|
<Filter>[nr] = 4</Filter>
|
|
|
|
<TextSymbolizer face-name="DejaVu Sans Book" size="36" placement="point" dy="-16">"B:ស្ត្រី"</TextSymbolizer>
|
|
|
|
<TextSymbolizer face-name="DejaVu Sans Book" size="9" placement="point" dy="16">"DejaVu Sans Book"</TextSymbolizer>
|
|
|
|
</Rule>
|
|
|
|
<Rule>
|
|
|
|
<Filter>[nr] = 6</Filter>
|
|
|
|
<TextSymbolizer fontset-name="dejavu-first" size="36" placement="point" dy="-16">"C:ស្ត្រី"</TextSymbolizer>
|
|
|
|
<TextSymbolizer face-name="DejaVu Sans Book" size="9" placement="point" dy="16">"FontSet: DejaVu first"</TextSymbolizer>
|
|
|
|
</Rule>
|
|
|
|
<Rule>
|
|
|
|
<Filter>[nr] = 8</Filter>
|
|
|
|
<TextSymbolizer fontset-name="khmeros-first" size="36" placement="point" dy="-16">"D:ស្ត្រី"</TextSymbolizer>
|
|
|
|
<TextSymbolizer face-name="DejaVu Sans Book" size="9" placement="point" dy="16">"FontSet: Khmer OS first"</TextSymbolizer>
|
|
|
|
</Rule>
|
|
|
|
</Style>
|
|
|
|
</Map>
|