- Collection of generated MSDF Font files and Atlas
- Node script to easily generate your font files with the right settings. Using msdf-bmfont-xml
You can just download the files located in the output folders of any font you want.
To generate a new font just duplicate an existing font folder, rename it with the name you want, add the .ttf file, check the config file and then run :
node index.js
or using npm script
npm start
You'll be asked for a font name, use the name of folder you just created.
You can also directly pass the font name as an argument like this :
node index.js --name your-font-name
or using npm script
npm start -- --name your-font-name
MSDF Fonts are typically used to render text in WebGL. Here how you can use them with Three.js github.com/Jam3/three-bmfont-text.