Skip to content

Commit

Permalink
Merge pull request #16 from digitalfabrik/fix-fonts-in-layers
Browse files Browse the repository at this point in the history
fix fonts in layers
  • Loading branch information
f1sh1918 committed Sep 7, 2023
2 parents 82e72b4 + b1b0eed commit 1efaecb
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions style.json
Original file line number Diff line number Diff line change
Expand Up @@ -1300,7 +1300,7 @@
"filter": ["all", ["==", "$type", "LineString"]],
"layout": {
"text-field": "{name}",
"text-font": ["Roboto Regular"],
"text-font": ["Noto Sans Regular"],
"text-max-width": 5,
"text-size": 12,
"symbol-placement": "line"
Expand All @@ -1319,7 +1319,7 @@
"filter": ["==", "$type", "Point"],
"layout": {
"text-field": "{name}",
"text-font": ["Roboto Regular"],
"text-font": ["Noto Sans Regular"],
"text-max-width": 5,
"text-size": 12
},
Expand All @@ -1339,7 +1339,7 @@
"icon-image": "{class}_11",
"text-anchor": "left",
"text-field": "{name_de}",
"text-font": ["Roboto Condensed Italic"],
"text-font": ["Noto Sans Italic"],
"text-max-width": 9,
"text-offset": [0.9, 0],
"text-size": 12
Expand All @@ -1361,7 +1361,7 @@
"symbol-placement": "line",
"text-anchor": "center",
"text-field": "{name}",
"text-font": ["Roboto Regular"],
"text-font": ["Noto Sans Regular"],
"text-offset": [0, 0.15],
"text-size": {"base": 1, "stops": [[13, 12], [14, 13]]}
},
Expand All @@ -1385,7 +1385,7 @@
"symbol-placement": {"base": 1, "stops": [[10, "point"], [11, "line"]]},
"symbol-spacing": 500,
"text-field": "{ref}",
"text-font": ["Roboto Regular"],
"text-font": ["Noto Sans Regular"],
"text-offset": [0, 0.1],
"text-rotation-alignment": "viewport",
"text-size": 10,
Expand All @@ -1403,7 +1403,7 @@
],
"layout": {
"text-field": "{name_de}",
"text-font": ["Roboto Condensed Italic"],
"text-font": ["Noto Sans Italic"],
"text-letter-spacing": 0.1,
"text-max-width": 9,
"text-size": {"base": 1.2, "stops": [[12, 10], [15, 14]]},
Expand All @@ -1423,7 +1423,7 @@
"filter": ["all", ["==", "class", "village"]],
"layout": {
"text-field": "{name_de}",
"text-font": ["Roboto Regular"],
"text-font": ["Noto Sans Regular"],
"text-max-width": 8,
"text-size": {"base": 1.2, "stops": [[10, 12], [15, 22]]}
},
Expand All @@ -1443,7 +1443,7 @@
"icon-image": {"base": 1, "stops": [[0, "dot_9"], [8, ""]]},
"text-anchor": "bottom",
"text-field": "{name_de}",
"text-font": ["Roboto Regular"],
"text-font": ["Noto Sans Regular"],
"text-max-width": 8,
"text-offset": [0, 0],
"text-size": {"base": 1.2, "stops": [[7, 12], [11, 16]]}
Expand All @@ -1465,7 +1465,7 @@
"icon-image": {"base": 1, "stops": [[0, "dot_9"], [8, ""]]},
"text-anchor": "bottom",
"text-field": "{name_de}",
"text-font": ["Roboto Medium"],
"text-font": ["Noto Sans Bold"],
"text-max-width": 8,
"text-offset": [0, 0],
"text-size": {"base": 1.2, "stops": [[7, 14], [11, 24]]},
Expand All @@ -1487,7 +1487,7 @@
"filter": ["all", ["==", "class", "state"]],
"layout": {
"text-field": "{name_de}",
"text-font": ["Roboto Condensed Italic"],
"text-font": ["Noto Sans Italic"],
"text-size": {"stops": [[4, 11], [6, 15]]},
"text-transform": "uppercase"
},
Expand All @@ -1505,7 +1505,7 @@
"filter": ["all", [">=", "rank", 3], ["==", "class", "country"]],
"layout": {
"text-field": "{name_de}",
"text-font": ["Roboto Condensed Italic"],
"text-font": ["Noto Sans Italic"],
"text-max-width": 6.25,
"text-size": {"stops": [[3, 11], [7, 17]]},
"text-transform": "none"
Expand All @@ -1525,7 +1525,7 @@
"filter": ["all", ["==", "rank", 2], ["==", "class", "country"]],
"layout": {
"text-field": "{name_de}",
"text-font": ["Roboto Condensed Italic"],
"text-font": ["Noto Sans Italic"],
"text-max-width": 6.25,
"text-size": {"stops": [[2, 11], [5, 17]]},
"text-transform": "none"
Expand All @@ -1545,7 +1545,7 @@
"filter": ["all", ["==", "rank", 1], ["==", "class", "country"]],
"layout": {
"text-field": "{name_de}",
"text-font": ["Roboto Condensed Italic"],
"text-font": ["Noto Sans Italic"],
"text-max-width": 6.25,
"text-size": {"stops": [[1, 11], [4, 17]]},
"text-transform": "none"
Expand All @@ -1566,7 +1566,7 @@
"filter": ["all", ["==", "class", "continent"]],
"layout": {
"text-field": "{name_de}",
"text-font": ["Roboto Condensed Italic"],
"text-font": ["Noto Sans Italic"],
"text-size": 13,
"text-transform": "uppercase",
"text-justify": "center"
Expand Down

0 comments on commit 1efaecb

Please sign in to comment.