A small library and server to generate SDF font glyphs, written in Golang.
The http server implements the Mapbox GL Glyphs API (/{fontstack}/{range}.pbf
)
There are serval ways to use Fontmachine.
When you want to run Fontmachine with docker, use the following command:
docker run -p 8080:8080 -v {font path}:/fonts jpbe/fontmachine
Place all font files (ttf) in a folder and replace {font path}
in the above command with the path.
I provide a hosted version of Fontmachine, which is reachable at use.fontmachine.io
If you want to use this just replace your glyph path with https://use.fontmachine.io/{fontstack}/{range}.pbf
- All Roboto fonts
- All Open Sans fonts
- All Noto fonts
This kind of service is being provided with best effort. Be kind and do not stress this service. I will ratelimit the requests if needed.
Please contact me before using this service in a large manner.
I would be happy if you would sponsor to keep this service running.