mapnik/tests/visual_tests/grids/lines-7-200-200-1.0-grid-reference.json
Matt Amos 17626d5501 Added visual test for multi-line label alignment.
Calculation of label alignment in multi-line labels seems to be
off. This test reproduces it by laying out a series of multi-line
labels along an S-shaped curve. In all these cases, the vertical
bar character should, to within a few pixels, line up. The
orientation at sharper corners is still a little off, but likely
due to discontinuities.
2014-01-28 19:10:04 +00:00

59 lines
No EOL
2.8 KiB
JSON

{
"keys": [
"",
"1"
],
"data": {},
"grid": [
" ",
" !! ",
" ! !!! ",
" ! ",
" ! !!! ! ",
" ! ! ! !! ",
" ! !! ! ! ",
" ! ! !! ",
" ! ! !!!! !! !!!! !!",
" !! ! !! !! ! !!!",
" ! !! !!! ! !!!! !! ! !!!",
" ! !! !!!! !! ! !! !! ! ",
" ! ! !! ! !! !! ! !! ! ",
" ! ! ! !! ! ! !! ! ",
" !! !! !! !! ! ! !!!",
" ! !! ! ! !",
" ! ! ! ! ! ! !",
" ! !! ! ! ! !! !! ! ",
" ! ! ! ! ! ! !! ! !!! ",
" !! !! ! ! !! !! !! !! ! ",
" !!!! !! ! !! !! !! !! ",
" !! ! ! ! ! !! ! ",
" !! !! !!!! !! ",
" ! !! !!! ! !! ! ! ! ! ",
" ! ! ! !! ! ! ! ",
" ! ! ! ! ! !! !! ! ! ! ",
" !! !! ! ! !! ! ",
" ! ! !! ",
" ! ! !! ! !! ! ! ",
" ! !! ! ! ! ! ! ! !! ",
" ! !! ! ! !! !! !! ! ",
" ! !! !! !! !! ! ! !! ! ",
" !!! ! ! ! !! ! ",
" ! ! !! ! ",
" ! ! ! ! ! ! ! ",
" ! ! !! !! ! ",
" !!!!! ! ! !! ! !!! ! ! ",
" ! !! ! ! !! ! ! !! ! ! ! ",
" !! !! ! !! !! !! !! ",
" !! !! ! !! !!!! !!! !!! ",
" !!! !! !! ! ! ",
" ! ! ! ! !! ! !!! ! ! ",
" !! !! ! ! ! ! ! ! ",
" ! ! ! !! ",
" ! ! ! !! ! !! ! ",
" ! ! ! !!! ! ! ! ",
" ! ! ! ",
" ! ! ! ",
" ! !!! ! ",
" !! "
]
}