From 40a760e9413f863dcd1eb4080d25fc0bca59ee7b Mon Sep 17 00:00:00 2001 From: nobohan Date: Mon, 26 Jun 2023 10:26:44 +0200 Subject: [PATCH] Cyclosm: remove (deprecated) font warning in mapnik --- run.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/run.sh b/run.sh index 24fe04c..4e5f32b 100755 --- a/run.sh +++ b/run.sh @@ -23,6 +23,11 @@ function compileStyle() { sed -i "s/.zip/.shp/g" ./cyclosm-cartocss-style/project.mml # change dbname sed -i 's/dbname: "osm"/dbname: "gis"/g' ./cyclosm-cartocss-style/project.mml + # remove some deprecated fonts + sed -i 's/, "unifont Medium", "Unifont Upper Medium"//g' ./cyclosm-cartocss-style/fonts.mss + sed -i 's/"Noto Sans Tibetan Regular",//g' ./cyclosm-cartocss-style/fonts.mss + sed -i 's/"Noto Sans Tibetan Bold",//g' ./cyclosm-cartocss-style/fonts.mss + sed -i 's/Noto Sans Syriac Eastern Regular/Noto Sans Syriac Regular/g' ./cyclosm-cartocss-style/fonts.mss # carto build carto cyclosm-cartocss-style/project.mml > mapnik.xml }