Navigation Menu

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Map] adding and handling font glyphs #205

Closed
rudokemper opened this issue Mar 8, 2019 · 0 comments
Closed

[Map] adding and handling font glyphs #205

rudokemper opened this issue Mar 8, 2019 · 0 comments
Labels
beginner friendly Good for newcomers

Comments

@rudokemper
Copy link
Member

rudokemper commented Mar 8, 2019

The tileserver generating the map requires font glyphs (in pbf) to be added to this directory:
https://github.com/rubyforgood/terrastories/tree/master/tileserver/data/fonts/

The PBF JavaScript library for decoding and encoding protocol buffers is available here: https://github.com/mapbox/pbf

Currently, we only have Open Sans Regular available in our /fonts/ directory. We should make more fonts available.

Option 1: generate and add pbf's for all other versions of Open Sans and other fonts found here: https://github.com/openmaptiles/fonts/tree/master/open-sans

Option 2: installing and using Fontnik https://github.com/mapbox/fontnik

Or is there a better solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
beginner friendly Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants