Offline font glyph ranges compilation & bundling (scripts/download-fonts.sh) #43
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What to build
Bundle required MapLibre PBF font glyph ranges locally in
public/fonts/pbf/to ensure place name labels, provincial boundaries, and city names render in 100% airgapped and offline environments without fetching from external CDNs.Technical specifications
scripts/download-fonts.sh: Script to download Latin and ASCII font glyph ranges (Plus Jakarta Sans and Noto Sans) intopublic/fonts/pbf/{fontstack}/{range}.pbf.public/fonts/pbf/Plus Jakarta Sans Regular/{0-255}.pbfpublic/fonts/pbf/Plus Jakarta Sans Bold/{0-255}.pbfAcceptance criteria
0-255,256-511) exist inpublic/fonts/pbf/.Authoritative Specifications & Reference Documentation
docs/ARCHITECTURE.md(B8 - B12) / (B8 + B12).Issue 30: [Backend] Offline font glyph ranges compilation & bundling (to [Backend] Offline font glyph ranges compilation & bundling (scripts/download-fonts.sh)scripts/download-fonts.sh)[Backend] Offline font glyph ranges compilation & bundling (to Offline font glyph ranges compilation & bundling (scripts/download-fonts.sh)scripts/download-fonts.sh)Closing as low value / YAGNI. Vector tile glyphs stream reliably from the global Protomaps CDN (
https://protomaps.github.io/basemaps-assets/fonts/{fontstack}/{range}.pbf). Bundling static PBF font binary ranges adds storage overhead without functional advantage for current deployments.