add testcase for kurdish language - refs #2666
This commit is contained in:
parent
f300b9f777
commit
89b3e108e6
9 changed files with 86 additions and 0 deletions
1
tests/visual_tests/data/kurdish.geojson
Normal file
1
tests/visual_tests/data/kurdish.geojson
Normal file
|
@ -0,0 +1 @@
|
|||
{"type":"FeatureCollection","features":[{"geometry": {"type": "Polygon", "coordinates": [[[45.99235461770755, 35.16617818635398], [45.99237547481334, 35.165666716102706], [45.9883319556193, 35.16701924991742], [45.98503315932268, 35.16802816771194], [45.98465077664349, 35.16824201497082], [45.984044774393894, 35.168580918688136], [45.982703864274264, 35.16902437556599], [45.982941824198875, 35.16988145146968], [45.98180119214958, 35.1702172614711], [45.98167540989029, 35.171115464425476], [45.98118349000219, 35.17188888811469], [45.98118257351588, 35.17189130120418], [45.98118520294277, 35.17189262520137], [45.98141591839354, 35.172008754469964], [45.9817715310328, 35.17208621350769], [45.98195866241614, 35.172137419232264], [45.982456234288414, 35.17257776515322], [45.98261986736089, 35.17283267173747], [45.98277057407737, 35.17302405638272], [45.9828430371665, 35.1731160783786], [45.98299879846318, 35.173394209566936], [45.983057812786555, 35.17352943153634], [45.9831487132402, 35.173714479900745], [45.9832391909315, 35.173864382594644], [45.98337250743875, 35.174002780114556], [45.98358060951312, 35.1741305255599], [45.983614128418196, 35.17429290527566], [45.984998271926585, 35.17494025771359], [45.985503122177235, 35.17533338838655], [45.98563551268088, 35.1754929891916], [45.9855120048533, 35.17561896784981], [45.98528005787102, 35.17576814496443], [45.985243464015, 35.17588895300947], [45.98523921329984, 35.175987179747615], [45.9854067972843, 35.17641346444306], [45.98546604021096, 35.17638203432208], [45.98566919624024, 35.176204989630754], [45.98588010956655, 35.17609621562221], [45.98614970285299, 35.17606061391415], [45.986241215011326, 35.175980903902754], [45.98643781904411, 35.17572115216145], [45.986716230383735, 35.175497177478626], [45.98684542342492, 35.1754748652814], [45.98714950242998, 35.175232457670376], [45.987415361220286, 35.174851261651696], [45.98763307056997, 35.17453909841], [45.98775755148155, 35.174366871894236], [45.98807690380486, 35.17392502625692], [45.98846346482826, 35.17346934786799], [45.98878718553586, 35.17301721809507], [45.989187907688006, 35.17250979019988], [45.98954772289579, 35.17198447417625], [45.989585422334436, 35.171895118764624], [45.98974187786492, 35.171524287970755], [45.989881809226, 35.171167805980126], [45.99011666870779, 35.17069987563794], [45.99043436059051, 35.1700669033653], [45.99094380841713, 35.169322908439376], [45.990969742353364, 35.16928503338455], [45.9917288510691, 35.16826376024745], [45.99241306812511, 35.16757424989188], [45.99232151994116, 35.16698977062805], [45.99232378055641, 35.16693434427973], [45.99235461770755, 35.16617818635398]]]}, "type": "Feature", "id": 0, "properties": {"SHAPE_Leng": 3482.72819018, "name": "\u0645\u06d5\u0631\u062f\u0627\u0646\u06d5", "OBJECTID": 18, "cod": 304}},{"geometry": {"type": "Polygon", "coordinates": [[[45.98722649037926, 35.183624290617544], [45.987694657098906, 35.18305705675576], [45.98788575418974, 35.183114119382275], [45.988246802424854, 35.182792014516096], [45.98886726351255, 35.182272384087966], [45.99011092666733, 35.181461064564616], [45.990113317285974, 35.18145959423118], [45.989698155982346, 35.180991387216835], [45.989676568168335, 35.180967039962795], [45.98925361550881, 35.180490036088415], [45.989245816636014, 35.1804900997902], [45.988644419931106, 35.179777800934694], [45.98849214631859, 35.17962101142376], [45.987854624445134, 35.17896457692938], [45.986958722900035, 35.178221621157746], [45.986814668681916, 35.17810215662015], [45.98592225090038, 35.17752553482369], [45.985816358488464, 35.17745711316335], [45.985597813207775, 35.17735206705087], [45.98513331321101, 35.177526406450646], [45.98506152654518, 35.17755253020057], [45.98506111324195, 35.17755268053467], [45.983815809900484, 35.178005864496704], [45.983142460616385, 35.178320198354555], [45.98290398141986, 35.178628174253], [45.98241097095343, 35.179504266537506], [45.981445999402155, 35.180736545049434], [45.980665670625335, 35.181612300048], [45.9822171301062, 35.18256811973268], [45.98287836726639, 35.18307021974068], [45.98265949303153, 35.18326450822969], [45.98360245818601, 35.18387019489621], [45.98599593461372, 35.1854075046119], [45.986008957647385, 35.185290260659606], [45.98613648925261, 35.18501077172678], [45.986229324708134, 35.18481461094534], [45.98630473469067, 35.18475146049714], [45.98638248549415, 35.184686350540005], [45.986853335010366, 35.184093858492105], [45.98704359678535, 35.183854437131586], [45.98722649037926, 35.183624290617544]]]}, "type": "Feature", "id": 1, "properties": {"SHAPE_Leng": 2569.64415823, "name": "\u0645\u06d5\u0631\u0632\u06d5\u0628\u06c6\u062a\u06c6", "OBJECTID": 19, "cod": 101}}]}
|
BIN
tests/visual_tests/fonts/Noto/NotoNaskhArabic-Regular.ttf
Normal file
BIN
tests/visual_tests/fonts/Noto/NotoNaskhArabic-Regular.ttf
Normal file
Binary file not shown.
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
"keys": [
|
||||
"",
|
||||
"1"
|
||||
],
|
||||
"data": {},
|
||||
"grid": [
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" !! ",
|
||||
" !! ",
|
||||
" !!! ",
|
||||
" !! !! ",
|
||||
" !!! !! ",
|
||||
" ! !! ",
|
||||
" ! !! ! ",
|
||||
" !! !! ! !!! ",
|
||||
" !!! ! !! !!! ! !!!! !! ",
|
||||
" !!!!! !! !! !! !! !!!!! !!!! ",
|
||||
" !!! !! !!! !! !!! !! !! !! !!!!!! ",
|
||||
" !! !! !! !! !! !!! !! !! !! !!! ",
|
||||
" ! !! !! ! !! !! ! !! !! !! "
|
||||
]
|
||||
}
|
|
@ -0,0 +1,34 @@
|
|||
{
|
||||
"keys": [
|
||||
"",
|
||||
"1"
|
||||
],
|
||||
"data": {},
|
||||
"grid": [
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" ",
|
||||
" !! ",
|
||||
" !!!! ",
|
||||
" !!!! ",
|
||||
" !!!! ",
|
||||
" !!!!! ",
|
||||
" ! !!!!! ",
|
||||
" !!! !!!!! ",
|
||||
" !!!!! !!!! ",
|
||||
" !!!!!!! !!!! ",
|
||||
" !!!!!! !!!! ",
|
||||
" !!!! !!!! ",
|
||||
" ! !!!! ",
|
||||
" ! !!!! ! ",
|
||||
" !! !!!! !!! ",
|
||||
" !!! !!! !! !!!! ",
|
||||
" !!!! !! !!! !!!! !!!! ",
|
||||
" !!!! !!! !!! !!!! !!!!! !! ",
|
||||
" !!!!!! !!! !!! !!!! !! !!!!!!! !!!!! ",
|
||||
" !!!!!!!! !!!!! !!! !!!!! !!!! !!!!!!!!! !!!!!!! ",
|
||||
" !!!!!!!!!! !!!!! !!! !!!!! !!!! !!!!!!!!!! !!!!!!!!!"
|
||||
]
|
||||
}
|
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.5 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.9 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
17
tests/visual_tests/styles/kurdish-text.xml
Normal file
17
tests/visual_tests/styles/kurdish-text.xml
Normal file
|
@ -0,0 +1,17 @@
|
|||
<Map font-directory="../fonts/Noto/NotoNaskhArabic-Regular.ttf">
|
||||
|
||||
<Style name="style">
|
||||
<Rule>
|
||||
<TextSymbolizer face-name="Noto Naskh Arabic Regular" size="100">[name]</TextSymbolizer>
|
||||
</Rule>
|
||||
</Style>
|
||||
|
||||
<Layer name="layer">
|
||||
<StyleName>style</StyleName>
|
||||
<Datasource>
|
||||
<Parameter name="file">../data/kurdish.geojson</Parameter>
|
||||
<Parameter name="type">ogr</Parameter>
|
||||
<Parameter name="layer_by_index">0</Parameter>
|
||||
</Datasource>
|
||||
</Layer>
|
||||
</Map>
|
Loading…
Reference in a new issue