Skip to content

radoslavpetranov/threejs-font-generator

Repository files navigation

1. Install bmfont as global dependency: npm install msdf-bmfont-xml -g
2. Use the bmfont tool (https://github.com/soimy/msdf-bmfont-xml) to generate the msdf PNG and JSON files.

Example usage: msdf-bmfont -s 90 -f json -o ./Montserrat-SemiBold.png -m 512,512 -t msdf ./Montserrat-SemiBold.ttf

About

Converting .ttf fonts into threejs-friendly msdf fonts using https://github.com/Jam3/msdf-bmfont

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published