Text rendering using multi channel signed distance fields
This is a utility for generating signed distance fields from vector shapes and font glyphs, which serve as a texture representation that can be used in real-time graphics to efficiently reproduce said shapes. If you choose to use this utility inside your own program, there are a few simple steps you need to perform in order to generate a distance field. Using a multi-channel distance field generated by this program is similarly simple to how a monochrome distance field is used.
Source: github.com