From 03c38b407611affba1728d41e210cf961c2607f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristram=20Gr=C3=A4bener?= Date: Mon, 3 Feb 2025 15:13:58 +0100 Subject: [PATCH] front: map: use only Roboto not OpenSans MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reduces the number of fonts Ref #10627 Signed-off-by: Tristram Gräbener --- .osrd-compose-state | 2 ++ front/src/assets/mapstyles/OSMBluePrintStyle.json | 8 ++++---- front/src/assets/mapstyles/OSMDarkStyle.json | 8 ++++---- 3 files changed, 10 insertions(+), 8 deletions(-) create mode 100644 .osrd-compose-state diff --git a/.osrd-compose-state b/.osrd-compose-state new file mode 100644 index 00000000000..72ce8e2392d --- /dev/null +++ b/.osrd-compose-state @@ -0,0 +1,2 @@ +dev-front +sw diff --git a/front/src/assets/mapstyles/OSMBluePrintStyle.json b/front/src/assets/mapstyles/OSMBluePrintStyle.json index dd2dc9032f3..c09726587bd 100644 --- a/front/src/assets/mapstyles/OSMBluePrintStyle.json +++ b/front/src/assets/mapstyles/OSMBluePrintStyle.json @@ -115,7 +115,7 @@ "text-field": "{housenumber}", "text-size": 10, "text-font": [ - "Open Sans Regular" + "Roboto Regular" ] }, "paint": { @@ -649,7 +649,7 @@ "layout": { "text-size": 12, "text-font": [ - "Open Sans Semibold" + "Roboto Semibold" ], "visibility": "visible", "text-offset": [ @@ -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, @@ -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": { diff --git a/front/src/assets/mapstyles/OSMDarkStyle.json b/front/src/assets/mapstyles/OSMDarkStyle.json index aa29b0807bf..ac5d32f8b1e 100644 --- a/front/src/assets/mapstyles/OSMDarkStyle.json +++ b/front/src/assets/mapstyles/OSMDarkStyle.json @@ -115,7 +115,7 @@ "text-field": "{housenumber}", "text-size": 10, "text-font": [ - "Open Sans Regular" + "Roboto Regular" ] }, "paint": { @@ -656,7 +656,7 @@ "layout": { "text-size": 12, "text-font": [ - "Open Sans Semibold" + "Roboto Semibold" ], "visibility": "visible", "text-offset": [ @@ -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, @@ -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": {