mapnik/tests/visual_tests/styles/text-font-features.xml

105 lines
15 KiB
XML
Raw Normal View History

2014-09-12 19:08:49 +00:00
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map[
<!ENTITY step "36">
<!ENTITY size1 "26">
<!ENTITY size2 "14">
]>
<Map background-color="white" font-directory="../fonts/glukfonts">
2014-12-09 15:31:23 +00:00
<Parameters>
<Parameter name="sizes">1100, 1100</Parameter>
</Parameters>
<Layer name="layer">
2014-09-12 19:08:49 +00:00
<StyleName>My Style</StyleName>
<Datasource>
<Parameter name="type">csv</Parameter>
<Parameter name="extent">-1,-1,1,1</Parameter>
<Parameter name="inline">
id, wkt, dx, features, text
1, "POINT(-0.95 0.9)", 270, "liga 1, dlig 1", "first"
2, "POINT(-0.95 0.9)", 350, "smcp 1", "The first"
3, "POINT(-0.95 0.9)", 500, "sups[1:] 1", "1st"
4, "POINT(-0.95 0.9)", 560, "frac 1, numr 1, dnom 1", "1/2 1/3 1/4"
5, "POINT(-0.95 0.9)", 750, "zero 1, onum 1", "0123456789"
6, "POINT(-0.95 0.9)", 950, "", ""
2014-09-12 19:08:49 +00:00
</Parameter>
</Datasource>
</Layer>
<Style name="My Style">
<Rule>
<Filter>[id] = 1</Filter>
<TextSymbolizer face-name="Foglihten Regular" size="14" dx="-10" dy=" 0 * 36" horizontal-alignment="right">"Foglihten Regular" </TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Bold" size="14" dx="-10" dy=" 1 * 36" horizontal-alignment="right">"DejaVu Sans Bold" </TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Bold Oblique" size="14" dx="-10" dy=" 2 * 36" horizontal-alignment="right">"DejaVu Sans Bold Oblique" </TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Book" size="14" dx="-10" dy=" 3 * 36" horizontal-alignment="right">"DejaVu Sans Book" </TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Condensed" size="14" dx="-10" dy=" 4 * 36" horizontal-alignment="right">"DejaVu Sans Condensed" </TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Condensed Bold" size="14" dx="-10" dy=" 5 * 36" horizontal-alignment="right">"DejaVu Sans Condensed Bold" </TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Condensed Bold Oblique" size="14" dx="-10" dy=" 6 * 36" horizontal-alignment="right">"DejaVu Sans Condensed Bold Oblique"</TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Condensed Oblique" size="14" dx="-10" dy=" 7 * 36" horizontal-alignment="right">"DejaVu Sans Condensed Oblique" </TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans ExtraLight" size="14" dx="-10" dy=" 8 * 36" horizontal-alignment="right">"DejaVu Sans ExtraLight" </TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Mono Bold" size="14" dx="-10" dy=" 9 * 36" horizontal-alignment="right">"DejaVu Sans Mono Bold" </TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Mono Bold Oblique" size="14" dx="-10" dy="10 * 36" horizontal-alignment="right">"DejaVu Sans Mono Bold Oblique" </TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Mono Book" size="14" dx="-10" dy="11 * 36" horizontal-alignment="right">"DejaVu Sans Mono Book" </TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Mono Oblique" size="14" dx="-10" dy="12 * 36" horizontal-alignment="right">"DejaVu Sans Mono Oblique" </TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Oblique" size="14" dx="-10" dy="13 * 36" horizontal-alignment="right">"DejaVu Sans Oblique" </TextSymbolizer>
<TextSymbolizer face-name="DejaVu Serif Bold" size="14" dx="-10" dy="14 * 36" horizontal-alignment="right">"DejaVu Serif Bold" </TextSymbolizer>
<TextSymbolizer face-name="DejaVu Serif Bold Italic" size="14" dx="-10" dy="15 * 36" horizontal-alignment="right">"DejaVu Serif Bold Italic" </TextSymbolizer>
<TextSymbolizer face-name="DejaVu Serif Book" size="14" dx="-10" dy="16 * 36" horizontal-alignment="right">"DejaVu Serif Book" </TextSymbolizer>
<TextSymbolizer face-name="DejaVu Serif Condensed" size="14" dx="-10" dy="17 * 36" horizontal-alignment="right">"DejaVu Serif Condensed" </TextSymbolizer>
<TextSymbolizer face-name="DejaVu Serif Condensed Bold" size="14" dx="-10" dy="18 * 36" horizontal-alignment="right">"DejaVu Serif Condensed Bold" </TextSymbolizer>
<TextSymbolizer face-name="DejaVu Serif Condensed Bold Italic" size="14" dx="-10" dy="19 * 36" horizontal-alignment="right">"DejaVu Serif Condensed Bold Italic"</TextSymbolizer>
<TextSymbolizer face-name="DejaVu Serif Condensed Italic" size="14" dx="-10" dy="20 * 36" horizontal-alignment="right">"DejaVu Serif Condensed Italic" </TextSymbolizer>
<TextSymbolizer face-name="DejaVu Serif Italic" size="14" dx="-10" dy="21 * 36" horizontal-alignment="right">"DejaVu Serif Italic" </TextSymbolizer>
</Rule>
<Rule>
<Filter>[id] != 6</Filter>
<TextSymbolizer face-name="Foglihten Regular" size="26" dx="[dx]" dy=" 0 * 36" horizontal-alignment="right" font-feature-settings="[features]">[text]</TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Bold" size="26" dx="[dx]" dy=" 1 * 36" horizontal-alignment="right" font-feature-settings="[features]">[text]</TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Bold Oblique" size="26" dx="[dx]" dy=" 2 * 36" horizontal-alignment="right" font-feature-settings="[features]">[text]</TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Book" size="26" dx="[dx]" dy=" 3 * 36" horizontal-alignment="right" font-feature-settings="[features]">[text]</TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Condensed" size="26" dx="[dx]" dy=" 4 * 36" horizontal-alignment="right" font-feature-settings="[features]">[text]</TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Condensed Bold" size="26" dx="[dx]" dy=" 5 * 36" horizontal-alignment="right" font-feature-settings="[features]">[text]</TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Condensed Bold Oblique" size="26" dx="[dx]" dy=" 6 * 36" horizontal-alignment="right" font-feature-settings="[features]">[text]</TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Condensed Oblique" size="26" dx="[dx]" dy=" 7 * 36" horizontal-alignment="right" font-feature-settings="[features]">[text]</TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans ExtraLight" size="26" dx="[dx]" dy=" 8 * 36" horizontal-alignment="right" font-feature-settings="[features]">[text]</TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Mono Bold" size="26" dx="[dx]" dy=" 9 * 36" horizontal-alignment="right" font-feature-settings="[features]">[text]</TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Mono Bold Oblique" size="26" dx="[dx]" dy="10 * 36" horizontal-alignment="right" font-feature-settings="[features]">[text]</TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Mono Book" size="26" dx="[dx]" dy="11 * 36" horizontal-alignment="right" font-feature-settings="[features]">[text]</TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Mono Oblique" size="26" dx="[dx]" dy="12 * 36" horizontal-alignment="right" font-feature-settings="[features]">[text]</TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Oblique" size="26" dx="[dx]" dy="13 * 36" horizontal-alignment="right" font-feature-settings="[features]">[text]</TextSymbolizer>
<TextSymbolizer face-name="DejaVu Serif Bold" size="26" dx="[dx]" dy="14 * 36" horizontal-alignment="right" font-feature-settings="[features]">[text]</TextSymbolizer>
<TextSymbolizer face-name="DejaVu Serif Bold Italic" size="26" dx="[dx]" dy="15 * 36" horizontal-alignment="right" font-feature-settings="[features]">[text]</TextSymbolizer>
<TextSymbolizer face-name="DejaVu Serif Book" size="26" dx="[dx]" dy="16 * 36" horizontal-alignment="right" font-feature-settings="[features]">[text]</TextSymbolizer>
<TextSymbolizer face-name="DejaVu Serif Condensed" size="26" dx="[dx]" dy="17 * 36" horizontal-alignment="right" font-feature-settings="[features]">[text]</TextSymbolizer>
<TextSymbolizer face-name="DejaVu Serif Condensed Bold" size="26" dx="[dx]" dy="18 * 36" horizontal-alignment="right" font-feature-settings="[features]">[text]</TextSymbolizer>
<TextSymbolizer face-name="DejaVu Serif Condensed Bold Italic" size="26" dx="[dx]" dy="19 * 36" horizontal-alignment="right" font-feature-settings="[features]">[text]</TextSymbolizer>
<TextSymbolizer face-name="DejaVu Serif Condensed Italic" size="26" dx="[dx]" dy="20 * 36" horizontal-alignment="right" font-feature-settings="[features]">[text]</TextSymbolizer>
<TextSymbolizer face-name="DejaVu Serif Italic" size="26" dx="[dx]" dy="21 * 36" horizontal-alignment="right" font-feature-settings="[features]">[text]</TextSymbolizer>
</Rule>
<Rule>
<Filter>[id] = 6</Filter>
<TextSymbolizer face-name="Foglihten Regular" size="26" dx="[dx]" dy=" 0 * 36" horizontal-alignment="right">"H"<Format font-feature-settings="subs 1">"2"</Format>"SO"<Format font-feature-settings="subs 1">"4"</Format></TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Bold" size="26" dx="[dx]" dy=" 1 * 36" horizontal-alignment="right">"H"<Format font-feature-settings="subs 1">"2"</Format>"SO"<Format font-feature-settings="subs 1">"4"</Format></TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Bold Oblique" size="26" dx="[dx]" dy=" 2 * 36" horizontal-alignment="right">"H"<Format font-feature-settings="subs 1">"2"</Format>"SO"<Format font-feature-settings="subs 1">"4"</Format></TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Book" size="26" dx="[dx]" dy=" 3 * 36" horizontal-alignment="right">"H"<Format font-feature-settings="subs 1">"2"</Format>"SO"<Format font-feature-settings="subs 1">"4"</Format></TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Condensed" size="26" dx="[dx]" dy=" 4 * 36" horizontal-alignment="right">"H"<Format font-feature-settings="subs 1">"2"</Format>"SO"<Format font-feature-settings="subs 1">"4"</Format></TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Condensed Bold" size="26" dx="[dx]" dy=" 5 * 36" horizontal-alignment="right">"H"<Format font-feature-settings="subs 1">"2"</Format>"SO"<Format font-feature-settings="subs 1">"4"</Format></TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Condensed Bold Oblique" size="26" dx="[dx]" dy=" 6 * 36" horizontal-alignment="right">"H"<Format font-feature-settings="subs 1">"2"</Format>"SO"<Format font-feature-settings="subs 1">"4"</Format></TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Condensed Oblique" size="26" dx="[dx]" dy=" 7 * 36" horizontal-alignment="right">"H"<Format font-feature-settings="subs 1">"2"</Format>"SO"<Format font-feature-settings="subs 1">"4"</Format></TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans ExtraLight" size="26" dx="[dx]" dy=" 8 * 36" horizontal-alignment="right">"H"<Format font-feature-settings="subs 1">"2"</Format>"SO"<Format font-feature-settings="subs 1">"4"</Format></TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Mono Bold" size="26" dx="[dx]" dy=" 9 * 36" horizontal-alignment="right">"H"<Format font-feature-settings="subs 1">"2"</Format>"SO"<Format font-feature-settings="subs 1">"4"</Format></TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Mono Bold Oblique" size="26" dx="[dx]" dy="10 * 36" horizontal-alignment="right">"H"<Format font-feature-settings="subs 1">"2"</Format>"SO"<Format font-feature-settings="subs 1">"4"</Format></TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Mono Book" size="26" dx="[dx]" dy="11 * 36" horizontal-alignment="right">"H"<Format font-feature-settings="subs 1">"2"</Format>"SO"<Format font-feature-settings="subs 1">"4"</Format></TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Mono Oblique" size="26" dx="[dx]" dy="12 * 36" horizontal-alignment="right">"H"<Format font-feature-settings="subs 1">"2"</Format>"SO"<Format font-feature-settings="subs 1">"4"</Format></TextSymbolizer>
<TextSymbolizer face-name="DejaVu Sans Oblique" size="26" dx="[dx]" dy="13 * 36" horizontal-alignment="right">"H"<Format font-feature-settings="subs 1">"2"</Format>"SO"<Format font-feature-settings="subs 1">"4"</Format></TextSymbolizer>
<TextSymbolizer face-name="DejaVu Serif Bold" size="26" dx="[dx]" dy="14 * 36" horizontal-alignment="right">"H"<Format font-feature-settings="subs 1">"2"</Format>"SO"<Format font-feature-settings="subs 1">"4"</Format></TextSymbolizer>
<TextSymbolizer face-name="DejaVu Serif Bold Italic" size="26" dx="[dx]" dy="15 * 36" horizontal-alignment="right">"H"<Format font-feature-settings="subs 1">"2"</Format>"SO"<Format font-feature-settings="subs 1">"4"</Format></TextSymbolizer>
<TextSymbolizer face-name="DejaVu Serif Book" size="26" dx="[dx]" dy="16 * 36" horizontal-alignment="right">"H"<Format font-feature-settings="subs 1">"2"</Format>"SO"<Format font-feature-settings="subs 1">"4"</Format></TextSymbolizer>
<TextSymbolizer face-name="DejaVu Serif Condensed" size="26" dx="[dx]" dy="17 * 36" horizontal-alignment="right">"H"<Format font-feature-settings="subs 1">"2"</Format>"SO"<Format font-feature-settings="subs 1">"4"</Format></TextSymbolizer>
<TextSymbolizer face-name="DejaVu Serif Condensed Bold" size="26" dx="[dx]" dy="18 * 36" horizontal-alignment="right">"H"<Format font-feature-settings="subs 1">"2"</Format>"SO"<Format font-feature-settings="subs 1">"4"</Format></TextSymbolizer>
<TextSymbolizer face-name="DejaVu Serif Condensed Bold Italic" size="26" dx="[dx]" dy="19 * 36" horizontal-alignment="right">"H"<Format font-feature-settings="subs 1">"2"</Format>"SO"<Format font-feature-settings="subs 1">"4"</Format></TextSymbolizer>
<TextSymbolizer face-name="DejaVu Serif Condensed Italic" size="26" dx="[dx]" dy="20 * 36" horizontal-alignment="right">"H"<Format font-feature-settings="subs 1">"2"</Format>"SO"<Format font-feature-settings="subs 1">"4"</Format></TextSymbolizer>
<TextSymbolizer face-name="DejaVu Serif Italic" size="26" dx="[dx]" dy="21 * 36" horizontal-alignment="right">"H"<Format font-feature-settings="subs 1">"2"</Format>"SO"<Format font-feature-settings="subs 1">"4"</Format></TextSymbolizer>
2014-09-12 19:08:49 +00:00
</Rule>
</Style>
</Map>