Skip to content

Commit

Permalink
front: map: use only Roboto not OpenSans
Browse files Browse the repository at this point in the history
This reduces the number of fonts

Ref #10627

Signed-off-by: Tristram Gräbener <[email protected]>
  • Loading branch information
Tristramg committed Feb 3, 2025
1 parent fd615e7 commit 577e90e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions front/src/assets/mapstyles/OSMBluePrintStyle.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
"text-field": "{housenumber}",
"text-size": 10,
"text-font": [
"Open Sans Regular"
"Roboto Regular"
]
},
"paint": {
Expand Down Expand Up @@ -649,7 +649,7 @@
"layout": {
"text-size": 12,
"text-font": [
"Open Sans Semibold"
"Roboto Semibold"
],
"visibility": "visible",
"text-offset": [
Expand Down Expand Up @@ -686,7 +686,7 @@
"symbol-placement": "line",
"text-field": "{name:latin} {name:nonlatin} {ref}",
"text-font": [
"Open Sans Regular"
"Roboto Regular"
],
"text-transform": "uppercase",
"text-letter-spacing": 0,
Expand Down Expand Up @@ -788,7 +788,7 @@
"layout": {
"text-field": "{name:latin}\n{name:nonlatin}",
"text-font": [
"Open Sans Regular"
"Roboto Regular"
],
"text-max-width": 10,
"text-size": {
Expand Down
8 changes: 4 additions & 4 deletions front/src/assets/mapstyles/OSMDarkStyle.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
"text-field": "{housenumber}",
"text-size": 10,
"text-font": [
"Open Sans Regular"
"Roboto Regular"
]
},
"paint": {
Expand Down Expand Up @@ -656,7 +656,7 @@
"layout": {
"text-size": 12,
"text-font": [
"Open Sans Semibold"
"Roboto Semibold"
],
"visibility": "visible",
"text-offset": [
Expand Down Expand Up @@ -692,7 +692,7 @@
"symbol-placement": "line",
"text-field": "{name:latin} {name:nonlatin} {ref}",
"text-font": [
"Open Sans Regular"
"Roboto Regular"
],
"text-transform": "uppercase",
"text-letter-spacing": 0,
Expand Down Expand Up @@ -792,7 +792,7 @@
"layout": {
"text-field": "{name:latin}\n{name:nonlatin}",
"text-font": [
"Open Sans Regular"
"Roboto Regular"
],
"text-max-width": 10,
"text-size": {
Expand Down

0 comments on commit 577e90e

Please sign in to comment.