genfontgl icon indicating copy to clipboard operation
genfontgl copied to clipboard

Create a fontstack folder from a TTF font for Mapbox GL

trafficstars

genfontgl

A simple command line tool to generate fonts for Mapbox GL via fontnik without gzipping the result.

Usage: genfontgl OpenSans-Regular.ttf [output location]

Or if not installed globally: npm run genfontgl -- OpenSans-Regular.ttf [output location]

Based on: