Better text positions.
This commit is contained in:
parent
0af19a226c
commit
f2e2483109
1 changed files with 10 additions and 7 deletions
|
@ -16,18 +16,18 @@
|
|||
</Rule>
|
||||
<Rule>
|
||||
<!-- This is an easy test to ensure text shaping actually works. Ligatures are rendered when harfbuzz is used, but not with the old text rendering system. -->
|
||||
<Filter>[nr] = "1"</Filter>
|
||||
<TextSymbolizer face-name="DejaVu Sans Book" size="36" placement="point" dy="16">"fi"</TextSymbolizer>
|
||||
<TextSymbolizer face-name="DejaVu Sans Book" size="36" placement="point" dy="-16">"mixed نامجو Text"</TextSymbolizer>
|
||||
<Filter>[nr] = "3"</Filter>
|
||||
<TextSymbolizer face-name="DejaVu Sans Book" size="16" placement="point" dy="-16">"Ligature: fi"</TextSymbolizer>
|
||||
<TextSymbolizer face-name="DejaVu Sans Book" size="16" placement="point" dy="16">"mixed نامجو Text"</TextSymbolizer>
|
||||
</Rule>
|
||||
<Rule>
|
||||
<!-- In addition to the problem mentioned in the bug report (which seems to be gone) this the position is calculated incorrectly -->
|
||||
<Filter>[nr] = "3"</Filter>
|
||||
<TextSymbolizer face-name="DejaVu Sans Book" size="36" placement="point" dy="16">"نامجو 17"</TextSymbolizer>
|
||||
<TextSymbolizer face-name="DejaVu Sans Book" size="10" placement="point" dy="-16">"#519"</TextSymbolizer>
|
||||
<Filter>[nr] = "1"</Filter>
|
||||
<TextSymbolizer face-name="DejaVu Sans Book" size="16" placement="point" dy="-16">"نامجو 17"</TextSymbolizer>
|
||||
<TextSymbolizer face-name="DejaVu Sans Book" size="10" placement="point" dy="16">"#519"</TextSymbolizer>
|
||||
</Rule>
|
||||
<Rule>
|
||||
<Filter>[nr] = "5"</Filter>
|
||||
<Filter>[nr] = "6"</Filter>
|
||||
<TextSymbolizer face-name="DejaVu Sans Book" size="36" placement="point" dy="-16">"زنقة الملاح"</TextSymbolizer>
|
||||
<TextSymbolizer face-name="DejaVu Sans Book" size="10" placement="point" dy="16">"#1154"</TextSymbolizer>
|
||||
</Rule>
|
||||
|
@ -36,5 +36,8 @@
|
|||
<TextSymbolizer face-name="DejaVu Sans Book" size="36" placement="point" dy="-16">"أڭادير"</TextSymbolizer>
|
||||
<TextSymbolizer face-name="DejaVu Sans Book" size="10" placement="point" dy="16">"#1146"</TextSymbolizer>
|
||||
</Rule>
|
||||
<Rule>
|
||||
<DebugSymbolizer />
|
||||
</Rule>
|
||||
</Style>
|
||||
</Map>
|
||||
|
|
Loading…
Reference in a new issue