From 27a0156dd08b16cb8c62fb201c6233097e0850dc Mon Sep 17 00:00:00 2001 From: SomeoneElseOSM Date: Thu, 4 Aug 2022 14:15:57 +0100 Subject: [PATCH] Get fonts.sh (#201) * Update manually-building-a-tile-server-ubuntu-22-04-lts.md Added text to say to run "scripts/get-fonts.sh" * Update manually-building-a-tile-server-20-04-lts.md Added text to say to run scripts/get-fonts.sh * Update manually-building-a-tile-server-debian-11.md Added text to say to run scripts/get-fonts.sh . * Update manually-building-a-tile-server-18-04-lts.md Added text to say to run scripts/get-fonts.sh --- .../manually-building-a-tile-server-18-04-lts.md | 8 +++++--- .../manually-building-a-tile-server-20-04-lts.md | 8 +++++--- .../manually-building-a-tile-server-debian-11.md | 7 ++++++- .../manually-building-a-tile-server-ubuntu-22-04-lts.md | 7 ++++++- 4 files changed, 22 insertions(+), 8 deletions(-) diff --git a/serving-tiles/manually-building-a-tile-server-18-04-lts.md b/serving-tiles/manually-building-a-tile-server-18-04-lts.md index fbc7177..ad383a7 100644 --- a/serving-tiles/manually-building-a-tile-server-18-04-lts.md +++ b/serving-tiles/manually-building-a-tile-server-18-04-lts.md @@ -254,11 +254,13 @@ This process involves a sizable download and may take some time - not much will ## Fonts -The names used for places around the world aren't always written with latin characters (the familar western alphabet a-z). To install the necessary fonts do the following: +In version v5.6.0 and above of Carto, fonts need to be installed manually: - sudo apt-get install fonts-noto-cjk fonts-noto-hinted fonts-noto-unhinted ttf-unifont +cd ~/src/openstreetmap-carto/ +scripts/get-fonts.sh + +Our test data area (Azerbaijan) was chosen both because it was a small area and because some place names in that region have names containing non-latin characters. -OpenSteetMap Carto's own installation instructions also suggest installing "Noto Emoji Regular" from source. That is needed for the emojis in an American shop name, apparently. All the other international fonts that are likely to be needed (including ones often not supported) are including in the list just installed. # Setting up your webserver ## Configure renderd diff --git a/serving-tiles/manually-building-a-tile-server-20-04-lts.md b/serving-tiles/manually-building-a-tile-server-20-04-lts.md index 046e518..d2053ba 100644 --- a/serving-tiles/manually-building-a-tile-server-20-04-lts.md +++ b/serving-tiles/manually-building-a-tile-server-20-04-lts.md @@ -237,11 +237,13 @@ This process involves a sizable download and may take some time - not much will ## Fonts -The names used for places around the world aren't always written with latin characters (the familar western alphabet a-z). To install the necessary fonts do the following: +In version v5.6.0 and above of Carto, fonts need to be installed manually: - sudo apt install fonts-noto-cjk fonts-noto-hinted fonts-noto-unhinted ttf-unifont + cd ~/src/openstreetmap-carto/ + scripts/get-fonts.sh + +Our test data area (Azerbaijan) was chosen both because it was a small area and because some place names in that region have names containing non-latin characters. -OpenSteetMap Carto's own installation instructions also suggest installing "Noto Emoji Regular" from source. That is needed for the emojis in an American shop name, apparently. All the other international fonts that are likely to be needed (including ones often not supported) are including in the list just installed. # Setting up your webserver ## Configure renderd diff --git a/serving-tiles/manually-building-a-tile-server-debian-11.md b/serving-tiles/manually-building-a-tile-server-debian-11.md index 4be3269..43dc970 100644 --- a/serving-tiles/manually-building-a-tile-server-debian-11.md +++ b/serving-tiles/manually-building-a-tile-server-debian-11.md @@ -189,7 +189,12 @@ This process involves a sizable download and may take some time - not much will ## Fonts -We installed fonts above. OpenSteetMap Carto's own installation instructions also suggest installing "Noto Emoji Regular" from source. All the other international fonts that are likely to be needed (including ones often not supported) are including in the list previously installed. Our test data area (Azerbaijan) was chosen both because it was a small area and because some place names in that region have names containing non-latin characters. +In version v5.6.0 and above of Carto, fonts need to be installed manually: + + cd ~/src/openstreetmap-carto/ + scripts/get-fonts.sh + +Our test data area (Azerbaijan) was chosen both because it was a small area and because some place names in that region have names containing non-latin characters. # Setting up your webserver ## Configure renderd diff --git a/serving-tiles/manually-building-a-tile-server-ubuntu-22-04-lts.md b/serving-tiles/manually-building-a-tile-server-ubuntu-22-04-lts.md index e7b92db..193e21c 100644 --- a/serving-tiles/manually-building-a-tile-server-ubuntu-22-04-lts.md +++ b/serving-tiles/manually-building-a-tile-server-ubuntu-22-04-lts.md @@ -191,7 +191,12 @@ This process involves a sizable download and may take some time - not much will ## Fonts -We installed fonts above. OpenStreetMap Carto's own installation instructions also suggest installing "Noto Emoji Regular" from source. All the other international fonts that are likely to be needed (including ones often not supported) are including in the list previously installed. Our test data area (Azerbaijan) was chosen both because it was a small area and because some place names in that region have names containing non-latin characters. +In version v5.6.0 and above of Carto, fonts need to be installed manually: + + cd ~/src/openstreetmap-carto/ + scripts/get-fonts.sh + +Our test data area (Azerbaijan) was chosen both because it was a small area and because some place names in that region have names containing non-latin characters. # Setting up your webserver ## Configure renderd