source: josm/trunk/test/data/renderer/way-text/style.mapcss@ 12477

Last change on this file since 12477 was 12476, checked in by michael2402, 7 years ago

Fix #15006: Separate offset handling for ways, areas and node. Handle offset for all three of them.

File size: 882 bytes
Line 
1canvas {
2 default-points: false;
3 default-lines: false;
4}
5way[test]{
6 font-family: "DejaVu Sans";
7}
8way[test=w1] {
9 text: name;
10 font-size: 12;
11 text-color: blue;
12 text-halo-color: yellow;
13 text-halo-radius: 2;
14 text-offset: 5;
15 color: yellow;
16 width: 2;
17}
18
19way[test=w2] {
20 text: eval("Groß Vahlberger Straße");
21 font-size: 12;
22 text-color: teal;
23 text-halo-color: #ca3;
24 text-halo-radius: 2;
25 color: #ca3;
26 width: 4;
27}
28
29way[test=bidi] { /* bi-directional text #12025 */
30 text: name;
31 font-size: 14;
32 text-color: white;
33 color: blue;
34 width: 16;
35}
36
37way[test=opacity] {
38 text-position: line;
39 text:auto;
40 font-size: 18;
41 text-color: coral;
42 text-opacity: 0.7;
43 text-halo-opacity: 0.4;
44 text-halo-color: cyan;
45 text-halo-radius: 2.5;
46 color: cyan;
47 width: 3;
48 text-offset-y: -5.5;
49}
Note: See TracBrowser for help on using the repository browser.