From 130cc7f4d157258d75b98dfd5e518fb9bb5ce1c8 Mon Sep 17 00:00:00 2001 From: Zsolt Ero Date: Wed, 27 Dec 2023 21:56:52 +0100 Subject: [PATCH] fonts --- .gitignore | 1 + scripts/styles/fonts/.gitignore | 3 +++ scripts/styles/fonts/download.sh | 15 +++++++++++++++ scripts/styles/fonts/links.txt | 10 ++++++++++ 4 files changed, 29 insertions(+) create mode 100644 scripts/styles/fonts/.gitignore create mode 100755 scripts/styles/fonts/download.sh create mode 100644 scripts/styles/fonts/links.txt diff --git a/.gitignore b/.gitignore index 55f1bbc..a99241d 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ node_modules /temp /rclone-ofm.conf /scripts/tile_gen/extract_mbtiles/out + diff --git a/scripts/styles/fonts/.gitignore b/scripts/styles/fonts/.gitignore new file mode 100644 index 0000000..5c251bb --- /dev/null +++ b/scripts/styles/fonts/.gitignore @@ -0,0 +1,3 @@ +maplibre-demotiles +openmaptiles-fonts +protomaps-assets diff --git a/scripts/styles/fonts/download.sh b/scripts/styles/fonts/download.sh new file mode 100755 index 0000000..f9b4611 --- /dev/null +++ b/scripts/styles/fonts/download.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash + +git clone https://github.com/maplibre/demotiles.git maplibre-demotiles --depth=1 +git clone https://github.com/openmaptiles/fonts.git openmaptiles-fonts --depth=1 +git clone https://github.com/protomaps/basemaps-assets.git protomaps-assets --depth=1 + + + + +# wget https://codeload.github.com/maplibre/demotiles/zip/refs/heads/gh-pages -O maplibre-fonts.zip + +# rm -rf demotiles-gh-pages +# unzip maplibre-fonts.zip +# rm maplibre-fonts.zip + diff --git a/scripts/styles/fonts/links.txt b/scripts/styles/fonts/links.txt new file mode 100644 index 0000000..6df6b66 --- /dev/null +++ b/scripts/styles/fonts/links.txt @@ -0,0 +1,10 @@ +repos +https://github.com/maplibre/demotiles +https://github.com/maplibre/font-maker +https://github.com/openmaptiles/fonts +https://github.com/protomaps/basemaps-assets + +glyphs +https://demotiles.maplibre.org/font/{fontstack}/{range}.pbf +https://protomaps.github.io/basemaps-assets/fonts/{fontstack}/{range}.pbf +