Draft
Conversation
Member
|
By the way, OSM Americana is serving up Web fonts from https://github.com/osm-americana/web-fonts/ and glyph PBFs from https://github.com/osm-americana/fontstack66/. The specific font selection differs, but maybe some of the build infrastructure can be reused. (I’m working toward MapLibre improvements that will eventually make the glyph PBFs redundant to the Web fonts: maplibre/maplibre-style-spec#1045.) |
Member
Author
|
Partially superceded by #101. Still need to automate preparing and uploading font files though. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds font serving support to tiles.openstreetmap.us. I uploaded four font families to start with: Noto Sans, Noto Serif, Roboto, and Roboto Slab.
Still a draft because currently fonts are included in the repo and I don't think including large binary files is a good idea (GitHub has a 100MB file size limit, and keeping binary files in the repo will become especially annoying if we have lots of fonts). I'm thinking instead we should stash the font files somewhere else and download them before building glyphs as part of the Makefile.