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

Build our own fontstack #22

Open
pnorman opened this issue Apr 10, 2023 · 6 comments
Open

Build our own fontstack #22

pnorman opened this issue Apr 10, 2023 · 6 comments

Comments

@pnorman
Copy link
Owner

pnorman commented Apr 10, 2023

Right now we're using a limited fontstack from go-spatial.github.io based on Open Sans Regular. This doesn't work well, as it has a limited selection of characters and is outside our control. Instead, we want a fontstack based on Noto.

  • Can Charites help with this?
  • If not, what's state of the art for building fontstacks?
  • How can we handle running in a local environment where we want locally built fonts?
@bdon
Copy link

bdon commented Sep 15, 2023

Some potential overlap with maplibre/font-maker#16

@pnorman
Copy link
Owner Author

pnorman commented Sep 20, 2023

Some potential overlap with maplibre/font-maker#16

I switched to using the font-maker release zip hosted on the OSM dev server for now. It's not ideal, but gets me to the right font.

@astridx
Copy link

astridx commented Aug 21, 2024

@pnorman
Copy link
Owner Author

pnorman commented Aug 22, 2024

@pnorman Do you think my version is something you want to build on: https://github.com/astridx/spirit
Diff: https://github.com/pnorman/spirit/compare/main...astridx:spirit:fonts?expand=1

It's using fontnik, which hasn't been touched in 10 years. I'd strongly prefer one of the more recent options - I haven't researched what they are, but I know people are using some.

@astridx
Copy link

astridx commented Aug 23, 2024

Thank you for your answer.
It does not use https://github.com/mapbox/fontnik?tab=readme-ov-file but https://www.npmjs.com/package/fontnik (https://github.com/mapbox/node-fontnik), which was last changed last year.

@pnorman
Copy link
Owner Author

pnorman commented Aug 23, 2024

How does that compare with https://github.com/maplibre/font-maker or https://maplibre.org/font-maker/? Those are what #maplibre on the OSMUS discord is recommending

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

No branches or pull requests

3 participants