Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 6.4 KB

README.md

File metadata and controls

39 lines (27 loc) · 6.4 KB

🌤️MSDFtron🌈

GitHub Downloads (all assets, all releases) last commit

Download

Goal

The goal of this project is to democratize and hopefully simplify the process of converting fonts for Tooll3 users and artists who are not always up to use command line for such task.

In Tooll3, the [Text], [TextOutline2] and [TextSprites] operators are using .fnt files combined with a bitmap .png.

MSDFtron will help you generate this couple of files for .ttf, .otf and .woff files so you can easily use any font.

Portable application

No need to bother with an installer, just unpack and run MSDFtron.exe

GUI

MSDFtron offers graphic user interface experience, instead of the command line process described here: Tooll3 wiki: Adding Fonts

Download

How to use it?

Once the zip file unpacked, run MSDFtron.exe

  • Make sure you have a folder with the fonts you want to convert. (MSDFtron will generate the data and png files in the same folder)
  • Click on Select a font file
  • Browse to the folder containing your fonts, select a font a click open. (Don't use Windows font folder)
  • Click the Convert button
  • Open the folder containing your font, check the png file (We want to maximize the use of the space)
  • If there is too much empty space, increase the Font Size
  • If more than one png file are generated, you can increase the Texture Size
  • Click Convert again

References

msdfgen by Chlumsky who developed the MSDF technique.

msdf-bmfont-xml by soimy, used to create font texture atlas.