mapnik/tests/visual_tests/styles/hb-fontsets.xml

46 lines
2.1 KiB
XML
Raw Normal View History

2012-08-02 01:12:52 +02:00
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map>
2013-03-29 16:44:34 +01:00
<Map background-color="white" srs="+proj=latlong +datum=WGS84" font-directory="../fonts">
2012-08-02 01:12:52 +02:00
<Layer name="layer" srs="+proj=latlong +datum=WGS84">
<StyleName>My Style</StyleName>
<Datasource>
<Parameter name="type">osm</Parameter>
<Parameter name="file">../data/points.osm</Parameter>
</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>